[Freeswitch-users] bind_digit_action

Rafqat . rafonline at hotmail.com
Tue Jan 11 21:50:57 MSK 2011



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 at freeswitch.org
> To: freeswitch-users at 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 at freeswitch.org
> > To:
> freeswitch-users at 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 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
>
> _______________________________________________
> 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
 		 	   		  


More information about the FreeSWITCH-users mailing list