Hi, Can someone please help here. I am trying to use bind_digit_action to hangup leg B only, if leg A presses ##, but it doesn't seem to be working. The INFO message is displayed but when I press ##, nothing happens. Any help will be much appreciated. <extension name="call-me-service"> <condition field="destination_number" expression="^9999$"> <action application="answer"/> ......... <action application="set" data="bridge_pre_execute_bleg_app=execute_extension"/> <action application="set" data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> ....... </condition> </extension> <extension name="setup bind_digit_action_listening"> <condition field="destination_number" expression="^START_LISTENING$"> <action application="log" data="INFO Configuring bind_digit_action to listen..."/> <action application="bind_digit_action" data="start,##,exec:hangup,unknown"/> <action application="digit_action_set_realm" data="start"/> </condition> </extension> Cheers Raf
Just to confirm: you want Leg A to press ## to hangup leg B? If so then you need to set the bind_digit_action on Leg A. The way you have it now is that Leg B would need to dial ##. -MC On Mon, Jan 10, 2011 at 10:46 PM, Rafqat . <rafonline@hotmail.com> wrote:
Hi,
Can someone please help here.
I am trying to use bind_digit_action to hangup leg B only, if leg A presses ##, but it doesn't seem to be working. The INFO message is displayed but when I press ##, nothing happens.
Any help will be much appreciated.
<extension name="call-me-service"> <condition field="destination_number" expression="^9999$"> <action application="answer"/> ......... <action application="set" data="bridge_pre_execute_bleg_app=execute_extension"/> <action application="set" data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> ....... </condition> </extension>
<extension name="setup bind_digit_action_listening"> <condition field="destination_number" expression="^START_LISTENING$"> <action application="log" data="INFO Configuring bind_digit_action to listen..."/> <action application="bind_digit_action" data="start,##,exec:hangup,unknown"/> <action application="digit_action_set_realm" data="start"/> </condition> </extension>
Cheers
Raf
_______________________________________________ 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
Hi, I moved the bind_digit_action so my dialplan looks something like this: <extension name="call-me-service"> <condition field="destination_number" expression="^9999$"> <action application="answer"/> ......... <action application="set" data="bridge_pre_execute_bleg_app=execute_extension"/> <action application="set" data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> <action application="bind_digit_action" data="start,##,exec:hangup,unknown"/> ....... </condition> </extension> <extension name="setup bind_digit_action_listening"> <condition field="destination_number" expression="^START_LISTENING$"> <action application="log" data="INFO Configuring bind_digit_action to listen..."/> <action application="digit_action_set_realm" data="start"/> </condition> </extension> Unfortunalety, now when leg A presses ##, it hangs up leg A. I would like to make it hang up leg B only. I am sure it is my lack of understanding of bind_digit_action. Apreciate all the help I can get. Cheers Raf ________________________________
Date: Mon, 10 Jan 2011 23:04:52 +0000 From: msc@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] bind_digit_action
Just to confirm: you want Leg A to press ## to hangup leg B? If so then you need to set the bind_digit_action on Leg A. The way you have it now is that Leg B would need to dial ##.
-MC
On Mon, Jan 10, 2011 at 10:46 PM, Rafqat .
wrote:
Hi,
Can someone please help here.
I am trying to use bind_digit_action to hangup leg B only, if leg A presses ##, but it doesn't seem to be working. The INFO message is displayed but when I press ##, nothing happens.
Any help will be much appreciated.
.........
data="bridge_pre_execute_bleg_app=execute_extension"/> data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> .......
data="start,##,exec:hangup,unknown"/>
Cheers
Raf
_______________________________________________ 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
_______________________________________________ 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
If you hang up leg B then what should happen to leg A? Can you not just transfer the B leg to a hangup extension or something? What's the application here? -MC On Tue, Jan 11, 2011 at 7:57 AM, Rafqat . <rafonline@hotmail.com> wrote:
Hi,
I moved the bind_digit_action so my dialplan looks something like this:
<extension name="call-me-service"> <condition field="destination_number" expression="^9999$"> <action application="answer"/> ......... <action application="set" data="bridge_pre_execute_bleg_app=execute_extension"/> <action application="set" data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> <action application="bind_digit_action" data="start,##,exec:hangup,unknown"/> ....... </condition> </extension>
<extension name="setup bind_digit_action_listening"> <condition field="destination_number" expression="^START_LISTENING$"> <action application="log" data="INFO Configuring bind_digit_action to listen..."/> <action application="digit_action_set_realm" data="start"/> </condition> </extension>
Unfortunalety, now when leg A presses ##, it hangs up leg A. I would like to make it hang up leg B only.
I am sure it is my lack of understanding of bind_digit_action.
Apreciate all the help I can get.
Cheers
Raf
________________________________
Date: Mon, 10 Jan 2011 23:04:52 +0000 From: msc@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] bind_digit_action
Just to confirm: you want Leg A to press ## to hangup leg B? If so then you need to set the bind_digit_action on Leg A. The way you have it now is that Leg B would need to dial ##.
-MC
On Mon, Jan 10, 2011 at 10:46 PM, Rafqat .
wrote:
Hi,
Can someone please help here.
I am trying to use bind_digit_action to hangup leg B only, if leg A presses ##, but it doesn't seem to be working. The INFO message is displayed but when I press ##, nothing happens.
Any help will be much appreciated.
.........
data="bridge_pre_execute_bleg_app=execute_extension"/> data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> .......
data="start,##,exec:hangup,unknown"/>
Cheers
Raf
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Hi, The application is a calling card app, when the user caller (leg A) enters ## it should hang up leg B and allow them to make a follow-on call. I originally tried to use the following: <action application="set" data="bind_meta_key=#"/> <action application="bind_meta_app" data="# a o hangup"/> but freeswitch was trying to invoke playback(hangup). So I moved onto to using bind_digit_action instead. But can't get it to work with that either. Please help. Cheers Raf ________________________________
Date: Tue, 11 Jan 2011 18:23:51 +0000 From: msc@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] bind_digit_action
If you hang up leg B then what should happen to leg A? Can you not just transfer the B leg to a hangup extension or something? What's the application here? -MC
On Tue, Jan 11, 2011 at 7:57 AM, Rafqat .
wrote:
Hi,
I moved the bind_digit_action so my dialplan looks something like this:
.........
data="bridge_pre_execute_bleg_app=execute_extension"/> data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> data="start,##,exec:hangup,unknown"/> .......
Unfortunalety, now when leg A presses ##, it hangs up leg A. I would like to make it hang up leg B only.
I am sure it is my lack of understanding of bind_digit_action.
Apreciate all the help I can get.
Cheers
Raf
________________________________
Date: Mon, 10 Jan 2011 23:04:52 +0000 From: msc@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] bind_digit_action
Just to confirm: you want Leg A to press ## to hangup leg B? If so then you need to set the bind_digit_action on Leg A. The way you have it now is that Leg B would need to dial ##.
-MC
On Mon, Jan 10, 2011 at 10:46 PM, Rafqat .
wrote:
Hi,
Can someone please help here.
I am trying to use bind_digit_action to hangup leg B only, if leg A presses ##, but it doesn't seem to be working. The INFO message is displayed but when I press ##, nothing happens.
Any help will be much appreciated.
.........
data="bridge_pre_execute_bleg_app=execute_extension"/> data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/> .......
data="start,##,exec:hangup,unknown"/>
Cheers
Raf
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
participants (2)
-
Michael Collins
-
Rafqat .