[Freeswitch-users] uuid_exists in ESL (Perl)
Brian West
brian at freeswitch.org
Wed Mar 12 17:20:29 MSK 2014
You’re trying to execute an api call using the app execute interface. Look at the API examples.
--
Brian West
brian at 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 at 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140312/5da7c4a7/attachment-0001.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list