[Freeswitch-dev] Other-Leg-uuid before bridge
Michael Collins
msc at freeswitch.org
Wed Nov 23 03:16:11 MSK 2011
You can set the uuid yourself:
<action application="set" data="my_uuid=${create_uuid}" inline="true"/>
<action application="bridge"
data="{origination_uuid=${my_uuid}}/sofia/foo/bar"/>
Check out the create_uuid API and origination_uuid chan var on the wiki...
-MC
On Tue, Nov 22, 2011 at 5:38 AM, succer110 at tiscali.it
<succer110 at tiscali.it>wrote:
> Hi everybody!
>
> I'm executing a script with exec_on_answer and exec_on_pre_answer in a
> bridge application.
> Since the execution of my application is triggered before bridging the two
> legs (that's exactly hat what i was looking for) i do not have the "Other-Leg-uuid"
> var setted in my session's channel variable. Is there any way to get the
> uuid of the bleg before the bridge?
>
> <action application="export"
> data="nolocal:execute_on_pre_answer=lua dial.lua PRGS"/>
> <action application="export" data="nolocal:execute_on_answer=lua
> dial.lua ANSW"/>
> <action application="bridge" data="sofia/external/
> 111xxxx at 192.168.1.1"/>
>
> So: in the dial.lua i need to have the uuid of "sofia/external/
> 1111 at 192.168.1.1".
> Thank you in advice!
> (and thank you all for freeswitch!!)
>
> E' nata indoona : chiama, videochiama e messaggia Gratis.
> Scarica indoona per iPhone<http://itunes.apple.com/app/indoona/id462250893?mt=8>,
> Android <https://market.android.com/details?id=com.tiscali.indoona> e PC<http://www.indoona.com/download/>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111122/9b332ce5/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list