ā05-09-2017 09:21 PM - edited ā03-17-2019 10:17 AM
Hi all,
how to make translation profile for 1 calling number and 1 called number?
or is it possible to make 2 pots dial-peers having 1 voice port?
I want to try to make 1 pots dial-peer like .T and second as destination number pattern 2111 which must be converted to 2110 only for 1 calling number
with regards,
Solved! Go to Solution.
ā05-09-2017 09:44 PM
Yes you can have multiple dialpeers with same voice-port.
ā05-09-2017 10:40 PM
Easiest to do this on CUCM, But if you want to use CUBE then
voice translation-rule 1
rule 1 /2111/ /2110/
voice translation-profile 2
translate called 1
dial-peer voice 3200 voip
answer-address 3200
translation-profile incoming 2
dtmf-relay sip-notify rtp-nte
session protocol sipv2
codec xxx
!
dial-peer voice 2 pots
destination-pattern .T
port 1/1/0
ā05-09-2017 09:44 PM
Yes you can have multiple dialpeers with same voice-port.
ā05-09-2017 10:07 PM
thanks Mohammed.
I will try
voice translation-rule 1
rule 1 /2111/ /2110/
!
voice translation-rule 2
rule 1 /3200/ /3200/
rule 2 // reject
!
voice translation-profile 2
translate calling 1
translate called 2
dial-peer voice 1 pots
destination-pattern 2111
translation-profile outgoing 2
port 1/1/0
dial-peer voice 2 pots
destination-pattern .T
port 1/1/0
so I hope this configuration will translate called number 2111 to 2110 only for calling number 3200
and all athers will go to pots 2 without translation.
is it true?
ā05-09-2017 10:26 PM
Not really. Is this a CME or GW to CUCM? If CUCM what protocol is used.
ā05-09-2017 10:33 PM
sip phone 3200 from CUCM - > sip to -> CUBE - > E1 voice port - > alcatel - analog phones 2111 and 2110
ā05-09-2017 10:40 PM
Easiest to do this on CUCM, But if you want to use CUBE then
voice translation-rule 1
rule 1 /2111/ /2110/
voice translation-profile 2
translate called 1
dial-peer voice 3200 voip
answer-address 3200
translation-profile incoming 2
dtmf-relay sip-notify rtp-nte
session protocol sipv2
codec xxx
!
dial-peer voice 2 pots
destination-pattern .T
port 1/1/0
ā05-09-2017 10:45 PM
thanks Mohammed.
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