cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1184
Views
0
Helpful
14
Replies

Help with dial-peers

Luis Perez
Level 1
Level 1

Hi everybody im having problems with dial peers in a IP telephony installation.

I have a CUCM 8.5 version and a gateway  Cisco3825. Everything is working but now we are integrating with other telephony central in other buildings.

When i call from an IP phone 802024 the debug voice ccapi output show me that the call takes the dial-peer 4404 instead of dial-peer 3003 for routing the call

There are my route patterns in CUCM

route pattern.jpg

And there are my dial-peers in the gateway

dial-peer voice 5001 voip

description ******** HACIA EXT. DEL CALLMANAGER **********

destination-pattern 2[0-9]..

no modem passthrough

session target ipv4:172.17.12.2

voice-class codec 1

dtmf-relay h245-alphanumeric rtp-nte

!

dial-peer voice 4001 pots

description ** LLAMADAS LOCALES **

preference 1

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

fax rate disable

port 0/1/0:15

forward-digits 7

!

dial-peer voice 5000 voip

description ******** HACIA EXT. DEL CALLMANAGER **********

destination-pattern 1[0-2]..

no modem passthrough

session target ipv4:172.17.12.2

voice-class codec 1

dtmf-relay h245-alphanumeric rtp-nte

!

dial-peer voice 4002 pots

description ** LLAMADAS NACIONALES **

preference 1

destination-pattern 90[3-7].......

fax rate disable

port 0/1/0:15

forward-digits 9

!

dial-peer voice 4003 pots

description ** LLAMADAS CELULARES **

preference 1

destination-pattern 90[8-9].......

fax rate disable

port 0/1/0:15

forward-digits 9

!

dial-peer voice 4005 pots

description ** LLAMADAS SERVICIOS CNT **

preference 1

destination-pattern 91[0-3][0-4,6-9]

fax rate disable

port 0/1/0:15

forward-digits 3

!

dial-peer voice 4007 pots

description ** LLAMADAS SERVICIOS EMERGENCIA 911 E1 DIGITAL RTVE **

preference 1

destination-pattern 9911

fax rate disable

port 0/1/0:15

forward-digits 3

!

dial-peer voice 4006 pots

description ** LLAMADAS 1800 1700 1900 **

preference 1

destination-pattern 91[7-9]00......

fax rate disable

port 0/1/0:15

forward-digits 10

!

dial-peer voice 4010 pots

description ** Dial-Peer llamadas entrantes 23960110 a 23960119 siguientes**

translation-profile incoming 8601_to_8609

incoming called-number 39541..

direct-inward-dial

port 0/1/0:15

!

dial-peer voice 5002 voip

description ******** HACIA EXT. DEL CALLMANAGER **********

destination-pattern 5...

no modem passthrough

session target ipv4:172.17.12.2

voice-class codec 1

dtmf-relay h245-alphanumeric rtp-nte

!

dial-peer voice 3003 pots

destination-pattern 80....

port 2/0/8

forward-digits 4

!

dial-peer voice 4004 pots

description ** LLAMADAS INTERNACIONALES **

destination-pattern .T

fax rate disable

port 0/1/0:15

forward-digits all

Please help me im not sure what is going wrong.

14 Replies 14

Jaime Valencia
Cisco Employee
Cisco Employee

Exactly what digits are you sending to the GW and where's that other dial peer you say you're hitting??

There's no 4404 in that config you posted.

HTH

java

If this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

Excuse me you have reason is not 4404 the dial peer is 4004.

Whe i call 802024 my CUCM select the first route pattern 80XXXX and send it to the gateway, i think my gateway must select the dial-peer:

dial-peer voice 3003 pots

destination-pattern 80....

port 2/0/8

forward-digits 4

But the gateway is selecting this dial-peer:

dial-peer voice 4004 pots

description ** LLAMADAS INTERNACIONALES **

destination-pattern .T

fax rate disable

port 0/1/0:15

forward-digits all

DO you understand my problem???

Hi,

Can you post the output of

show voice port 2/0/8

and

show dial-peer voice summary

Regards

Alex

Regards, Alex. Please rate useful posts.

This is the show voice port output:

sh voice port 2/0/8

Foreign Exchange Office 2/0/8 Slot is 2, Sub-unit is 0, Port is 8
Type of VoicePort is FXO
Operation State is DORMANT
Administrative State is UP
No Interface Down Failure
Description is not set
Noise Regeneration is enabled
Non Linear Processing is enabled
Non Linear Mute is disabled
Non Linear Threshold is -21 dB
Music On Hold Threshold is Set to -38 dBm
In Gain is Set to 0 dB
Out Attenuation is Set to 3 dB
Echo Cancellation is enabled
Echo Cancellation NLP mute is disabled
Echo Cancellation NLP threshold is -21 dB
Echo Cancel Coverage is set to 128 ms
Echo Cancel worst case ERL is set to 6 dB
Playout-delay Mode is set to adaptive
Playout-delay Nominal is set to 60 ms
Playout-delay Maximum is set to 1000 ms
Playout-delay Minimum mode is set to default, value 40 ms
Playout-delay Fax is set to 300 ms
Connection Mode is normal
Connection Number is not set
Initial Time Out is set to 15 s
Interdigit Time Out is set to 10 s
Call Disconnect Time Out is set to 60 s
Power Denial Disconnect Time Out is set to 1000 ms
Ringing Time Out is set to 180 s
Wait Release Time Out is set to 30 s
Companding Type is u-law
Region Tone is set for US

Analog Info Follows:
Currently processing none
Maintenance Mode Set to None (not in mtc mode)
Number of signaling protocol errors are 0
Impedance is set to 600r Ohm
Station name None, Station number None
Translation profile (Incoming):
Translation profile (Outgoing):
lpcor (Incoming):
lpcor (Outgoing):

Voice card specific Info Follows:
Signal Type is loopStart
Battery-Reversal is enabled
Number Of Rings is set to 1
Supervisory Disconnect is signal
Answer Supervision is inactive
Hook Status is On Hook
Ring Detect Status is inactive
Ring Ground Status is inactive
Tip Ground Status is inactive
Dial Out Type is dtmf
Digit Duration Timing is set to 100 ms
InterDigit Duration Timing is set to 100 ms
Pulse Rate Timing is set to 10 pulses/second
InterDigit Pulse Duration Timing is set to 750 ms
Percent Break of Pulse is 60 percent
GuardOut timer is 2000 ms
Minimum ring duration timer is 125 ms
Hookflash-in Timing is set to 600 ms
Hookflash-out Timing is set to 400 ms
Supervisory Disconnect Timing (loopStart only) is set to 350 ms
OPX Ring Wait Timing is set to 6000 ms
Secondary dialtone is disabled

and this is the dial-peer summary output:

dial-peer hunt 0

             AD                                    PRE PASS                OUT

TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT    KEEPALIVE

5001   voip  up   up             2[0-9]..           0  nse  ipv4:172.17.12.2

4001   pots  up   up             9[2-6]......       1                      up   0/1/0:15

5000   voip  up   up             1[0-2]..           0  nse  ipv4:172.17.12.2

4002   pots  up   up             90[3-7].......     1                      up   0/1/0:15

4003   pots  up   up             90[8-9].......     1                      up   0/1/0:15

4005   pots  up   up             91[0-3][0-4,6-9]   1                      up   0/1/0:15

4007   pots  up   up             9911               1                      up   0/1/0:15

4006   pots  up   up             91[7-9]00......    1                      up   0/1/0:15

4010   pots  up   up                                0                      down 0/1/0:15

5002   voip  up   up             5...               0       ipv4:172.17.12.2

3003   pots  up   up             80....             0                      up   2/0/8

             AD                                    PRE PASS                OUT

TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT    KEEPALIVE

3004   pots  up   up             82....             0                      up   2/0/9

4004   pots  up   up             .T                 0                      up   0/1/0:15

Actually im not using these ports becuase is not working, i have two gateways coneccted to my CUCM with the same configuration, the other one works but his one not. I dont know what happen, please help me

The CUCM is using only the first gateway and the route patterns you can see in the first post of this discussion.

Hi,

I think it would be selecting the DP randomly because the preference for both the DP's are 0.

Better type in a command "preference 1" under dial-peer 4004 and give it a try.

Thanks,

VJ

we have tired this but not works for this reason im very scared about the funtionf of the gateway is the first time this happen

http://www.cisco.com/en/US/docs/ios/12_3/vvf_c/dial_peer/dp_confg.html

A default route could also be defined by using a single wildcard character with the timeout

T-indicator in the destination pattern, as shown in the following example:

dial-peer voice 1000 voip

destination-pattern .T

session-target ipv4:10.10.1.2

You should be careful, however, when using the T-indicator for default routes.

Remember, when matching dial peers for outbound call legs, the router places the

call as soon as it finds the first matching dial peer. The router could match on

this dial peer immediately even if there were another dial peer with a more explicit

match and a more desirable route.

HTH

But i have problems whit pots dial-peers i cant configure a session target. I understand that the dial-peer with the first match is used for route the call but in my case i dont want use the dial-peer with .T destinnation-pattern configured, how can i do???

Route patterns on CUCM are 9.*  - so instead of .T on your outgoing pots dial-peer use 9.T and do not discard leading 9 digits on CUCM. In this case 9.* will macth with 4004 and 8.* will match with 3003.

I have tried that but the internationall calls that match with .T for their different lenght string not works

Yeah, my mistake - can see that you've done outgoing dial-peers with 9.*

Why you couldn't create dial-peer with destination pattern 900T for your international calls? - It will match different digit length number starting with 900

Luis,

The dial peers and voice port look good to me.

Can you use the Dial Number Analyser on the CUCM
Pick a phone/line and put the 802024 number as the
destination.

Hopefully this will produce a result where we can
see what digits are actually being sent to the gatway.

I think you may dropping digits and hence not matching
DP 3003 which starts 80....

DP 4004 uses .T basically a wild card match

Regards
Alex

Regards, Alex. Please rate useful posts.

Thanks for your help i dont know waht happen but everything is ok, all of you answer help us but really i dont change nothing but now is working

You can check where calls to go by the command

show dialplan number 123456

or

show dialplan number 123456#

Also you configured forward-digit 4 which could be a problem to you. Look for description about this command

Sent from Cisco Technical Support iPad App

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: