I guess it's the "!", sometimes it has a funny behaviour.<br><br>try changing ("." instead of "!" and an "X" less)<br>exten => _91XXXXXXXXXX!,1,DIAL(SIP/${<a href="mailto:EXTEN%3A1%7D@ia.ntelos.net">EXTEN:1}@ia.ntelos.net</a>)
; long distance<br>to<br>exten => _91XXXXXXXXX.,1,DIAL(SIP/${<a href="mailto:EXTEN%3A1%7D@ia.ntelos.net">EXTEN:1}@ia.ntelos.net</a>)
; long distance<br><br><br>I always use "." and never had a problem.<br><br>Alyed<br><br><br><div class="gmail_quote">2010/5/27 Eddie Mikell <span dir="ltr"><<a href="mailto:eddie@rimmkaufman.com">eddie@rimmkaufman.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">All:<br>
<br>
Yesterday I discovered something interesting. I dialed 1800ANCESTRY<br>
from the asterisk system I am testing and got the number doesn't exist<br>
message. I then dialed the same number from our old system and it went<br>
through.<br>
<br>
I realized that the "Y" in ancestry made the number too long, and went<br>
back to my dialplan.<br>
<br>
How do I ignore numbers that are too long? Obviously, I've done<br>
something wrong in my pattern matching.<br>
<br>
outgoing part of extensions.conf<br>
<br>
exten => _91XXXXXXXXXX!,1,DIAL(SIP/${<a href="mailto:EXTEN%3A1%7D@ia.ntelos.net">EXTEN:1}@ia.ntelos.net</a>) ; long distance<br>
exten => _9765XXXXXXX,1,DIAL(SIP/${<a href="mailto:EXTEN%3A1%7D@ia.ntelos.net">EXTEN:1}@ia.ntelos.net</a>) ; local<br>
exten => _9XXXXXXX,1,DIAL(SIP/${<a href="mailto:EXTEN%3A1%7D@ia.ntelos.net">EXTEN:1}@ia.ntelos.net</a>) ; local<br>
exten => _9011XXXXXXX!,1,DIAL(SIP/${<a href="mailto:EXTEN%3A1%7D@ia.ntelos.net">EXTEN:1}@ia.ntelos.net</a>) ; international<br>
exten => _911,1,DIAL(SIP/${<a href="mailto:EXTEN%7D@ia.ntelos.net">EXTEN}@ia.ntelos.net</a>) ; emergency<br>
<br>
Thanks!<br>
<br>
Eddie Mikell<br>
<br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>