What we would like is the following, but cannot get it to work: internal calls > 3 digits (in the 1.. range) The strange thing is we do not have to dial a 0 or 9 to dial external. But we do have to enter the area code. Also for local calls. I think we need the 0 or 9 in the system in order to tell the system that the call is external. What happens now is the moment i start a call and start dialing beginning with a 2 or 3 for example, to make a external local call, the system tells me the number does not exist. This is why i think i need the 0 or 9 for the outside line. I have read on the forum that even with what i want, this 0 or 9 for an outside line is not necessary. But i do not know what to do. Anybody knows? A dial plan for The Netherlands would be great! dialing patterns are now as follows: local: 0T |
|||

interdigit timeout
With the type of destination pattern (....T) you're using you still have to wait a few seconds (inter digit timeout) before the call is being setup. It's better to use destination patterns which will match better.
You can try it by using your current destination pattern (......T) for a local call and see how long it takes before the call is setup after the last digit is dialed. Then change the destination pattern of the local dialpeer (52 or 57) to [238]..... and see how long it takes to setup the call.
http://en.wikipedia.org/wiki/
http://en.wikipedia.org/wiki/Telephone_numbers_in_the_Netherlands
You will need to tweak your dial-peers. Please post your config.
dialplan
All your outgoing calls will match local 0T. Only for Rotterdam (010 area) it will match domestic. International calls from Holland will start with 00 so it will match 0T too.
Let me guess. If you make and outside call you have to wait a while after the last dialed digit before the connection is made?
For local calls make a destination pattern with [2-8]XXXXX
You can check the full dialplan for the Netherlands to make your own destination patterns. See link: http://www.ez.nl/dsresource?objectid=156991&type=PDF.
It's better to use an 0 for an external line, but if your only using the 1xx range for internal calls then you could do without the 0.
Good luck.
but were do i set the need
but were do i set the need for a "0"? I do not know how to switch this on.
You are saying that for all possible external series of digits i have to create a destination pattern? This would mean a very long list. Since i am using separate patterns for both my BRI ports. Possible strings could start with 2...., 3...., 8....
And then, what should the config for domestic and international should look like?
Below is part of my config:
dial-peer voice 52 pots
corlist outgoing call-local-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 0T
port 0/1/0
forward-digits 10
no sip-register
!
dial-peer voice 53 pots
corlist outgoing call-domestic-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 010T
port 0/1/0
prefix 10
no sip-register
!
dial-peer voice 54 pots
corlist outgoing call-international-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 011T
port 0/1/0
prefix 11
no sip-register
!
dial-peer voice 55 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 0112
port 0/1/0
forward-digits 3
no sip-register
!
dial-peer voice 56 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 112
port 0/1/0
forward-digits 3
no sip-register
!
dial-peer voice 57 pots
corlist outgoing call-local-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 0T
port 0/1/1
forward-digits 10
no sip-register
!
dial-peer voice 58 pots
corlist outgoing call-domestic-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 010T
port 0/1/1
prefix 10
no sip-register
!
dial-peer voice 59 pots
corlist outgoing call-international-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 011T
port 0/1/1
prefix 11
no sip-register
!
dial-peer voice 60 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 0112
port 0/1/1
forward-digits 3
no sip-register
!
dial-peer voice 61 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 112
port 0/1/1
forward-digits 3
no sip-register
here's my new config. i have
here's my new config. i have created new patterns for local numbers, they start with 2 or 3 or 8. and this works.
domestic does not work. it gives a busy signal when i start dialing 9 and then press 0.
dial-peer voice 52 pots
corlist outgoing call-local-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 92T
port 0/1/0
forward-digits 6
no sip-register
!
dial-peer voice 53 pots
corlist outgoing call-domestic-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 90T
port 0/1/0
forward-digits 10
prefix 0
no sip-register
!
dial-peer voice 54 pots
corlist outgoing call-international-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 900T
port 0/1/0
prefix 00
no sip-register
!
dial-peer voice 55 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 9112
port 0/1/0
forward-digits 3
no sip-register
!
dial-peer voice 56 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 112
port 0/1/0
forward-digits 3
no sip-register
!
dial-peer voice 57 pots
corlist outgoing call-local-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 92T
port 0/1/1
forward-digits 6
no sip-register
!
dial-peer voice 58 pots
corlist outgoing call-domestic-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 90T
port 0/1/1
forward-digits 10
prefix 0
no sip-register
!
dial-peer voice 59 pots
corlist outgoing call-international-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 900T
port 0/1/1
prefix 00
no sip-register
!
dial-peer voice 60 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 9112
port 0/1/1
forward-digits 3
no sip-register
!
dial-peer voice 61 pots
corlist outgoing call-local-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 93T
port 0/1/0
forward-digits 6
no sip-register
!
dial-peer voice 62 pots
corlist outgoing call-local-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 98T
port 0/1/0
forward-digits 6
no sip-register
!
dial-peer voice 63 pots
corlist outgoing call-local-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 93T
port 0/1/1
forward-digits 6
no sip-register
!
dial-peer voice 64 pots
corlist outgoing call-local-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 98T
port 0/1/1
forward-digits 6
no sip-register
Anybody any idea why the domestic and international dial-peers are not mathing?
Using 0 for external calls
If you want to use a 0 for external calls you have to make dial-peers starting with a 0.
So for local calls (6 digits) you can use the following destination pattern:
0[238]XXXXX
For mobile calls (10) digits you can use the following destination pattern:
006[1-58]XXXXXXX
Forward digits 10
Dial-peer matching for international calls could be a problem with you corlists. You can try it by removing the incoming corlist on the ephone-dn you are using to test with.
To make sure you're using the right BRI to dial out you have to add the incoming corlist after testing.
thanks for your reply
thanks for your reply bboterletter.
i do not need the 0 anymore. can do without it. all local are in the 1.. range. therefore all the other starting digits are for the external calls.
thanks for your last hint with regard to the "incoming corlist" on the ephones. I changed this to the international peer. In this way it includes all the shorter ones. And its works. And my caller id of the separate BRI's also still works.
I have also added a separate dial-peer for the 0900 and 0800 numbers. Since they are 11 digits here in the Netherlands it requires a separate peer.
For anybody who needs it, here's the working config:
dial-peer cor custom
name internal
name domestic-BRI1
name international-BRI1
name BRI1
name BRI2
name domestic-BRI2
name international-BRI2
name 0900-BRI1
name 0900-BRI2
!
!
dial-peer cor list call-internal
member internal
!
dial-peer cor list user-internal
member internal
!
dial-peer cor list call-local-BRI1
member BRI1
!
dial-peer cor list call-local-BRI2
member BRI2
!
dial-peer cor list user-BRI1
member BRI1
!
dial-peer cor list user-BRI2
member BRI2
!
dial-peer cor list call-domestic-BRI1
member domestic-BRI1
!
dial-peer cor list call-domestic-BRI2
member domestic-BRI2
!
dial-peer cor list user-domestic-BRI1
member internal
member domestic-BRI1
member BRI1
!
dial-peer cor list user-domestic-BRI2
member internal
member BRI2
member domestic-BRI2
!
dial-peer cor list call-international-BRI1
member international-BRI1
!
dial-peer cor list call-international-BRI2
member international-BRI2
!
dial-peer cor list user-international-BRI1
member internal
member domestic-BRI1
member international-BRI1
member BRI1
member 0900-BRI1
!
dial-peer cor list user-international-BRI2
member internal
member BRI2
member domestic-BRI2
member international-BRI2
member 0900-BRI2
!
dial-peer cor list call-0900-BRI1
member 0900-BRI1
!
dial-peer cor list call-0900-BRI2
member 0900-BRI2
!
dial-peer cor list user-0900-BRI1
member internal
member domestic-BRI1
member BRI1
member 0900-BRI1
!
dial-peer cor list user-0900-BRI2
member internal
member BRI2
member domestic-BRI2
member 0900-BRI2
!
------------------
dial-peer voice 52 pots
corlist outgoing call-local-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern ......T
port 0/1/0
forward-digits 10
no sip-register
!
dial-peer voice 53 pots
corlist outgoing call-domestic-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern ..........T
port 0/1/0
no sip-register
!
dial-peer voice 54 pots
corlist outgoing call-international-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern .............T
port 0/1/0
no sip-register
!
dial-peer voice 55 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 0112
port 0/1/0
forward-digits 3
no sip-register
!
dial-peer voice 56 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 112
port 0/1/0
forward-digits 3
no sip-register
!
dial-peer voice 57 pots
corlist outgoing call-local-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern ......T
port 0/1/1
forward-digits 10
no sip-register
!
dial-peer voice 58 pots
corlist outgoing call-domestic-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern ..........T
port 0/1/1
no sip-register
!
dial-peer voice 59 pots
corlist outgoing call-international-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern .............T
port 0/1/1
no sip-register
!
dial-peer voice 60 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 0112
port 0/1/1
forward-digits 3
no sip-register
!
dial-peer voice 61 pots
description ** BRI pots dial-peer **-Emergency dial-peer
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern 112
port 0/1/1
forward-digits 3
no sip-register
!
dial-peer voice 62 pots
corlist outgoing call-0900-BRI1
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern ...........T
port 0/1/0
no sip-register
!
dial-peer voice 63 pots
corlist outgoing call-0900-BRI2
description ** BRI pots dial-peer **
translation-profile outgoing CALLER_ID_TRANSLATION_PROFILE
preference 5
destination-pattern ...........T
port 0/1/1
no sip-register