|
Home > Archive > Voice over IP Cisco > July 2005 > Destination Pattern Question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Destination Pattern Question
|
|
| Steven E. Ames 2005-07-28, 5:45 pm |
|
I have two dial-peers:
dial-peer voice 1102 pots
description POTS peer for 10 digits
huntstop
service session
destination-pattern 002..........
port 1/0:23
dial-peer voice 1105 pots
description POTS peer for 4 digit extensions
huntstop
service session
destination-pattern 002....
port 1/1:23
The idea whas for anything with only 4 digits to use port1/1:23 and stuff with 10 digits use port 1/0:23. However according to a doc I just read '002....' means 4 _OR MORE_ digits. Argh. How do I get a match completely based on the number of digits?
Thanks.
| |
| Dennis Xu 2005-07-29, 7:45 am |
| To match exactly four digits, use "destination-pattern 002....$"
If you are using two-stage dialing when the router provides 2nd dial
tone to the user and collects the digits one by one, you may need:
Destination-pattern 002..........T and
Destination-pattern 002....T
Zhenning
-----Original Message-----
From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Steven E. Ames
Sent: Thursday, July 28, 2005 4:54 PM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] Destination Pattern Question
I have two dial-peers:
dial-peer voice 1102 pots
description POTS peer for 10 digits
huntstop
service session
destination-pattern 002..........
port 1/0:23
dial-peer voice 1105 pots
description POTS peer for 4 digit extensions
huntstop
service session
destination-pattern 002....
port 1/1:23
The idea whas for anything with only 4 digits to use port1/1:23 and
stuff with 10 digits use port 1/0:23. However according to a doc I just
read '002....' means 4 _OR MORE_ digits. Argh. How do I get a match
completely based on the number of digits?
Thanks.
________________________________________
_______
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
| |
| Steven E. Ames 2005-07-29, 5:46 pm |
|
> -----Original Message-----
> From: Dennis Xu [mailto:dxu@uoguelph.ca]
>
> To match exactly four digits, use "destination-pattern 002....$"
Thank you! That is the answer I needed.
-Steve
|
|
|
|
|