12-18-2008 09:01 AM - edited 03-15-2019 03:09 PM
Hi all,
I'm facing an issue at a customer site and dunno how to solve it.
Maybe someone could help.
My customer is running UC520 with 1 E1 card and 1 BRI with. Each card for 2 differents customers.
So my E1 for Cust1 and the BRI for Cust2.
My issue is related to incoming call. Both customer would like to translate extension '1' to an ephone-dn.
But how can I do to say "Ok, when someone will call the PRI with extension 1, it will be directed to XXX, but when someone will call the BRI with extension 1, it will be directed to YYY.
Here is my config, but it doesn't work at all.
voice translation-rule 10
rule 1 /^1$/ /311/
voice translation-rule 15
rule 1 /^1$/ /211/
voice translation-profile Cust1
translate called 10
voice translation-profile Cust2
translate called 15
voice-port 0/2/0:15
cptone LU
compand-type a-law
timeouts interdigit 2
bearer-cap Speech
!
voice-port 0/1/0
cptone LU
compand-type a-law
timeouts interdigit 2
bearer-cap Speech
dial-peer voice 200 pots
corlist outgoing callBT
description ** E1 Outgoing/Incoming CUST1 **
translation-profile incoming Cust1
destination-pattern 0T
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
incoming called-number .T
direct-inward-dial
port 0/2/0:15
!
!
dial-peer voice 100 pots
corlist outgoing callRadianz
description ** BRI Outgoing/Incoming CUST2 **
translation-profile incoming Cust2
destination-pattern 0.T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
incoming called-number .T
direct-inward-dial
port 0/1/0
Some help would be greatly appreciated :)
Fabian
12-18-2008 09:50 AM
How many digits does your Telco send? From the translation pattern it looks for only a complete match on teh digit 1. It may be better to change it to rule to /^1../ /211/ if they send you 3 digits
12-18-2008 09:59 AM
hi,
My telco send the necessary digit. It's not the issue. The pb is that sometime it translate 1 to 211, and sometime to 311...
Fabian
12-18-2008 10:21 AM
Fabian,
Try the following.
1. Remove the translation profile from dial peers 100 and 200.
2. Modify the "incoming called-number" command on these dial peers to be "incoming called-number ."
3. Apply the translation profiles to the voice ports:
voice-port 0/2/0:15
translation-profile incoming Cust1
voice-port 0/1/0
translation-profile incoming Cust2
Hope this helps.
Brandon
12-18-2008 01:22 PM
Hi Brandon,
Thx for your answer. I'll try it tomorrow.
I keep u informed.
Fabian
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: