cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
799
Views
15
Helpful
8
Replies

Dial-Peer Configuration

Robert Craig
Level 3
Level 3

I recently added a dial-peer that would allow my CME users to dial local calls, instead of dialing the area code first. I wanted them to be able to just dial 7 digit calls. Well, now that I've added that dial-peer, any calls that consist of more than 7 digits (ie; a long distance or 1-800 call) automatically get picked up by the 7 digit dial-peer. Therefore, the rest of the 10 or 11 digit number never gets completed. Is there a better way or different way of doing this? Any help is appreciated. Below is a copy of my dial-peers.

dial-peer voice 10 voip

description *** 10 Digit Calls ***

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

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 100 voip

description *** Incoming Dial-Peer ***

session protocol sipv2

session target sip-server

incoming called-number .

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 11 voip

description *** 11 Digit Calls ***

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

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 911 voip

destination-pattern 911

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 5 voip

destination-pattern 1000

session target ipv4:192.168.1.252

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

!

dial-peer voice 30 voip

description 7 digit calls for local area 520 calling

destination-pattern .......

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

codec g711ulaw

no vad

1 Accepted Solution

Accepted Solutions

Yes, only complete overlaps do cause problems.

Thanks for the nice rating and good luck!

View solution in original post

8 Replies 8

paolo bevilacqua
Hall of Fame
Hall of Fame

You cannot have both 7 and 10 digits DPs, because these perfectly overlap.

And relying on  timeout after 7th digit, as tie breaker is not a good idea.

This being said, destination-pattern for 7 digits should be [2-9]......

So should I remove the 10 digit DP and stick with a 7 digit and a 11 digit? At the same time, adjust the 7 digit to only include 2-9 for the first number?

Correct. And hopefully your extensions all start with 0 or 1.

Ooops, actually my extensions are 5xxx. How do I encompass that into the destination pattern?

What happens is that you will be unable to dial 7 digits local numbers that begin same as an extenstion. But you can call them 1+10 likely.

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

OK, so I made the changes you suggested earlier and I removed the 10 digit DP. Now, one of my extensions is 5002. I just dialed it and it worked great. I also dialed a local number that began with 5 and it went through. My understanding is that if the number doesn't match an internal dial peer (ie; an extension in the system) it will go through the next logical dial peer that encompasses the amount of digits dialed?

Yes, only complete overlaps do cause problems.

Thanks for the nice rating and good luck!

Thank you!