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

Help: CME dial-peer match problem

michaelzhq
Level 2
Level 2

A customer needs to make 10 digits local call, which is 3 digits area code and 7 digits local number.

I configure two dial-peers, one for this 10 digits local call and one for the reguler 7 digits local calls.

dial-peer voice 90 pots

destination-pattern 9386.......

direct-inward-dial

port 0/1/0:23

forward-digits 10

dial-peer voice 92 pots

destination-pattern 9[2-9]......

direct-inward-dial

port 0/1/0:23

forward-digits 7

Problem:

Cannot make the 10 digits local calls. I dial 10 digits, only 7 digits is collected and forwarded.

Check the output of the command below:

sh dialplan number 93863290100

This 10 digits number matches both of dial-peer 90 and 92. It matches 2 digits with dial-peer 92 and matches 4 digits with dial-peer 90. But the longest matching rule seems not working here, the call went through dial-peer 92.

Online waiting..... Thanks!!

4 Replies 4

hardiklodhia
Level 1
Level 1

hi mic,

in "dial-peer voice 92 pots " do forward all difits by "forward-digts all" command

hope this will help.

rgrds,

phershaw
Level 1
Level 1

The router will attempt to match digit by digit from the IP phone. As soon as one dial peer is matched, the router immediately places the call using the matching dial peer.

Use 9T for the second dial-peer and adjust the inter-digit timeout to prevent too long a wait after dialling.

Phil

vmilanov
Level 1
Level 1

The CME is not making 'longest match' decisions, but rather 'first match' and 'lower preference number' ones. The 'first match' rule is relevant to the order of dial-peers were entered into the router's configuration, and not the dial-peer number. So you have to enter them into the router in that order.

HTH

Regards,

csco11063007
Level 1
Level 1

add " no digit-strip " in the dial-peer 90

rate the answer if it resolve ur problem

thaks

Tom

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: