Num expansion is bi-directorial and will replace digits mid stream if it has a match, just like you are reporting. I would create a voice translation rule and apply to either an incoming dial-peer or on your voice-port.<br>
<br>IE:<br><br>voice translation-rule 9000<br>rule 1 /^9...$/ /55\0/<br>!<br>voice translation-profile 9000<br>translate called 9000<br>!<br>voice-port 0/0/0:23<br>translation-profile incoming 9000<br><br>This matches on anything incoming on an incoming called number with 9 and 3 extra digits then prefixes 55. ie: 9001 = 559001.<br>
<br>HTH,<br>Chris<br><br><div class="gmail_quote">On Tue, Nov 22, 2011 at 1:30 PM, Mike King <span dir="ltr"><<a href="mailto:me@mpking.com">me@mpking.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a site that has been given the number block ending in 9XXX.<div><br></div><div>Trypically we've only been taking in 4 digits from telco.</div><div><br></div><div>I set a num expand like this:</div><div>9... 559...</div>
<div><br></div><div>we have extensions in the 5591XX thru 5599XX.</div>
<div><br></div><div>However, I have issues with outbound calls completing. My Maintenance provider is saying that it was catching anyting (outbound calls as well) and appending 559 to it.</div><div><br></div><div>example</div>
<div><br></div><div><span style="font-size:10.5pt;font-family:Calibri,sans-serif">919781234567 becomes </span><span style="font-family:Calibri,sans-serif;font-size:14px">95599781234567</span></div>
<div><span style="font-family:Calibri,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:Calibri,sans-serif;font-size:14px"><br></span></div>
<div><span style="font-family:Calibri,sans-serif;font-size:14px">Suggestions?</span></div><div><span style="font-family:Calibri,sans-serif;font-size:14px"><br>
</span></div><div><span style="font-family:Calibri,sans-serif;font-size:14px">I guess I could contact telco and change it up to 5 digits, but I'm wondering if there is a different way to setup the num expands so it does more what I want.</span></div>
<div><span style="font-family:Calibri,sans-serif;font-size:14px"><br></span></div><font color="#888888"><div><span style="font-family:Calibri,sans-serif;font-size:14px">Mike</span></div>
</font><br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br>