cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
658
Views
0
Helpful
4
Replies

Dial-Peer: Destination-Pattern with Range

Brian Lavallee
Level 1
Level 1

I am working with a new ISR4331 and outgoing dial peers are not matching [range of digits] properly.

Dial-peer 100 should match 00100~00999, but it doesn't.

I get 'no match' when the second zero is entered.  00 = 'no match'

!
dial-peer voice 100 pots
 trunkgroup DEFAULT
 description 00100~00999
 translation-profile outgoing CLID
 preference 1
 destination-pattern 00[1-9]..$
 no digit-strip
!
dial-peer voice 200 pots
 trunkgroup DEFAULT
 description Catch-all
 translation-profile outgoing CLID
 preference 10
 destination-pattern 0.T
 no digit-strip
!

Notice that dial-peer 200 is a catch-all.  But it's not checking the next dial-peer, this problem seems to break additional pattern matching.

I use similar destination patterns on other CME's and they work correctly. 

Am I encountering a bug in IOS?  If so, anyone know if it's been resolved?

Thanks!

4 Replies 4

Dennis Mink
VIP Alumni
VIP Alumni

Reverse engineer this, so start off with an exact match, say 00199 make a call and see if it hits dial-peer 100. then put in 01.. test again and so forth.  

meanwhile do a debug dial peer to see what gets matched.

also make sure that you have no translation patterns, that could manipulate, causing the DP not to get hit.

(csim start  <number> is a useful command when debugging and TS this sort of issue)

Please rate if this helps

Please remember to rate useful posts, by clicking on the stars below.

I actually discovered the answer.  The sip phone KPML (keypad markup language) does not handle dial-peer destination-patterns properly.  Specifically, KPML does not support the range parameter. 

So the dialing fails when it encounters a digit range.

I had to override KPML, forcing the SIP phone to use a separate dialplan.  Shown below.

voice register dialplan 1
 type 7940-7960-others
 pattern 1 0,01..
 pattern 2 0,02..
pattern 3 0,03..
pattern 4 0,04..
pattern 5 0,05..
pattern 6 0,06..
pattern 7 0,07..
pattern 8 0,08..
pattern 9 0,09..
pattern 10 0,*

Thanks

what phones were you using? or was it only the 7940's-60's?

Please remember to rate useful posts, by clicking on the stars below.

Using the 8851 SIP phones. 

BTW:

The dial-peer would be applied properly when sending the full dial string from the phone.  Enter all the digits and press place call.

The issue was when a line was selected, with the open connection tone.  When dialing a valid dial-peer string, this is where it would fail when it encountered a [range] in the dial-peer.  Solved by applying 'voice register dialplan' to the phone. 

voice register pool  1
 pin 12345
 park reservation-group 1
 id mac FFFF.FFFF.FFFF
 type 8851
 number 1 dn 1
 number 2 dn 2
 number 3 dn 3
 dialplan 1
 dtmf-relay rtp-nte sip-notify
 username secret password 12345
 codec g711ulaw
 no vad
!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: