<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"><<a href="mailto:is.yaltunay@gmail.com" target="_blank">is.yaltunay@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">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'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> <extension name="Local_Extension"></div><div> <condition regex="any"><br></div><div> <regex field="destination_number" expression="^(1001)$"/></div><div> <regex field="caller_id_number" expression="^(1001)$"/></div></div><div> .......</div><div> <action application="bridge" data="user/${dialed_extension}<wbr>@${domain_name}"/></div><div> <!-- To test anti-action --><br></div><div> <anti-action application="answer"/></div><div> <anti-action application="sleep" data="1000"/></div><div> <anti-action application="bridge" data="loopback/app=voicemail:<wbr>default ${domain_name} ${dialed_extension}"/></div><div><br></div><div><br></div><div>In this case 1002 and 1003 can call 1001, and can't call each other, but when i want to call 1002 or 1003 from 1001, on 1001'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>