async ESL Events question
Hi, all. There is some unclear for me about ESL async outbound mode. I use node.js http://shimaore.github.io/esl/ With this simple script https://pastebin.freeswitch.org/24500 I see that sometime events, namelly 'CHANNEL_HANGUP_COMPLETE' and 'CHANNEL_EXECUTE_COMPLETE', not arrive thru socket from FreeSWITCH. How to explain this? FreeSWITCH dialplan https://pastebin.freeswitch.org/24501 ngrep on socket https://pastebin.freeswitch.org/24502 with two calls. There is no sense about number of calls and their order, no any system for me. Only if bridge failed (BUSY) events always arrive. Thanks for any suggestion.
It’s not sync/async, the socket broken before sending out the events, try linger -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, December 23, 2015 at 8:36 PM, royj@yandex.ru wrote:
Hi, all.
There is some unclear for me about ESL async outbound mode. I use node.js http://shimaore.github.io/esl/ With this simple script https://pastebin.freeswitch.org/24500 I see that sometime events, namelly 'CHANNEL_HANGUP_COMPLETE' and 'CHANNEL_EXECUTE_COMPLETE', not arrive thru socket from FreeSWITCH. How to explain this?
FreeSWITCH dialplan https://pastebin.freeswitch.org/24501 ngrep on socket https://pastebin.freeswitch.org/24502 with two calls. There is no sense about number of calls and their order, no any system for me. Only if bridge failed (BUSY) events always arrive.
Thanks for any suggestion.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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
participants (2)
-
royj@yandex.ru
-
Seven Du