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.<br>-MC<br><br><div class="gmail_quote">On Tue, May 1, 2012 at 11:04 AM, Boris Kovalenko <span dir="ltr"><<a href="mailto:boris@tagnet.ru" target="_blank">boris@tagnet.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
The simple setup:<br>
<br>
<br>
<extension name="Local_Calls"><br>
<condition field="destination_number" expression="^(10[12])$"><br>
<action application="bind_digit_action"<br>
data="rlm_a,*1,exec:execute_extension,ext_a XML <a href="http://test.tagnet.cc" target="_blank">test.tagnet.cc</a>,both,self"/><br>
<action application="bridge" data="user/$<a href="mailto:1@test.tagnet.cc">1@test.tagnet.cc</a>" /><br>
</condition><br>
</extension><br>
<br>
<extension name="ext_a"><br>
<condition field="destination_number" expression="^ext_a$"><br>
<action application="log" data="ALERT EXT_A" /><br>
</condition><br>
</extension><br>
<br>
The call is made from number 102 to 101. No matter on what side I enter<br>
*1 - the ext_a is called.<br>
Now I change 'both' to 'peer'. The call is the same - from 102 to 101.<br>
And now ext_a is called only if I enter it on 101 side! I'm confused -<br>
docs describing another logic? Or I need another params for<br>
dtmf_targer_leg and event_target_leg?<br>
<br>
<br>
</blockquote></div>