[cisco-voip] dial-peer configuration.

Leo Zicovich leozicovich at yahoo.co.uk
Fri Mar 3 09:28:34 EST 2006


I will try with that...
Many thank Tim


--- Tim Medley <medley at mac.com> wrote:

> Leo,
> 
> It depends on how specific you need to get with the
> digit matching.
> 
> 1. Since the only difference between all five
> dial-peers is the last  
> two digits in the destination pattern, you could use
>  "dot" wild  
> cards for the last two digits.
> 
> dial-peer voice 1 pots
>   destination-pattern 9223711..
>   translate-outgoing called 101
>   port 6/5:D
>   forward-digits all
> 
> This will match:
> 922371100 through 922371199
> 
> 
> 2. If you need to get more specific, you can use
> brackets to restrict  
> the dial peer to only matching specific digits in
> specific places.
> 
> dial-peer voice 1 pots
>   destination-pattern 9223711[23][8901]
>   translate-outgoing called 101
>   port 6/5:D
>   forward-digits all
> 
> This will match:
> 922371128
> 922371129
> 922371120
> 922371121
> 922371138
> 922371139
> 922371130
> 922371131
> 
> 
> 3. So if you need to be even more specific, you'll
> need two dial-peers
> 
> dial-peer voice 1 pots
>   destination-pattern 92237112[89]
>   translate-outgoing called 101
>   port 6/5:D
>   forward-digits all
> !
> dial-peer voice 2 pots
>   destination-pattern 92237113[01]
>   translate-outgoing called 101
>   port 6/5:D
>   forward-digits all
> 
> Dial peer 1 matches:
> 922371128
> 922371129
> 
> And dial peer 2 matches:
> 922371130
> 922371131
> 
> 
> Here is a good link on dial peer digit manipulation.
>
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/
> 
>
products_configuration_guide_chapter09186a0080080aec.html#wp1258752
> 
> 
> tm
> 
> 
> 
> 
> 
> Tim Medley
> medley at mac.com
> 
> 
> 
> On Mar 3, 2006, at 6:38 AM, Leo Zicovich wrote:
> 
> > Hello,
> >
> > Can anyone tell me how to configure just ONE
> dial-peer
> > voice within 4 destination-pattern , pls? Is it
> > possible?
> >
> > Example:
> >
> > dial-peer voice 1 pots
> >  destination-pattern 922371127
> >  translate-outgoing called 101
> >  port 6/5:D
> >  forward-digits all
> > !
> > dial-peer voice 2 pots
> >  destination-pattern 922371128
> >  translate-outgoing called 101
> >  port 6/5:D
> >  forward-digits all
> > !
> > dial-peer voice 3 pots
> >  destination-pattern 922371129
> >  translate-outgoing called 101
> >  port 6/5:D
> >  forward-digits all
> > !
> > dial-peer voice 4 pots
> >  destination-pattern 922371130
> >  translate-outgoing called 101
> >  port 6/5:D
> >  forward-digits all
> > !
> > dial-peer voice 5 pots
> >  destination-pattern 922371131
> >  translate-outgoing called 101
> >  port 6/5:D
> >  forward-digits all
> > !
> >
> > Many thank in advance,
> >
> > Regards,
> > Leonardo
> >
> >
> > 		
> >
>
___________________________________________________________
> > NEW Yahoo! Cars - sell your car and browse
> thousands of new and  
> > used cars online! http://uk.cars.yahoo.com/
> > _______________________________________________
> > cisco-voip mailing list
> > cisco-voip at puck.nether.net
> >
> https://puck.nether.net/mailman/listinfo/cisco-voip
> 
> 



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


More information about the cisco-voip mailing list