<div dir="ltr">Use toll like variables.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 24, 2017 at 8:24 AM, Yücel ALTUNAY <span dir="ltr">&lt;<a href="mailto:is.yaltunay@gmail.com" target="_blank">is.yaltunay@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I have 3 extensions (1001, 1002, 1003) and i want to limit some calls written below</div><div><br></div><div><b>Ext               Can Call                    Cant&#39;t Call</b></div><div>1001            1002,1003</div><div>1002            1001                          1003</div><div>1003            1001                          1002</div><div><br></div><div>I wrote condition below;</div><div><br></div><div><div>    &lt;extension name=&quot;Local_Extension&quot;&gt;</div><div>      &lt;condition regex=&quot;any&quot;&gt;<br></div><div>      &lt;regex field=&quot;destination_number&quot; expression=&quot;^(1001)$&quot;/&gt;</div><div>      &lt;regex field=&quot;caller_id_number&quot; expression=&quot;^(1001)$&quot;/&gt;</div></div><div>      .......</div><div>      &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}<wbr>@${domain_name}&quot;/&gt;</div><div>      &lt;!-- To test anti-action --&gt;<br></div><div>          &lt;anti-action application=&quot;answer&quot;/&gt;</div><div>          &lt;anti-action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div><div>          &lt;anti-action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:<wbr>default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div><br></div><div><br></div><div>In this case 1002 and 1003 can call 1001, and can&#39;t call each other, but when i want to call 1002 or 1003 from 1001, on 1001&#39;s screen i see a incoming call from others. </div><div><br></div><div><br></div><div>How can i solve this case. </div><div><br></div><div>Thanks.</div><div><br></div><div><br></div><div><br></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>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.<wbr>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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>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>