[Freeswitch-users] bind_digit_action

Michael Collins msc at freeswitch.org
Tue Jan 11 02:04:52 MSK 2011


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 at 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 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/20110110/3d87a1b6/attachment.html 


More information about the FreeSWITCH-users mailing list