[Freeswitch-users] bind_digit_action

Michael Collins msc at freeswitch.org
Tue Jan 11 21:23:51 MSK 2011


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 at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110111/d88243e4/attachment.html 


More information about the FreeSWITCH-users mailing list