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?