06-23-2011 10:05 AM - edited 03-16-2019 05:36 AM
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
Solved! Go to Solution.
06-23-2011 12:24 PM
Yes, only complete overlaps do cause problems.
Thanks for the nice rating and good luck!
06-23-2011 10:10 AM
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]......
06-23-2011 10:12 AM
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?
06-23-2011 10:26 AM
Correct. And hopefully your extensions all start with 0 or 1.
06-23-2011 11:27 AM
Ooops, actually my extensions are 5xxx. How do I encompass that into the destination pattern?
06-23-2011 11:55 AM
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.
06-23-2011 12:06 PM
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?
06-23-2011 12:24 PM
Yes, only complete overlaps do cause problems.
Thanks for the nice rating and good luck!
06-23-2011 12:48 PM
Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide