Hi together. My dialplan is generated by a java script. I am writing call logs (not cdr) in the application that feeds the js. Everething is fine except canceled calls. I think I need a hook in the dialplan. How can I make a system call (or what ever) when a call is canceled? Any hints? Regards Sascga
It depends on what you mean by "canceled" - can you pastebin a call log of a canceled call and give us an idea what should be happening? Thanks, MC On Thu, Jun 16, 2011 at 4:59 PM, Sascha Daniels <sascha.daniels@amooma.de>wrote:
Hi together.
My dialplan is generated by a java script.
I am writing call logs (not cdr) in the application that feeds the js.
Everething is fine except canceled calls.
I think I need a hook in the dialplan.
How can I make a system call (or what ever) when a call is canceled?
Any hints?
Regards Sascga
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi. Am 17.06.2011 03:43, schrieb Michael Collins:
It depends on what you mean by "canceled" - can you pastebin a call log of a canceled call and give us an idea what should be happening?
I would like to make an http call to my application after the originator canceled the call. Here ist the cli output. http://pastebin.com/fCadQTMQ Somewhere after line 96 the script (or what ever) should be called. Thanks a lot. Regards Sascha -- AMOOMA GmbH - Bachstr. 124 - 56566 Neuwied --> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister Montabaur B14998 Bücher: http://das-asterisk-buch.de - http://ruby-auf-schienen.de
Sorry for the late reply... Have you tried setting the api_hangup_hook variable? http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook -MC On Sat, Jun 18, 2011 at 5:14 AM, Sascha Daniels <sascha.daniels@amooma.de>wrote:
Hi.
Am 17.06.2011 03:43, schrieb Michael Collins:
It depends on what you mean by "canceled" - can you pastebin a call log of a canceled call and give us an idea what should be happening?
I would like to make an http call to my application after the originator canceled the call.
Here ist the cli output.
Somewhere after line 96 the script (or what ever) should be called.
Thanks a lot.
Regards
Sascha
-- AMOOMA GmbH - Bachstr. 124 - 56566 Neuwied --> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister Montabaur B14998
Bücher: http://das-asterisk-buch.de - http://ruby-auf-schienen.de
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi. Am 24.06.2011 08:52, schrieb Michael Collins:
Sorry for the late reply...
No problem. I am happy to get answers at all.
Have you tried setting the api_hangup_hook variable? http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook
I have tried that allready, but nothing was called after the originator has cancelled the call. Could not see anything in CLI. I guess I should make the setup more simple and work with a static dialplan just to test this. Regards Sascha -- AMOOMA GmbH - Bachstr. 124 - 56566 Neuwied --> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister Montabaur B14998 Bücher: http://das-asterisk-buch.de - http://ruby-auf-schienen.de
participants (2)
-
Michael Collins
-
Sascha Daniels