CLI based call routing with CRS

Unanswered Question
Feb 27th, 2009
User Badges:

Can any of you give me a clue about CLI or ANI based call routing to an agent? Overseas calls should go to English CSQ and local calls should go to Other queue.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
daljeetsingh1_2 Mon, 12/21/2009 - 03:05
User Badges:

Hi, Just want to check, did you get this to work with CCX? i have a customer with same kind of requirement, so

want to understand if this worked for you, if yes, can you also point me.



pgamage Mon, 12/21/2009 - 05:23
User Badges:

What a wonderful suff , I did this about year ago, now i am off road and doing PHP scripting ! thank you and cisco forum email alert.

I think we did, at least at test level. my mobile ring different destination.  I will try to recall, do not blame if wrong...

Change the "CLI" at the gateway, using dial peer, some matching and alteration ?

or may be not  changing "CLI" , match CLI and change PLAR destination address which go to paticular "trigger" or some thing.

CRS scripting part is straightforward I think.

Share your experience with me. I have script backup etc.,

Soman Nair Mon, 12/21/2009 - 12:37
User Badges:

Similar solution provided for post :

Hi Daljeet,

The below mentioned can be considered as a sample script and you may have to customise it as per your requirement.


Variables to be declared


ANI=> type=string


Add below mentioned module to your script.


Play Prompt(--Triggering Contract--,WelcomePrompt)          /* { optional } */

ANI = (Get Call Contact Info (--Triggering Contact--, Calling Number)    

If (ANI.startswith("")) then            /* To check ANI for the string value with respective country code*/


Goto CSQ_A           /* CSQ_A for agents with language for Country A */


Goto CSQ_B           /* CSQ_B for agents with language for Country B */

Assign members to corresponding CSQ's.

Hope this clarifies your query.

Pls rate if your issue is resolved.


Soman Nair.


This Discussion