[Freeswitch-users] What happens to a call when running event_socket after call is transferred?
babak.freeswitch at gmail.com
Wed Apr 18 09:45:06 UTC 2018
this is my simple dial plan to run an outbound esl application:
<condition field="destination_number" expression=".*$">
<action application="sleep" data="200"/>
<action application="socket" data="127.0.0.1:3003 async full"/>
the application is a nodejs process which answers the call and plays some
files and then bridges the call to a user. As you can see in my dialplan
all calls are handled in this same way using esl. Problem occurs when a
bridged call is transferred to another number. at this point there will be
two socket connections for the same call,if I close the first socket the
call is hanged up with this message on logs:
"... has executed the last dialplan instruction, hanging up"
and after this the second socket will close too. Is this expected or I'm
doing something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users