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. And see here for current known issues.

New Member

CLI based call routing with CRS

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.


New Member

Re: CLI based call routing with CRS

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.



New Member

Re: CLI based call routing with CRS

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.,

New Member

Re: CLI based call routing with CRS

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.

CreatePlease login to create content