[Freeswitch-users] newbie: bridge control
Michael Collins
msc at freeswitch.org
Tue Oct 22 02:21:56 MSD 2013
On Sun, Oct 20, 2013 at 8:50 AM, ik <idokan at gmail.com> wrote:
> Hello List,
>
> I'm a newbie to Freeswitch.
>
Welcome!
>
> I need to bridge an inbound call to another call, and detect pattren of
> DTMF.
> If the the pattern happen, I need to capture it to a variable, and hangup
> leg B (the bridged one), and continue doing stuff with Leg A.
>
Does the B leg already exist? If so, you'll need something like uuid_bridge
API. If it does not already exist and you need to create it then use the
bridge dialplan app.
For matching a pattern your best bet is the bind_digit_action dialplan app.
For "doing stuff" on the A you'll need to be more specific. Do you need to
interact with the caller? If so, use the transfer dialplan application to
send the call elsewhere in the dialplan to do more "stuff." If by "stuff"
you mean run an external script then checkout the api_hangup_hook variable.
>
> If Leg B was disconnected, I need hangup leg A as well.
>
This happens naturally unless you have the chan var hangup_after_bridge set
to false.
>
> I wish to better understand how to look such thing on the wiki, prior for
> direct answer on how to do it, in order to better learn FS and it's usage :)
>
I like to use the navigation buttons on the left side. You can look up
dialplan applications ("apps"), FreeSWITCH API commands, ("APIs"), or
channel variables, ("chan vars"). Don't forget to check out the IRC channel
as well: #freeswitch on irc.freenode.net.
>
> So any help on this matter is more then welcome.
>
> Thanks
> Ido
>
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131021/403adff9/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list