<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>hi,</span></div><div><span>i have renamed &nbsp;</span>/usr/local/freeswitch/conf/dialplan/default/<span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">999_v_local_extension.xml</span> &nbsp; &nbsp;to&nbsp;<span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">999_v_local_extension.xml.noload</span></div><div>and reloadxml,and everythings worked correctly;;;</div><div>thanks...</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">&nbsp;cat &nbsp;999_v_local_extension.xml</span></div><div>&lt;extension name="local_extension" &gt;</div><div>&nbsp; &nbsp;&lt;condition field="destination_number" expression="(^\d{2,7}$)" &gt;</div><div>&nbsp; &nbsp;
 &nbsp; &nbsp;&lt;action application="set" data="dialed_extension=$1" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="export" data="dialed_extension=$1" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="limit" data="hash ${domain_name} $1 ${limit_max} ${limit_destination}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="bind_meta_app" data="1 b s execute_extension::dx XML features" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.wav" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="bind_meta_app" data="3 b s execute_extension::cf XML features" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action
 application="set" data="ringback=${us-ring}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="transfer_ringback=$${hold_music}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="call_timeout=30" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="hangup_after_bridge=true" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="continue_on_fail=true" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="called_party_call_group=${user_data(${dialed_extension}@${domain_name} var call_group)}" /&gt;</div><div>&nbsp; &nbsp; &nbsp;
 &nbsp;&lt;action application="hash" data="insert/${domain_name}-last_dial/${called_party_call_group}/${uuid}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="bridge" data="user/${user_data(${destination_number}@${domain_name} attr id)}@${domain_name}" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="answer" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="sleep" data="1000" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="voicemail" data="default ${domain_name} ${dialed_extension}" /&gt;</div><div>&nbsp; &nbsp;&lt;/condition&gt;</div><div>&lt;/extension&gt;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div></div>  <div style="font-family: 'times new roman', 'new york', times, serif; "> <div style="font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr" style="font-family: 'times new roman', 'new york', times,
 serif; font-size: 12pt; "> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Samira Mh &lt;saami_mh@ymail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 8, 2012 5:49 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] how to Block inbound(internal) sofia profile calls ?(don't allow for internal calls)<br> </font> </div> <br>
<div id="yiv319337017"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; "><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: times, serif; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: times, serif; ">hi,</div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: times, serif; ">thanks for your reply;</div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: times, serif; ">but default.xml is consist ad follow:</div><div style="color: rgb(0, 0, 0); font-family: times, serif; font-size: 12pt; " class="yui_3_2_0_20_133915381020777"><br></div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: times, serif; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div>&lt;?xml version="1.0"
 encoding="utf-8"?&gt;</div><div>&lt;include&gt;</div><div>&lt;context name="default"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;X-PRE-PROCESS cmd="include" data="default/*.xml"/&gt;</div><div>&lt;/context&gt;</div><div>&lt;/include&gt;</div><div style="font-size: 12pt; font-family: times, serif; ">but how can i limited internal calls?</div></div>  <div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: times, serif; "> <div style="font-size: 12pt; font-family: times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> babak yakhchali &lt;babak.freeswitch@gmail.com&gt;<br> <b><span style="font-weight:bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight:bold;">Sent:</span></b> Friday, June 8, 2012 5:23 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Freeswitch-users] how to Block
 inbound(internal) sofia profile calls ?(don't allow for internal calls)<br> </font> </div> <br>
<div id="yiv319337017">if you are using xml dialplan, to block calls between and to 1000 and 1001 you can just remove any extension that routes calls between and to 1000 and 1001 in your dialplan (such as "Local_Extension" in sample configuration in default.xml) &nbsp;and to have outbound calls just add an extension that has a condition matching your destination.&nbsp;<div>

http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML&nbsp;<br><br><div class="yiv319337017gmail_quote">On Fri, Jun 8, 2012 at 4:13 PM, Samira Mh <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:saami_mh@ymail.com" target="_blank" href="mailto:saami_mh@ymail.com">saami_mh@ymail.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv319337017gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 12pt; font-family: times, serif; "><div>hi guys,</div><div>i have defined two extensions named:1000 &amp; 1001</div>
<div>so i am going to allow the above extension make outbound calls and disable inbount calls</div><div>in other hand i dont want the ext:1000 able to make call to ext:1001 ,</div><div>and want to disable calling internal registerations sip&nbsp;</div>
<div>how can i do that?</div><div>thanks so much</div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
http://www.freeswitchsolutions.com<br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
http://www.cudatel.com<br>
<br>
Official FreeSWITCH Sites<br>
http://www.freeswitch.org<br>
http://wiki.freeswitch.org<br>
http://www.cluecon.com<br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>Join Us At ClueCon - Aug 7-9, 2012<br><br>FreeSWITCH-users mailing
 list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><br><br> </div> </div>  </div></div></div><br><font class="Apple-style-span" size="3">_________________________________________________________________________</font><br><font class="Apple-style-span" size="3">Professional FreeSWITCH Consulting Services:</font><br><a ymailto="mailto:consulting@freeswitch.org"
 href="mailto:consulting@freeswitch.org" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://www.freeswitchsolutions.com</a><br><br><font class="Apple-style-span" size="3">FreeSWITCH-powered IP PBX: The CudaTel Communication Server</font><br><a href="http://www.cudatel.com" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://www.cudatel.com</a><br><br><font class="Apple-style-span" size="3">Official FreeSWITCH Sites</font><br><a href="http://www.freeswitch.org" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank" style="font-family: 'times new roman', 'new
 york', times, serif; font-size: 12pt; ">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://www.cluecon.com</a><br><br><font class="Apple-style-span" size="3">Join Us At ClueCon - Aug 7-9, 2012</font><br><br><font class="Apple-style-span" size="3">FreeSWITCH-users mailing list</font><br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br><font class="Apple-style-span" size="3">UNSUBSCRIBE:</font><a
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">http://www.freeswitch.org</a><br><br><br> </div> </div>  </div></body></html>