<div dir="ltr">I have solved it by adding an extension<div><br></div><div><div> <extension name="declined_calls" break="on-true"></div><div> <condition field="destination_number" expression="^(100[23])$"/></div><div> <condition field="caller_id_number" expression="^(100[23])$"></div><div> <action application="answer"/></div><div> <action application="sleep" data="1000"/></div><div> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div><div> </condition></div><div> </extension></div></div><div><br></div><div>and local extension is standart but condition is </div><div><br></div><div><div><extension name="Local_Extension"></div><div> <condition field="destination_number" expression="^(100[1-3])$"></div></div><div><br></div><div><br></div><div>Thanks.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-24 15:24 GMT+03:00 Yücel ALTUNAY <span dir="ltr"><<a href="mailto:is.yaltunay@gmail.com" target="_blank">is.yaltunay@gmail.com</a>></span>:<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>
</blockquote></div><br></div>