Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bronze

destination-pattern expressions

guys,

i want to create a destination-pattern based on the following.

PSTN call can only be made by dialing 6 and the number ranges 70, 81, 96 XXXX

so basically, i should only be able to dial 670XXXX or 681XXXX or 696XXXX and nothing else. i have the COR working for all dial-peers but am having a little trouble matching this one.

i was trying this 6[70,81,96].... but thats not working

can anyone assist?

4 REPLIES
Cisco Employee

Re: destination-pattern expressions

when you configure something in brackets it means one of those, not as expressions or whole numbers.

that expression would be 6 + 7 or 0 or 8 or 1 or 9 or 6 + 4 digits

the best way to do this would be to create 3 dial peers with the patterns you wrote on the question

destination-pattern

http://www.cisco.com/en/US/docs/ios/12_3t/voice/command/reference/vrht_d1_ps5207_TSD_Products_Command_Reference_Chapter.html#wp1459870

-> Brackets ( [ ] ), which indicate a range

HTH

javalenc

if this helps, please rate

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
Bronze

Re: destination-pattern expressions

thanks,

the simplest way is to configure 3 dial-peers, but i have 16 trunk lines that ill need to apply this to. also, there are other patterns for different types of PSTN calls so creating three DP's for each will entail 48 peers plus the others.

is this the only way to do this?

thanks

Bronze

Re: destination-pattern expressions

any other ideas ?

Bronze

Re: destination-pattern expressions

my concern was the amount of dial-peers so i just put the ports in a trunk group to eliminate that issue, actually that completely slipped my mind :)

435
Views
0
Helpful
4
Replies
CreatePlease to create content