From: Pun, Alec CL (Alec.CL.Pun@pccw.com)
Date: Thu Dec 25 2003 - 07:57:08 GMT-3
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:44 GMT-3