using wrong dial-peer - destination-pattern problem
Howdy - I'm troubleshooting a dial-peer problem with a CME system in Singapore. If users dial any toll-free 800 number the wrong dial-peer is used and the number is truncated to match the shorter number-pattern, which of course fails. The number I am dialling in Singapore is 8001204416 (Verizon Audio Conferencing) and it is prefixed with '9' for an external line. All other numbers, including 1800 numbers, work fine (correct dial-peer is used). The correct dial-peer for this number is 2102 (see below), but for some reason this is skipped in preference for dial-peer 2109. I've read through some other posts here looking for any tips or commands/debugs that might help me figure out what is going wrong, but so far I've not had any joy - any hints would be greatly appreciated.
Here are the important bits:
cisco185-voice#sh dialplan number 98001204416
Macro Exp.: 98001204416
VoiceEncapPeer2102
peer type = voice, system default peer = FALSE, information type = voice,
description = `Toll-free number',
tag = 2102, destination-pattern = `9800.......',
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 2102, Admin state is up, Operation state is up,
Outbound state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
URI classes:
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = pots, prefix = `',
forward-digits 10
session-target = `', voice-port = `0/0/0:15',
direct-inward-dial = disabled,
digit_strip = enabled,
register E.164 number with H323 GK and/or SIP Registrar = TRUE
fax rate = system, payload size = 20 bytes
supported-language = ''
preemption level = `routine'
bandwidth:
maximum = 64 KBits/sec, minimum = 64 KBits/sec
voice class called-number:
inbound = `', outbound = `'
dial tone generation after remote onhook = enabled
Time elapsed since last clearing of voice call statistics never
Connect Time = 0, Charged Units = 0,
Successful Calls = 0, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "",
Last Disconnect Text is "",
Last Setup Time = 0.
Last Disconnect Time = 0.
Matched: 98001204416 Digits: 4
Target:
VoiceEncapPeer2109
peer type = voice, system default peer = FALSE, information type = voice,
description = `Local fix line, handphone and pager',
tag = 2109, destination-pattern = `9[689].......',
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 2109, Admin state is up, Operation state is up,
Outbound state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
URI classes:
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = pots, prefix = `',
forward-digits 8
session-target = `', voice-port = `0/0/0:15',
direct-inward-dial = disabled,
digit_strip = enabled,
register E.164 number with H323 GK and/or SIP Registrar = TRUE
fax rate = system, payload size = 20 bytes
supported-language = ''
preemption level = `routine'
bandwidth:
maximum = 64 KBits/sec, minimum = 64 KBits/sec
voice class called-number:
inbound = `', outbound = `'
dial tone generation after remote onhook = enabled
Time elapsed since last clearing of voice call statistics never
Connect Time = 79497291, Charged Units = 0,
Successful Calls = 7148, Failed Calls = 1040, Incomplete Calls = 766
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 788136162.
Last Disconnect Time = 788146736.
Matched: 98001204416 Digits: 2
Target:
-------------------------
dial-peer voice 2101 pots <--- [** THIS DIAL-PEER WORKS FINE **]
description Toll-free number
destination-pattern 91800.......
translate-outgoing calling 2
port 0/0/0:15
forward-digits 11
!
dial-peer voice 2102 pots
description Toll-free number
destination-pattern 9800.......
translate-outgoing calling 2
port 0/0/0:15
forward-digits 10
[irrelevant bits snipped]
dial-peer voice 2109 pots
description Local fix line, handphone and pager
destination-pattern 9[689].......
translate-outgoing calling 2
port 0/0/0:15
forward-digits 8
-----------------------------
translation-rule 1
Rule 1 ^6394 4
Rule 2 ^62949948 43800
!
!
translation-rule 3
Rule 1 * 9
!
!
translation-rule 2
Rule 1 ^4 6394
!
!
translation-rule 4
Rule 1 ^4.... 63943800
-----------------------------
THANK YOU !!


Comments
from my knowledge, you'll
from my knowledge, you'll need to modify dialpeers to look something like:
!
dial-peer voice 2102 pots
description Toll-free number
destination-pattern 9800.......
translate-outgoing calling 2
port 0/0/0:15
forward-digits 10
!
!
dial-peer voice 2109 pots
description Local fix line, handphone and pager
destination-pattern 9[69].......
translate-outgoing calling 2
port 0/0/0:15
forward-digits 8
!
dial-peer voice 21xx pots
description Local fix line, handphone and pager
destination-pattern 98[0-9][1-9].....
translate-outgoing calling 2
port 0/0/0:15
forward-digits 8
Thanks Shane - that seems to have fixed it
I changed the dial peers as you suggested early this morning before anyone got into the office, then successfully dialled Verizon on their 800 number for the first time.
I called Singapore and asked them to test local calls (96xxxxxx, 98xxxxxx & 99xxxxxx) as well as the 800 numbers, as the local dial-peer 2109 was changed too - and now all numbers seem to be working well.
I had a feeling that I would have to create new dial-peers to accomodate the 98...... pattern, but I wasn't sure exactly how to handle it. I guess that the CME system is pattern matching on input, and was finding 2109 to be the first match, rather than waiting for all the numbers to be typed - choosing dial-peer 2102 instead. The fact that 2102 destination pattern accounted for the correct number of digits had no relevance to pattern matching.
Thank You very much for your help everyone - Shane in particular.
Mark
Preference
Try using the following command on dial-peer 2109
preference 5Preference added to dial-peer 2109 - but still not working
Thanks for your suggestion - added preference 5 to dial-peer 2109 however it made no difference.
I dialled 98001204416 and the system chose dial-peer 2109 again, instead of dial-peer 2102, then it trimmed the dialled number to 980012044 and the call failed.
sh dialplan number 98001204416 shows the new preference statement on 2109 but 2109 is still the preference when dialling any 800 number for some reason.
I really appreciate the input - any more thoughts?
Thanks again
Mark