Destination Pattern Question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > Voice Over IP > Voice over IP Cisco > Destination Pattern Question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Destination Pattern Question  
Steven E. Ames


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-05 10: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 wi
th 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.





[ Post a follow-up to this message ]



    RE: Destination Pattern Question  
Dennis Xu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-05 12:45 PM

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





[ Post a follow-up to this message ]



    RE: Destination Pattern Question  
Steven E. Ames


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-05 10: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register