[Freeswitch-users] Need use static variable every time execute DialPlan
Srigo Kanapathipillai
ksrigo at gmail.com
Tue Jan 23 08:09:50 UTC 2018
You should be able to get it if you use export app in the dialplan before executing lua script.
Srigo
Sent from my iPhone
> On 22 Jan 2018, at 12:52, Raimundo PĂ©rez Nieves <raimundo.perez.cuba at gmail.com> wrote:
>
> 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/b330ccaa/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list