There's a bunch of different ways.<div><br></div><div>Somewhat depends on what you get from Telco for digits.</div><div><br></div><div>I usually only get 4 digits from telco</div><div><br></div><div>so I would do something like this:</div>
<div><br></div><div>num-exp 5566 1919</div><div><br></div><div><br></div><div>You can get fancier and do pattern matching (using RegEX) like this:</div><div><br></div><div>num-exp 55.. 19..</div><div><br></div><div>So 5566 would be translated to 1966</div>
<div><br></div><div>You could also add and remove digits</div><div><br></div><div>num-exp 55.. 5519..</div><div><br></div><div>That would take 5566 and make it to extension 551966</div><div><br></div><div>Did this help?<br>
<br><div class="gmail_quote">On Wed, Oct 26, 2011 at 2:04 PM, David Zhars <span dir="ltr"><<a href="mailto:dzhars@gmail.com">dzhars@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I tried to summarize the whole thing in the subject line, lol!<br><br>OK, so we have some DIDs from the phone company and they come in on the ISDN which plugs into a 2801 configured for H323.<br><br>So how would I take one of the DIDs and tell the router "if you see 555-5566, route that to extension 1919"?<br>
<br>Thanks.<br><br>Dave<br>
<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></div>