[Freeswitch-users] originate loopback

Richard Brady rnbrady at gmail.com
Fri Aug 2 15:03:34 MSD 2013


Thanks Mike

Just ran this with debug and looks from the logs uas if the Lua is on the A
leg:

EXECUTE loopback/set:job=1234,answer,park-b set(job=1234)
EXECUTE loopback/set:job=1234,answer,park-b answer()
EXECUTE loopback/set:job=1234,answer,park-b park()
EXECUTE loopback/set:job=1234,answer,park-a lua(loop.lua)

I'll update the wiki.

Richard

On 1 August 2013 19:33, Michael Collins <msc at freeswitch.org> wrote:

>
>
>
> On Thu, Aug 1, 2013 at 9:29 AM, Richard Brady <rnbrady at gmail.com> wrote:
>
>> Guys
>>
>> Please help with this mind bender from the wiki at
>> http://wiki.freeswitch.org/wiki/Loopback_endpoint:
>>
>> Example 4: loopback with A-leg inline dialplan
>>
>> originate loopback/set:job=1234\,answer\,park/default/inline lua:loop.lua inline
>>
>> Executes *set* app, then *answer* app, then *park* app on the A leg then
>> bridges to the *lua* app on the B leg
>>
>> Is the para at the end correct? Isn't it the A-leg that executes the lua
>> and the B-leg that executes set,answer,park?
>>
>
> I'm pretty sure that the description is correct. It's equivalent to this:
>
> originate loopback/set:job=1234\,answer\,park/default/inline &lua(loop.lua)
>
>
> The Lua stuff is on the B leg and the set, answer, park stuff is on the
> loopback/A leg.
> -MC
>
>
>> Richard
>>
>>
>> _________________________________________________________________________
>> 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-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
>>
>>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
> _________________________________________________________________________
> 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-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/20130802/17bbfcec/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list