[cisco-voip] dial-peer number hunting

Servet ERKUN servet.erkun at doruk.net.tr
Thu Nov 29 16:13:01 EST 2007


Hi 

But this expression is matcing for example 988990418 , but I don't want that
cause of this is defined in another dial-peer

Expression must match only these prefixes
988990322,988990324,988990326,988990328,988990342,988990344,988990348,988990
414,988990416

Is it possible ??

 

 

From: Jack Martin [mailto:jackm at tushaus.com] 
Sent: Thursday, November 29, 2007 9:52 PM
To: servet at doruk.net.tr; cisco-voip at puck.nether.net
Subject: RE: [cisco-voip] dial-peer number hunting

 

Try this:

 

incoming called-number 988990[3-4][1-2,4][2,4,6,8]T

 

Jack Martin, CCVP

Network Engineer

Tushaus Computer Systems

10400 Innovation Drive, Suite 100

Wauwatosa, WI 53226

Desk: 414.908.2267

Cell: 414.477.6990

Fax: 414.908.4467

jackm at tushaus.com

www.Tushaus.com

 

From: cisco-voip-bounces at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Servet ERKUN
Sent: Thursday, November 29, 2007 10:00 AM
To: cisco-voip at puck.nether.net
Subject: [cisco-voip] dial-peer number hunting

 

 

Hİ Guys

 

I want to hunt a call from destination-number but my number list is complex
, can i use regular expression for hunting destination number ?

There is 2 dial-peer configuration, i want to merge them and i want to use 1
dial-peer , but i can not write one expression, and  this dial peer must
include only 988990[322,324,326,328,342] and 988990[344,348,414,416]T
prefixes

 

 

dial-peer voice 1001 voip

 huntstop

 max-conn 8

 voice-class aaa 2

 voice-class media 1

 voice-class codec 3

 incoming called-number 988990[322,324,326,328,342]T

 

!

dial-peer voice 1002 voip

 huntstop

 max-conn 8

 voice-class aaa 2

 voice-class media 1

 voice-class codec 3

 incoming called-number 988990[344,348,414,416]T

 

 

how can i do that
any idea ??

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20071129/93695d7f/attachment-0001.html 


More information about the cisco-voip mailing list