[Freeswitch-users] Perl ESL originate issue

David Villasmil david.villasmil.work at gmail.com
Mon Sep 8 04:43:06 MSD 2014


Hello Guys,

from perl i'm connecting to FS using FS' ESL library and issuing an
originate command which fails when i try to use ${distributor()}

It seems FS' ESL Library or perl itself is changing "$" for "%", i get an
error:

2014-09-07 20:25:57.484946 [ERR] mod_sofia.c:4249 Invalid Gateway
'%{distributor(mylist)}'

The command is actually:

my $uuid = $con->bgapi("originate",
"sofia/gateway/\${distributor(mylist)}/$destination &callcenter(myqueue)");

So i'm scaping $

Has anyone experienced this?

Thanks for you help!

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140908/060e7eec/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list