Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CUCE editor - AA Script call redirect by called number

Hi there!

I'm rather new here so my skills are basic:). I'm having a hard time with a script that will react on different called numbers. This SIP Trunk has 2 numbers (for example: 123456789(German number) and 987654321(Dutch number)), but when i call '987654321' he fails on this trigger (if (dialed number == NLNum)because he needs to play a dutch prompt and then redirect to nlgroup. When i call '123456789' the call needs to play de german prompt and need to be redirected to the german group.

What is wrong in my example? (if i use the voip debug you see called number = 123456789 (so the UC520 recognized the correct number).

Everyone's tags (1)

Hi,When using IF statements,


When using IF statements, labels are not needed against them all and if you want them to flow down in order don't populate the false section.


If you can I would recommend replacing IF cases with the switch tool, you can use the dialed/called number to make a connection to each language based upon matching the number. You can then set the prompts and group number for redirect. Makes it easy if need to add more later as well.


Note the picture is a little rough but hopefully you get the idea.


Please rate helpful posts