[Freeswitch-users] How do I bridge-unbridge and then bridge again?

JP jaykris at gmail.com
Thu Oct 11 01:31:36 MSD 2012


Thanks, Here is the complete dialplan xml that did the trick for me.

<include>
    <extension name="Supervisor connection">
      <condition field="destination_number" expression="^(9915)$">
<action application="answer" />
<action application="bind_meta_app" data="1 b s
execute_extension::check_with_supervisor XML default"/>
<action application="export" data="orig_caller_uuid=${uuid}"/>
<action application="bridge" data="sofia/internal/
sip:1002 at 10.192.217.11:61842" />
      </condition>
    </extension>

    <extension name="check_with_supervisor">
      <condition field="destination_number"
expression="^(check_with_supervisor)$">
<action application="bridge" data="sofia/internal/
sip:1003 at 10.192.217.11:5085" />
<action application="eval" data="${uuid_bridge(${uuid}
${orig_caller_uuid})}"/>
      </condition>
    </extension>


</include>

On Tue, Oct 9, 2012 at 4:42 PM, Michael Collins <msc at freeswitch.org> wrote:

> What do you do for steps 1 and 2? Is the caller held with uuid_hold or
> uuid_park or what? Most likely you'll need to store the uuid of the
> caller's call leg in a channel variable and then perform a uuid_bridge back
> to that uuid once the agent is done speaking to the supervisor.
>
> -MC
>
> On Tue, Oct 9, 2012 at 3:27 PM, JP <jaykris at gmail.com> wrote:
>
>> Hi,
>> I want to do the following.
>> 1. Caller is bridged to an agent.
>> 2. Agent presses dtmf and is transferred to a supervisor while the caller
>> is listening to MOH( achieved using "bind_meta_app").
>> 3. Now when the supervisor hangs-up, the agent should be bridged back to
>> the caller.
>>
>> I am not able to find a simple way to do the third step. Any suggestions
>> or ideas is greatly appreciated.
>>
>> Thanks,
>> JP
>>
>> _________________________________________________________________________
>> 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/20121010/43de783b/attachment.html 


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