What is your goal? or end result you’re wishing to accomplish as this doesn’t feel like the most efficient way to accomplish that. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Mar 5, 2014, at 9:20 PM, Ali Pey <alipey@gmail.com> wrote:
Hi Brian,
In my ESL script, if a-leg hangs up, the perl script continues execution after the bridge even though the channel doesn't exist anymore. I want to do uuid_exists on a-leg after the bridge to exit the script if a-leg has hung up.
I have hangup_after_bridge=false because I want the script to continue after b-leg hangs up but I don't want it to continue if the a-leg hangs up.
Thanks, Ali Pey