[Freeswitch-users] bridging?
Neil Patel
neilp at cs.stanford.edu
Sat Feb 19 15:55:22 MSK 2011
Hi Michael,
Using transfer seems to do the trick:
session:setAutoHangup(false);
session:transfer("7777", "XML", "default");
Any downsides to this?
Neil
On Thu, Feb 17, 2011 at 1:48 PM, Neil Patel <neilp at cs.stanford.edu> wrote:
> Can I use this from within a live outbound (FS -> 123456789) call initiated
> through a lua app? Once this command is executed, what happens to that
> original call?
>
>
> On Thu, Feb 17, 2011 at 1:26 AM, Michael Collins <msc at freeswitch.org>wrote:
>
>> Can you use originate?
>>
>> originate sofia/gateway/gwname/123456789 7777
>>
>> that will create the outbound call to the destination number (1233456789)
>> and then bridge it to 7777.
>>
>> -MC
>>
>> On Wed, Feb 16, 2011 at 10:33 AM, Neil Patel <neilp at cs.stanford.edu>wrote:
>>
>>> Hi Folks, newbie question:
>>>
>>> I have a simple dialplan that takes calls to an extension and executes a
>>> lua app:
>>>
>>> *<extension name="incoming">*
>>> * <condition field="destination_number" expression="^7777$">*
>>> * <action application="lua" data="lua/app.lua" />*
>>> * </condition>*
>>> * </extension>*
>>> *
>>> *
>>>
>>> From the same extension I am initiating calls from FS to endpoints and
>>> executing another lua app. What I want to do is connect (bridge?) those
>>> outbound calls to app.lua. From FS perspective this call should now look
>>> like it was initiated by the caller to 7777.
>>>
>>> Is this what call bridging is? What commands/wiki page should I be
>>> looking at to do this?
>>>
>>> Thanks in advance,
>>> Neil
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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/20110219/2b0381b9/attachment.html
More information about the FreeSWITCH-users
mailing list