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