[Freeswitch-users] What happens to a call when running event_socket after call is transferred?
Babak Yakhchali
babak.freeswitch at gmail.com
Wed Apr 18 09:45:06 UTC 2018
Hi
this is my simple dial plan to run an outbound esl application:
<extension name="intelligent">
<condition field="destination_number" expression=".*$">
<action application="sleep" data="200"/>
<action application="socket" data="127.0.0.1:3003 async full"/>
</condition>
</extension>
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?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180418/aa1df405/attachment.html>
More information about the FreeSWITCH-users
mailing list