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

destination-pattern and regular expressions

I am trying to use a regular expression on the destination-pattern field for a VOIP port but get an error message as below.

Is there a way round it.

Code version Version 12.1(8)

Router6(config)#dial-peer voice 33 voip

Router(config-dial-peer)#destination-pattern [0-9][0-9][0-9][0-9]

Incorrect format for E.164 Number

must be of the form ^((\+)?[0-9,#_ABCD]_\._T?)$

1 REPLY
Anonymous
N/A

Re: destination-pattern and regular expressions

dial-peer destination pattern do not support regular-expression.

http://www.cisco.com/warp/public/788/pkt-voice-general/dial_peers.html

346
Views
0
Helpful
1
Replies
CreatePlease to create content