From: Keyur Shah (kshah@hellocomputers.com)
Date: Fri Dec 26 2003 - 19:49:27 GMT-3
Alec,
Num-exp digit manipulation takes place after matching dial peer. Therefore
dial peer must match first for inbound call leg and then num-exp digit
manipulation will take place. In first example dialed digits are 2123,
whereas in 2nd example received digits are 2123.
Say for example PSTN is sending you 10 digits and your incoming dial-peer is
configured with incoming called-number . It will match that dial peer and
let's say your voip dial peer is configured for session target to CM with
2... Destination pattern, then you will need to use num-exp 4084962... 2...
!
Dial-peer voice 100 voip
destination-pattern 2...
Session target ipv4:CM_IP_Address
!
-Keyur Shah-
QUAD CCIE# 4799 (Voice; Service Provider; Security; R/S)
CCSI, CISSP, Check Point CCSE Plus, MCSE
http://www.hellocomputers.com
"Say Hello To Your Future!"
1.877.79.HELLO
Hall of Fame@
http://www.hellocomputers.com/hellofame.html
-----Original Message-----
From: Pun, Alec CL [mailto:Alec.CL.Pun@pccw.com]
Sent: Thursday, December 25, 2003 2:57 AM
To: ccielab@groupstudy.com
Subject: num-exp example
Hi group,
The following examples are copied from Voice configuration guide. Isn't
that the destination pattern should be the expanded number ?
thanks
alec
Using a simple telephony-based example, suppose that John works in a company
where employees extensions are reached by dialing the last four digits of
the full E.164 telephone number. The E.164 telephone number is 555-2123;
John's extension number is 2123. Suppose that every employee on John's floor
has a telephone number that begins with the same first four digits: 5552.
You could define each dial peer's destination pattern using each extension
number, and then use number expansion to prepend the first four digits onto
the extension. In this example, the router could be configured as follows:
num-exp 2... 5552...
dial peer voice 1 pots
destination pattern 2123
Number expansion can also be used to replace a dialed number with another
number, as in the case of call forwarding. Suppose that for some reason,
John needs to have all of his telephone calls forwarded to another number,
555-6611. In this example, you would configure the router as follows:
num-exp 2123 5556611
dial peer voice 1 pots
destination pattern 2123
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:45 GMT-3