<div dir="ltr">Thanks Anthony.<div><br></div><div>It seems that my dp is picking it up as a local extension even though it doesn&#39;t start with 1 or 2 nor is it 3 digits.</div><div>Weird, huh?</div><div><br></div><div><div>
sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> Regex (PASS) [Local_Extension] destination_number(#351213572318) =~ /^1|2(\d{3})$/ break=on-false</div><div>Dialplan: sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> Action export(dialed_extension=318)</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 7:25 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@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">console loglevel debug</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Tue, Jun 3, 2014 at 1:20 PM, Peter Villeneuve <span dir="ltr">&lt;<a href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>Trying to process a simple call and it seems that mod_dptools is only recognizing the last 3 digits of the dialled number instead of the complete number (318 in this example).</div>

<div>
<br></div><div>Any clue what I&#39;m doing wrong?</div><div><br></div><div>Thanks,</div><div>Peter</div><div><br></div><div><br></div><div><div>2014-06-03 18:15:27.933596 [INFO] mod_dialplan_xml.c:558 Processing &lt;1000&gt;-&gt;#123456782318 in context default</div>


<div>2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *1 execute_extension::dx XML features</div><div>2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/1000.2014-06-03-18-15-27.wav</div>


<div>2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *3 execute_extension::cf XML features</div><div>2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *4 execute_extension::att_xfer XML features</div>


<div>2014-06-03 18:15:27.933596 [WARNING] mod_dptools.c:3979 Can&#39;t find user [<a href="mailto:318@my.domain.com" target="_blank">318@my.domain.com</a>]</div><div>2014-06-03 18:15:27.933596 [NOTICE] switch_ivr_originate.c:2707 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]</div>


<div>2014-06-03 18:15:27.933596 [INFO] mod_dptools.c:3234 Originate Failed.  Cause: SUBSCRIBER_ABSENT</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>
<br></div></div>_________________________________________________________________________<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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>

<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>

</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br>
</div></div></div></div>
</font></span></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>