[Freeswitch-users] bind_digit_action - another question

Michael Collins msc at freeswitch.org
Tue May 1 22:08:06 MSD 2012


For kicks, change 'peer' to 'self' and retest. Is the behavior the same or
no? It may be that you have your legs flip-flopped some how.
-MC

On Tue, May 1, 2012 at 11:04 AM, Boris Kovalenko <boris at tagnet.ru> wrote:

> Hello!
>
>     The simple setup:
>
>
> <extension name="Local_Calls">
> <condition field="destination_number" expression="^(10[12])$">
> <action application="bind_digit_action"
> data="rlm_a,*1,exec:execute_extension,ext_a XML test.tagnet.cc
> ,both,self"/>
> <action application="bridge" data="user/$1 at test.tagnet.cc" />
> </condition>
> </extension>
>
> <extension name="ext_a">
> <condition field="destination_number" expression="^ext_a$">
> <action application="log" data="ALERT EXT_A" />
> </condition>
> </extension>
>
> The call is made from number 102 to 101. No matter on what side I enter
> *1 - the ext_a is called.
> Now I change 'both' to 'peer'. The call is the same - from 102 to 101.
> And now ext_a is called only if I enter it on 101 side! I'm confused -
> docs describing another logic? Or I need another params for
> dtmf_targer_leg and event_target_leg?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120501/f483605f/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list