[Freeswitch-users] Originate doubt

David Villasmil david.villasmil.work at gmail.com
Wed Jan 17 13:20:19 UTC 2018


No, it works because he was passing $uuid on a double-quoted, expecting it
to be resolved before getting sent to fs, but that's a perl variable, and
it was messing up the dialstr. Best is to pass the dialstr clean.

On Tue, Jan 16, 2018, 16:35 Madovsky <infos at madovsky.org> wrote:

> sure it works, like this examle you don't need to expand originate..
> On 1/16/2018 5:52 AM, Raimundo PĂ©rez Nieves wrote:
>
> This work sensational!!!!
> Thanks
>
> $mydialstr = '{origination_uuid=' . $uuid . '}sofia/external/
> 55007537203517 at 64.34.75.23 5004';
>
> and then
>
> $con->bgapi('originate',$mydialstr);
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180117/56eb2fd6/attachment.html>


More information about the FreeSWITCH-users mailing list