All outbound LD calls default to "local" dial-peer

Unanswered Question
Aug 16th, 2007
User Badges:

Hello experts,


This is a new small office VoIP setup utilizing a 2851 Integrated Services router. System is fully configured and working for the most part -- internal and local outbound calls work as well as incoming calls. I have 2 dial-peers for outbound calling that i'm concerned about, one for local, one for long-distance.


All outbound calls are matching the first dial-peer "9.......", even though users specifiy "91..........". I'm not sure why. I have COR's setup, but have double-checked to make sure they're acurate.


Any help would be greately appreciated.



COR's and dial-peer config:

!

!

dial-peer cor custom

name internal

name local

name domestic

name international


!

dial-peer cor list call-internal

member internal

!

dial-peer cor list call-local

member local

!

dial-peer cor list call-domestic

member domestic

!

dial-peer cor list call-international

member international

!

dial-peer cor list user-internal

member internal

!

dial-peer cor list user-local

member internal

member local

!

dial-peer cor list user-domestic

member internal

member local

member domestic

!

dial-peer cor list user-international

member internal

member local

member domestic

member international

!

dial-peer voice 1 pots

description ** T1 PRI pots dial-peer **

destination-pattern 911

port 0/1/0:23

forward-digits all

!

dial-peer voice 2 pots

description ** T1 PRI pots dial-peer **

destination-pattern 9911

port 0/1/0:23

forward-digits 3

!

dial-peer voice 3 pots

description ** T1 PRI pots dial-peer **

destination-pattern 9.......

port 0/1/0:23

forward-digits 7

!

dial-peer voice 4 pots

description ** T1 PRI pots dial-peer **

destination-pattern 91..........

port 0/1/0:23

forward-digits 10

prefix 1

!

dial-peer voice 5 pots

corlist outgoing call-international

description ** T1 PRI pots dial-peer **

destination-pattern 9011T

port 0/1/0:23

forward-digits all

!

dial-peer voice 8 pots

description ** T1 PRI pots dial-peer **

incoming called-number .

direct-inward-dial

port 0/1/0:23

!

dial-peer voice 40 voip

description ** cue voicemail pilot number **

translation-profile outgoing PSTN_CallForwarding

destination-pattern 4240

session protocol sipv2

session target ipv4:10.1.10.1

dtmf-relay sip-notify

codec g711ulaw

no vad

!

dial-peer voice 41 voip

description ** cue auto attendant number **

translation-profile outgoing PSTN_CallForwarding

destination-pattern 4250

session protocol sipv2

session target ipv4:10.1.10.1

dtmf-relay sip-notify

codec g711ulaw

no vad

!




Additionally, running a "show dialplan number" on a long-distance number shows a match with dial-peer 3 (local). I can't figure out why???


Any help would be greatly appreciated.


Thanks,

Jad

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
paolo bevilacqua Thu, 08/16/2007 - 10:47
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Hi, try:

dial-peer voice 3 pots

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


Hope this helps, please rate post if it does!

jelzein Thu, 08/16/2007 - 10:53
User Badges:

that didn't change much. I'll start dialing a 10-digit long distance number, but the phone stops at 7-digits and starts calling out.


example:


I dial a local number 123-4567 - matches dial-peer 3 and goes through fine.


I dial a long distance number 1-123-456-7890 - it stops at 1123456.

paolo bevilacqua Thu, 08/16/2007 - 11:09
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Hi, the example you made should never match DP 3.


Please post output of "show dialplan number 915551234567".

paolo bevilacqua Thu, 08/16/2007 - 11:34
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Hi, the output indicates that now you have corlist call-domestic for DP 4, please check that the incoming DP or ephone-dn has also corresponding corlist privileges.

jelzein Thu, 08/16/2007 - 11:41
User Badges:

yes, both the incoming DP and the ephone-dn are configured with that corlist...


!

dial-peer voice 3 pots

corlist outgoing call-local

description ** T1 PRI pots dial-peer **

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

port 0/1/0:23

forward-digits 7

!

dial-peer voice 4 pots

corlist outgoing call-domestic

description ** T1 PRI pots dial-peer **

huntstop

destination-pattern 91..........

no digit-strip

port 0/1/0:23

forward-digits 10

prefix 1


ephone-dn 85 dual-line

number 4285

label 4285

description Test Phone

name Visitor 4285

call-forward busy 4240

call-forward noan 4240 timeout 15

corlist incoming user-domestic

hold-alert 30 originator


corlist "user-domestic" and "call-domestic" are members of the same group...


dial-peer cor custom

name internal

name local

name domestic

name international

!

!

dial-peer cor list call-internal

member internal

!

dial-peer cor list call-local

member local

!

dial-peer cor list call-domestic

member domestic

!

dial-peer cor list call-international

member international

!

dial-peer cor list user-internal

member internal

!

dial-peer cor list user-local

member internal

member local

!

dial-peer cor list user-domestic

member internal

member local

member domestic

!

dial-peer cor list user-international

member internal

member local

member domestic

member international

jelzein Thu, 08/16/2007 - 11:51
User Badges:

I found the issue - the FXO dial-peers were taking presedence. I removed them for now and all is working well.


Thanks for you help!!

mfcornett Wed, 04/30/2008 - 17:55
User Badges:

FYI- Might help someone else....


I ran into the same problem during a recent install of CME4.2. Cisco TAC came up with the following solution:


The reason for the problem is due to the way CME accepts dialed digits. As it accepts digits one by one rather than all at once it will match the 7 digit dial-peer first when you want it to match the 10 digit dial-peer.

This can be overcome by adding a T to the end of the 7 digit dial-peer. This makes the dial-peer wait the length of the inter-digit timeout for more digits to come in. If the inter-digit timeout expires then the 7 digit dial-peer is chosen. If more digits are entered then the next best dial-peer will be chosen (the 10 digit dial-peer assuming 10 digits are entered).

Below is a sample configuration

dial-peer voice XX pots

description LOCAL

destination-pattern 91.......T

port x/x/x


dial-peer voice XX pots

description LONG DISTANCE

destination-pattern 91..........

port x/x/x


Actions

This Discussion