Hello
Evan, I would use num-exp for other reasons, not to accomplish what you want to
do. You can do what you want on the dial-peer configuration. Here is an
example:
dial-peer voice 1 pots
destination-pattern 745....
port 1/0:0
prefix 212345
destination-pattern 745....
port 1/0:0
prefix 212345
That's
what happends: when the route receives the calls from another router or from any
other source (e.g. a phone connected to it or pbx), it will look for the
dial-peer statement that has the better match. When the dial-peer 1 pots is
executed, the router sends only the ...., NOT the 745. But before sending, it
will add the prefix you want, on the this case, it will send the following
string: 212345....
One
interesting thing is that on the dial-peer pots statement, the router removes
the 745, if you had the same config on the dial-peer voip, the router would NOT
remove the 745.
Hope
it helps, let me know if you have any questions.
Guilherme
-----Original Message-----
From: Evan You [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 9:29 AM
To: [EMAIL PROTECTED]
Subject: VoIP/voFRHas anyone used the Num-Exp command? If so, how many Num-exp commands can a Cisco router handle?We are deploying a huge VoFR network. The customer has a private numbers scheme such as 745-2345 (2345 is the extension),Each location has 3 prefix numbers when they dial internally. But to dial outside, the extension is keeped and the front 3 digits are replaced with a real number such as 212-345-2345.So I want to use the commandnum-exp 745... 212345...The question is, how many time can put that global command in a Cisco? How will it affect the router?I have about 200 to 400 sites. I would rather have the PBX do what I am asking for, but customer does nto want the PBX translating the numbers.Thanks!Evan You - CCNA

