cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
3
Helpful
5
Replies

Forward a call to different AA depending on its procedence

Isaac Romero
Level 1
Level 1

Hi,

we have a CCME+CUE with a PRI connected. We need that when an ingoing DID is called, depending on the procedence of the call (Spain, France or Other) it has to be forwarded to three different AutoAttendant scripts already defined on the CUE.

Is that possible?

How does the gateway 2851 need to be configured to distinguish the origin of the call and forward it to an specific AA script?

Thanks.

Regards,

Isaac.

5 Replies 5

Marwan ALshawi
VIP Alumni
VIP Alumni

follow th following example

lets say sain number start with 00123

and france 00456

and they call ur AA number which is for example 555

spain will go to number 333

france forwarded to number 444

do the following:

voice translation rule 1

rule 1 /555/ /333/

voice translation rule 2

rule 1 /555/ /444/

voice translation-profile spain

translate called 1

voice translation-profile france

translate called 2

now make the following dial-peers

first one will match the calles coming from span with the command answer-address

dial-peer voice 9 pots

answer-address 00123[put ur digits]

translation-profile incoming spain

port [ur port number

direct inward dial

dial-peer voice 91 pots

answer-address 00456[put ur digits]

translation-profile incoming france

port [ur port number

direct inward dial

now the call from spain will com then after will match the pots u have created based on the source calling number

once it matched then the translation profile will be applied

so based on the above example once the call from spain will be matched the called number will be translated to 333

this is operational i have tried it

if u have any more questions just post it here

and using the same idea u can add matching to forward based on the calling number[source caller] as much as u want

good luck

please, if helpful rate

Hi Marwan,

thanks for your quick answer.

Is there any way to configure a default translation rule for all the calls coming from other countries?

Will it work doing the following?

voice translation rule 3

rule 1 /555/ /222/

voice translation-profile others

translate called 3

dial-peer voice 92 pots

answer-address 00T

translation-profile incoming others

port number

direct inward dial

Thanks.

Regards,

Isaac.

ofcourse it works

u can for incomeing called numbers mathced with the command

incoming called number [number here] or dot mean every number

but with above conifg this will match before the answer address so dont use it in ur case

u can use for all other countries like

u said 00T

or .T

so based on my example the config could looks like

voice translation rule 1

rule 1 /555/ /333/

voice translation rule 2

rule 1 /555/ /444/

voice translation rule 3

rule 1 /555/ /222/

voice translation-profile spain

translate called 1

voice translation-profile france

translate called 2

voice translation-profile others

translate called 3

dial-peer voice 9 pots

translation-profile incoming spain

answer-address 00123........

destination-pattern .T

direct-inward-dial

port 0/0/1:23

forward-digits all

dial-peer voice 91 pots

translation-profile incoming france

answer-address 00456........

direct-inward-dial

port 0/0/1:23

dial-peer voice 92 pots

translation-profile incoming others

answer-address .T

direct-inward-dial

port 0/0/1:23

if u use CME becare fule if u have configured dial-paln from any overlaping

good luck

please, if helpful Rate

did u try it ?

Not yet, we have to agree a migration date with the customer.

I will let you know the results when we can try it.

Thanks!

Getting Started

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: