Dear all,
Ip Phone extension use 4 digit (e.g. 8110). The CO provide 3 digit (i.e. 110) via the Direct Inward Dial Line.
What command should I configure on dial-peer and voice-port? And how to convert 3 digit from CO to 4 digit extension?
Thanks.
Under voice-port, configure signal and then the scheme used by telco.
Under dial-peer, configure direct-inward-dial, incoming called-number ... and the relevant port an a translation-profile
voice translation-profile adddigit
translate called 100
voice translation-rule 100
rule 1 // /8/
Is the translation-profile on dial-peer is incoming or outoging? Is below config ok?
voice translation-rule 100
rule 1 // /8/
voice translation-profile adddigit
translate called 100
voice-port 1/0/0
signal did immediate
dial-peer voice 100 pots
translatioin-profile incoming adddigit
incoming called-number ...
direct-inward-dial
port 1/0/0
Thanks.
Yes, it looks ok to me.
I was under the impression that the translation wasn't even needed, because the DN's are matched by last digits, but I couldn't verify that yet.
Also may be you need an extra dot in 'icoming called-number", as probably it is applied afted the translation-profile trasformation.
Hi,
Can you verify that the signal 'immediate' is correct? Looks to me the telco is not sending any digit, perhaps it is wink or other signaling needed.
Since telco provide 3 digit. I setup a phone with 3 digit (ext. 857). I remove the translation profile on the dial-peer. I also try to test with three different did signalling.
ephone-dn 100
number 857
ephone 10
mac-address 001A.6D88.8581
button 1:100
voice-port 0/1/0
signal did (immediate/wink-start/delay-dial)
dial-peer voice 100 pots
incoming called-number 857
direct-inward-dial
port 0/1/0
Below is the debug vpm all for three different signal type.
Sorry, I have a new finding. I found that there is no digit receive from the did line. When I create a translation rule to my extension 8110. it work. It seem that the telco do not forward any digit or my did port do not receive any digit.
voice translation-rule 101
rule 1 // /8110/
!
voice translation-profile adddigit
translate called 101
dial-peer voice 82 pots
translation-profile incoming adddigit
incoming called-number ...
direct-inward-dial
port 1/0/0
How can I make sure if my did port is ok and it is telco problem?
Thanks.
Yes, that is what I was to tell you. No digits are passed. I'm not sure how to troubleshoot this further, but just few days ago a guy on this forum reported a VIC-4FXS/DID to work 'like a champ'.
7801 is one of ip phone extension. when i dial 33337800, the call can made to 7801.. but from debug... i can get digit for 80 from telco after the translation to 7801..
voice translation-rule 101
rule 1 // /7801/
!
voice translation-profile adddigit
translate called 101
!
voice-port 0/1/0
signal did wink-start
timing wink-wait 5000
timing wait-wink 5000
timing wink-duration 3000
dial-peer voice 100 pots
translation-profile incoming adddigit
incoming called-number ....
direct-inward-dial
port 0/1/0
I think it is some parameter setting for voice-port?
Please help.
Many thanks.
Hi,
the rule you have now will add 7801 to any incoming number. I think you need did-digit-length and
rule 1 // /8/