You’re trying to execute an api call using the app execute interface. Look at the API examples. -- 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 12, 2014, at 9:01 AM, Ali Pey <alipey@gmail.com> wrote:
Any suggestions on this? I need to call uuid_exists in ESL to see if a-leg still exists after the bridge. The purpose of this code is to exist the script if a-leg has hung up after the bridge.
Currently I have it like this:
my $aleg_exists = $main::con->execute('uuid_exists', $main::con->{_uuid} );
but it does not return true or false.
Also, if bridge fails, I get this error:
[ERR] switch_core_session.c:2626 Invalid Application uuid_exists