<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Francis,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have actually commented that out, and replaced it with multiple files, in the /etc/freeswitch/dialplan/default/ such as this, which I believe is the same as splitting out the vanilla local extension, that is, when 203 is dialled, FreeSWITCH would look through all of the .xml files until it found this code, and would then ring the extension?:</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default"><include></div><div class="gmail_default">
<extension name="203"></div><div class="gmail_default"> <condition field="destination_number" expression="^(203)$"></div><div class="gmail_default"> <action application="export" data="dialed_extension=$1"/></div>
<div class="gmail_default"> <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> --></div><div class="gmail_default"> <action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/></div>
<div class="gmail_default"> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div><div class="gmail_default">
<action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/></div><div class="gmail_default"> <action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/></div>
<div class="gmail_default"> <action application="set" data="ringback=${uk-ring}"/></div><div class="gmail_default"> <action application="set" data="transfer_ringback=$${hold_music}"/></div>
<div class="gmail_default"> <action application="set" data="call_timeout=14"/></div><div class="gmail_default"> <!-- <action application="set" data="sip_exclude_contact=${network_addr}"/> --></div>
<div class="gmail_default"> <action application="set" data="hangup_after_bridge=true"/></div><div class="gmail_default"> <!--<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> --></div>
<div class="gmail_default"> <action application="set" data="continue_on_fail=true"/></div><div class="gmail_default"> <action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/></div>
<div class="gmail_default"> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/></div><div class="gmail_default"> <action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/></div>
<div class="gmail_default"> <action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/></div><div class="gmail_default"> <action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/></div>
<div class="gmail_default"> <!--<action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>--></div><div class="gmail_default">
<action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/></div><div class="gmail_default"> <action application="bridge" data="user/${dialed_extension}@${domain_name}"/></div>
<div class="gmail_default"> <action application="answer"/></div><div class="gmail_default"> <action application="sleep" data="1000"/></div><div class="gmail_default"> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div>
<div class="gmail_default"> </condition></div><div class="gmail_default"> </extension></div><div class="gmail_default"></include></div><div><br></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Richard</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 June 2014 18:23, Francis <span dir="ltr"><<a href="mailto:sms@icefire.qza.net.au" target="_blank">sms@icefire.qza.net.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Close, that tells it to include the files you created, but it
doesn't tell FS to actually recognize them when they are dialed.
There is an extension in this file with a condition statement:<br>
<br>
<condition field="destination_number"
expression="^(10[0,1][1-9])$"><br>
<br>
You should see some comments before the extension describing what it
is and does. This extension has all the actions that are/can be
executed when an internal endpoint is dialed. As you can see, the
statement above uses PCRE to match the number dialed, and it needs
to match your desired numbering scheme in order to work. Just make
sure that when you modify it, that it doesn't clash with any of the
other extensions in the dialplan, most of which are in this file. If
you haven't already, have a sift though the wiki on dialplan
settings:<br>
<br>
<a href="https://wiki.freeswitch.org/wiki/Dialplan_XML" target="_blank">https://wiki.freeswitch.org/wiki/Dialplan_XML</a><br>
<br>
Francis<div><div class="h5"><br>
<br>
<br>
<div>On 8/06/2014 2:42 AM, Richard Mace
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Franics,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">When you say
"recognize this numbering plan" do you mean this line?:</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<div class="gmail_default"> <!--</div>
<div class="gmail_default">
You can place files in the default directory to get
included.</div>
<div class="gmail_default"> --></div>
<div class="gmail_default"> <X-PRE-PROCESS cmd="include"
data="default/*.xml"/></div>
<div><br>
</div>
<div>Or am I missing something else?</div>
<div><br>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Richard</div>
<br>
<br>
<div class="gmail_quote">
On 7 June 2014 12:45, Francis <span dir="ltr"><<a href="mailto:sms@icefire.qza.net.au" target="_blank">sms@icefire.qza.net.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Have you modified
the file:<br>
<br>
/etc/freeswitch/dialplan/default.xml<br>
<br>
to recognize this numbering plan? If not, just saving
extensions won't work.<span><font color="#888888"><br>
<br>
-Francis</font></span>
<div>
<div><br>
<br>
<br>
<div>On 7/06/2014 9:30 PM, Richard Mace wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif">Hi
Francis,</div>
<div style="font-family:arial,helvetica,sans-serif">It
is a vanilla install, with the addition of
extensions 201,202 and 203 all saved as
seperate .xml files in
/etc/freeswitch/dialplan/default/ directory</div>
<div style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Richard</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 7 June 2014 10:57,
Francis <span dir="ltr"><<a href="mailto:sms@icefire.qza.net.au" target="_blank">sms@icefire.qza.net.au</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Is
this the vanilla config of Freeswitch?
Vanilla only recognizes extensions 1000
to 1019, unless you modify the match
string in the dialplan.<span><font color="#888888"><br>
<br>
-Francis</font></span>
<div>
<div><br>
<br>
<br>
<div>On 7/06/2014 5:53 AM, Richard
Mace wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif">Thanks
for your help Matt.</div>
<div style="font-family:arial,helvetica,sans-serif">Did
I include a good enough sip
trace in my first post?</div>
<div style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Richard</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote"> On 6
June 2014 16:07, Matt Broad
<span dir="ltr"><<a href="mailto:matt@inveroak.com" target="_blank">matt@inveroak.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
strange :|<br>
Sorry to say but I think
I may have to step out
and let someone else see
if they can offer some
assistance.<br>
<br>
thanks<br>
Matt
<div>
<div><br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<div>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</div>
</blockquote>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting
Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel
Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>