"exec_after_bridge_app=execute_extension
"exec_after_bridge_arg=digits ${bridging_capture}"
On Sun, Oct 20, 2013 at 8:50 AM, ik <idokan@gmail.com> wrote:
Hello List,I'm a newbie to Freeswitch.Welcome!
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.I need to bridge an inbound call to another call, and detect pattren of DTMF.
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.
_________________________________________________________________________IdoThanksSo any help on this matter is more then welcome.
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org