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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Dial peer issue? Preference?

Hi All,

I have a UC540 where one phone, the only cisco phone in the system which is cordless, is acting odd when dialing out. The outgoing access code is 8. I believe the phone is setup to automatically place an 8 before the number dialed. When a number is dialed ie 1-123-456-7890, a debug shows that only 1123456 is dialed. The phone will not go past 7 digits, therefore the user cannot dial past local exchange. In the debug, it shows that the dial-peer chosen is 69. I don't know why this one is chosen but there are other matches that should work. I'm not sure if this is an issue with the cisco phone or the UC540 config. The phone is a 7925. The phone should be able to dial long distance, local with area code, and just plain local 7 digit.

One last note, there are two "destination patterns" one starting with an 8 and the other with a 7. This allows the user to choose which line he is calling out on, home or office.

I've included the dial peer configs below, then followed by a debug. Ideas? Thanks!!!

Dial Peers: In red is the dial peer that is being chosen. In blue is what I added thinking it would help.

dial-peer cor custom

name internal

name local

name local-plus

name international

name national

name national-plus

name emergency

name toll-free

!

!

dial-peer cor list call-internal

member internal

!

dial-peer cor list call-local

member local

!

dial-peer cor list call-local-plus

member local-plus

!

dial-peer cor list call-national

member national

!

dial-peer cor list call-national-plus

member national-plus

!

dial-peer cor list call-international

member international

!

dial-peer cor list call-emergency

member emergency

!

dial-peer cor list call-toll-free

member toll-free

!

dial-peer cor list user-internal

member internal

member emergency

!

dial-peer cor list user-local

member internal

member local

member emergency

member toll-free

!

dial-peer cor list user-local-plus

member internal

member local

member local-plus

member emergency

member toll-free

!

dial-peer cor list user-national

member internal

member local

member local-plus

member national

member emergency

member toll-free

!

dial-peer cor list user-national-plus

member internal

member local

member local-plus

member national

member national-plus

member emergency

member toll-free

!

dial-peer cor list user-international

member internal

member local

member local-plus

member international

member national

member national-plus

member emergency

member toll-free

!

dial-peer voice 58 pots

trunkgroup OFFICE

corlist outgoing call-emergency

description **CCA*North American-10-Digit*Emergency**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8911

forward-digits all

no sip-register

!

dial-peer voice 59 pots

trunkgroup HOME

corlist outgoing call-local

description Unlock door

preference 5

destination-pattern 9

forward-digits all

no sip-register

!

dial-peer voice 60 pots

trunkgroup OFFICE

corlist outgoing call-local

description **CCA*North American-10-Digit*10-Digit Local**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

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

forward-digits all

no sip-register

!

dial-peer voice 61 pots

trunkgroup OFFICE

corlist outgoing call-local

description **CCA*North American-10-Digit*Service Numbers**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8[2-9]11

forward-digits all

no sip-register

!

dial-peer voice 62 pots

trunkgroup OFFICE

corlist outgoing call-national

description **CCA*North American-10-Digit*Long Distance**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

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

forward-digits all

no sip-register

!

dial-peer voice 63 pots

trunkgroup OFFICE

corlist outgoing call-international

description **CCA*North American-10-Digit*International**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8011T

forward-digits all

no sip-register

!

dial-peer voice 64 pots

trunkgroup OFFICE

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81800.......

forward-digits all

no sip-register

!

dial-peer voice 65 pots

trunkgroup OFFICE

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81888.......

forward-digits all

no sip-register

!

dial-peer voice 66 pots

trunkgroup OFFICE

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81877.......

forward-digits all

no sip-register

!

dial-peer voice 67 pots

trunkgroup OFFICE

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81866.......

forward-digits all

no sip-register

!

dial-peer voice 68 pots

trunkgroup OFFICE

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81855.......

forward-digits all

no sip-register

!

dial-peer voice 69 pots

trunkgroup OFFICE

corlist outgoing call-local

description **CCA*North American-7-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8.......

forward-digits all

no sip-register

!

dial-peer voice 70 pots

trunkgroup HOME

corlist outgoing call-emergency

description **CCA*North American-10-Digit*Emergency**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 7911

forward-digits all

no sip-register

!

dial-peer voice 71 pots

trunkgroup HOME

corlist outgoing call-local

description **CCA*North American-10-Digit*10-Digit Local**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

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

forward-digits all

no sip-register

!

dial-peer voice 72 pots

trunkgroup HOME

corlist outgoing call-local

description **CCA*North American-10-Digit*Service Numbers**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 7[2-9]11

forward-digits all

no sip-register

!

dial-peer voice 73 pots

trunkgroup HOME

corlist outgoing call-national

description **CCA*North American-10-Digit*Long Distance**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

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

forward-digits all

no sip-register

!

dial-peer voice 74 pots

trunkgroup HOME

corlist outgoing call-international

description **CCA*North American-10-Digit*International**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 7011T

forward-digits all

no sip-register

!

dial-peer voice 75 pots

trunkgroup HOME

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 71800.......

forward-digits all

no sip-register

!

dial-peer voice 76 pots

trunkgroup HOME

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 71888.......

forward-digits all

no sip-register

!

dial-peer voice 77 pots

trunkgroup HOME

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 71877.......

forward-digits all

no sip-register

!

dial-peer voice 78 pots

trunkgroup HOME

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 71866.......

forward-digits all

no sip-register

!

dial-peer voice 79 pots

trunkgroup HOME

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 71855.......

forward-digits all

no sip-register

!

dial-peer voice 80 pots

trunkgroup HOME

corlist outgoing call-local

description **CCA*North American-7-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE_1

preference 5

destination-pattern 7.......

forward-digits all

no sip-register

!

dial-peer voice 81 voip

description XFER to voicemail remove 8

translation-profile outgoing vmail_remove_8

preference 5

destination-pattern 82

b2bua

session protocol sipv2

session target ipv4:10.1.10.1

voice-class sip outbound-proxy ipv4:10.1.10.1

dtmf-relay rtp-nte sip-notify

codec g711ulaw

no vad

!

dial-peer voice 82 voip

description XFER to voicemail remove 7

translation-profile outgoing vmail_remove_7

preference 5

destination-pattern 7200

b2bua

session protocol sipv2

session target ipv4:10.1.10.1

voice-class sip outbound-proxy ipv4:10.1.10.1

dtmf-relay rtp-nte sip-notify

codec g711ulaw

no vad

!

dial-peer voice 83 pots

trunkgroup OFFICE

corlist outgoing call-local

description **North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

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

forward-digits all

no sip-register

Debug: I've colored what I think is relavant.

000268: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccCallSetupRequest:

   Destination=, Calling IE Present=TRUE, Mode=0,

   Outgoing Dial-peer=69, Params=0x8AF3AC94, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)

000269: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/cc_fill_tg_params:

   Not a cic call

000270: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccCallSetupRequest:

   Trunk Group Select Interface Success;

   Interface=0x888502A0, Selected Interface=1, Selected DSL=-1

000271: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccCheckClipClir:

   In: Calling Number=109(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)

000272: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccCheckClipClir:

   Out: Calling Number=109(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)

000273: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccCallSetupRequest:

   Destination Pattern=8......., Called Number=1214755, Digit Strip=TRUE

000274: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccCallSetupRequest:

   Calling Number=109(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=1214755(TON=Unknown, NPI=Unknown),

   Redirect Number=, Display Info=XXX.544.XXXX

   Account Number=, Final Destination Flag=FALSE,

   Guid=CD659E3A-3CC2-11E3-A6D0-BE007B642051, Outgoing Dial-peer=69

000275: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/cc_api_display_ie_subfields:

   ccCallSetupRequest:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=109

   cisco-anitype=0

   cisco-aniplan=0

   cisco-anipi=0

   cisco-anisi=0

   dest=1214755

   cisco-desttype=0

   cisco-destplan=0

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-rdntype=0

   cisco-rdnplan=0

   cisco-rdnpi=0

   cisco-rdnsi=0

   cisco-redirectreason=0   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

000276: Oct 25 09:41:53.163: //9559/CD659E3AA6D0/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x888502A0, Interface Type=6, Destination=, Mode=0x0,

   Call Params(Calling Number=109,(Calling Name=XXX.544.XXXX)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=1214755(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE, Outgoing Dial-peer=69, Call Count On=FALSE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=OFFICE, tg_label_flag=2, Application Call Id=)

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

Dial peer issue? Preference?

This is behaving as expected. You have overlapping dialplans and dial-peer 69 will always be used before dial-peer 83

dial-peer voice 69 pots

trunkgroup OFFICE

corlist outgoing call-local

description **CCA*North American-7-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8.......

forward-digits all

no sip-register

dial-peer voice 83 pots

trunkgroup OFFICE

corlist outgoing call-local

description **North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

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

forward-digits all

no sip-register

You will need to define more specific patterns for dial-peer 69....

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared".

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
6 REPLIES
VIP Super Bronze

Dial peer issue? Preference?

This is behaving as expected. You have overlapping dialplans and dial-peer 69 will always be used before dial-peer 83

dial-peer voice 69 pots

trunkgroup OFFICE

corlist outgoing call-local

description **CCA*North American-7-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8.......

forward-digits all

no sip-register

dial-peer voice 83 pots

trunkgroup OFFICE

corlist outgoing call-local

description **North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

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

forward-digits all

no sip-register

You will need to define more specific patterns for dial-peer 69....

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared".

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Dial peer issue? Preference?

Ah. Okay, that was the point I was missing. The dial peers are process in order of dial-peer number. If I were to swap the config between 69 and 83, then it would see the more specific pattern first, but if the user wanted to dial a simple 7 digit number, it would look for the next suitable match?

VIP Super Bronze

Dial peer issue? Preference?

Even if you swap the config the 8..... pattern will still be matched. You need to understand how dial-peers are matched on cisco IOS. Please read the document below

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml.

It is not a good practice to have overlapping patterns. You should configure your 8...... pattern as 84...or something more specific

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Dial peer issue? Preference?

I really appreciate the support and thanks for the link! I As I understand it, the dial peer will be matched on a digit by digit basis and not based on the order of the dial-peers, correct?. Dial-peer 69 is too general and is catching all calls as it is matched every time. It seems that I could remove it completely since dial-peer 60 is

8[2-9]..[2-9]......

and will allow a call to be placed using the full number. But would removing dial-peer 69 still allow a call to be placed that was simply dialed as 8 555-1212? Would the system wait to see additional digits? I assume we could also remove dial-peer 83 as it is the same at 60.

VIP Super Bronze

Dial peer issue? Preference?

Yes you can remove dial-peer 69 and Yes when you dial 85551212, the gateway will wait for inter digit timeout because you have 11 possible digits to be matched on the dial-peer 83 that is matched.

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"

Dial peer issue? Preference?

small correction:

dial peer 83, 8[2-9]..[2-9]...... will NOT match  85551212  8[2-9]..[1-9]...... will

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

=============================

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

353
Views
8
Helpful
6
Replies
CreatePlease login to create content