[Freeswitch-users] Need use static variable every time execute DialPlan

Alexandr Popov alexandr.popov at iqoption.com
Tue Jan 23 09:07:03 UTC 2018


create_uuid

2018-01-22 13:52 GMT+02:00 Raimundo PĂ©rez Nieves <
raimundo.perez.cuba at gmail.com>:

> Hi,
> Iam having this situation:
> The leg A calls freeswitch and I execute a script in Lua and make an
> originate to leg B.
> I execute an outbound socket and listen a socket which  my $uuidLegB =
> $info->getHeader("unique-id"); is legB uuid and inside this outbound
> scrip I detect tone and transfer into DialPlan.
> The problem is that I want to bridge leg A with B, but Iam trying to use
> uuid_bridge but I lose uuid Leg A, how can I get the uuid Leg A inside
> script outbound or how I can set an static variable inside DialPlan which
> can I put this uuid of Leg A. Because I test creating a variable inline or
> some tricks and every time DialPlan executes forget everything
>
> Thanks
>
> _________________________________________________________________________
> 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/20180123/5d68e548/attachment.html>


More information about the FreeSWITCH-users mailing list