Hi We are facing an issue to map DID numbers to Extensions, This is my current scenario We have two sets of DID numbers 1-starts from 042900700 to 042900799 2-starts from 042900600 to 042900699 We are using the first set of DID numbers , our internal extensions starts from 700 to 799, if any one calls 042900700 it rings in extension number 700 apart from this any did numbers are called none of them are mapped to there extensions, any DID number from this pool we call it directly rings on the main reception. The default translation profile which created is as follows.
voice translation-rule 24
rule 1 /042900700/ /700/
voice translation-rule 26
rule 1 /2900777/ /777/
voice translation-rule 1111
rule 15 /.*/ /2900700/
voice translation-rule 1112
rule 1 /^9/ //
voice translation-rule 2222
rule 1 /^90000\(.*\)/ //
voice translation-profile CALLER_ID_TRANSLATION_PROFILE
translate calling 1111
voice translation-profile CallBlocking
translate called 2222
voice translation-profile Cris_Called_26
translate called 26
voice translation-profile OUTGOING_TRANSLATION_PROFILE
translate calling 1111
translate called 1112
voice translation-profile incoming-OP_Called_24
translate called 24
Hang in there buddy we will sort this out :)
This here tells me what i need to know:
Called Party Number i = 0xC1, '2900777'
So we know that the carrier presents your DID like that, so please try the following.
First try the DID method attached to a DN:
ephone-dn 1 octo-line
number 700 secondary 2900700 no-reg both
label John 700
description John Doe
name John Doe
call-forward busy 800
call-forward night-service 800
call-forward noan 800 timeout 25
hold-alert 30 originator
Note you can use the dual-line command you don't have to use the octo-line method, but to be able to change a DN's line configuration you must first remove the DN's and then re-instate it.
Lets see how the above works for you, but please remove any translation rules in place to avoid conflicts, you can always reinstate them if need be, but for the purpose of testing, it is best you remove them from the equation.
As a matter of interest can you please post your Dial-Peer config as well, i want to make sure you have them setup properly for DID as well.
(PS) I would ask you to send me your config and i would sort it out for you, but doing it that way wont help you to learn and work through these problems, so this is a good exercise :)