[cisco-voip] Destination Pattern Question
Dennis Xu
dxu at uoguelph.ca
Fri Jul 29 08:54:02 EDT 2005
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 at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Steven E. Ames
Sent: Thursday, July 28, 2005 4:54 PM
To: cisco-voip at 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 at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
More information about the cisco-voip
mailing list