<div dir="ltr"><div><span style="font-size:12.8px">Try</span></div><span style="font-size:12.8px"><action application="set" data="effective_caller_id_</span><span style="font-size:12.8px">number=2" <font color="#ff0000">inline="true</font>"/></span><br><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 12:49 PM, Bilal Abbasi <span dir="ltr"><<a href="mailto:bilaln018@gmail.com" target="_blank">bilaln018@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi All,</div><div>I have the following as my dial plan,</div><div> </div><div> <extension name="ASDF" continue="true"></div><div> <condition></div><div> <action application="set" data="effective_caller_id_number=2"/></div><div> <action application="log" data="CRIT This is Caller_ID_NUM ${effective_caller_id_number}"/></div><div> </condition></div><div><br></div><div> <condition field="destination_number" expression="(^\d{11}$|^\d{10}$)"/></div><div> <condition field="${effective_caller_id_number}" expression="2"></div><div> <action application="log" data="CRIT This is Caller_ID_NUM ${effective_caller_id_number}"/></div><div> <action application="hangup"/></div><div> <anti-action application="set" data="hangup_after_bridge=true"/></div><div> <anti-action application="set" data="continue_on_fail=true"/></div><div> <anti-action application="set" data="bypass_media=true"/></div><div> <anti-action application="log" data="CRIT Caller_ID_NUM ${effective_caller_id_number}"/></div><div> <anti-action application="bridge" data="sofia/external/$<a href="mailto:1@10.100.0.60" target="_blank">1@10.100.0.60</a>"/></div><div> </condition></div><div> </extension></div><div><br></div><div>I have changed the effective called id to 2, now what I expect is that action should be executed, but dial plan goes to the anti-action</div><div>Don't know what I am missing out.</div><div><br></div><div>Help is appropriated,</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>Bilal Abbasi</div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>