04-28-2010 04:16 AM - edited 03-15-2019 10:31 PM
I have a scnario like
thank you for calling XYZ Company if you know the extension please dial it now or press 0 for assitance.
I have created a script in Cisco Unfied CCX 7.1 Editor and i am able to send the calls to Users Ext's but i am not able to transfer the calls to operator when i pressed 0.
I have attached the script where i am able to transfer the calls to Users ext successfully but i also want to transfer calls to operator when any body from outside press 0.
Please review my attached script and let me know how i can do it to complete the rest.
Waiting for reply
thanks and best regards
04-28-2010 04:42 AM
Hi Jamil
I believe your logic in the script is flawed, you have a get digit string, however if you hit 0, this 0 is returned to Call Manager, which effectively means nothing unless you have a translation pattern.
However this is not a solution I recommend, instead you should be using a menu step giving the caller the option to hit 0 to go to an operator, or dial a extension.
My other question here would be, why not send it to a Unity Call handler? it does the same job unless you plan on expanding this script to have CSQ.
04-28-2010 05:36 AM
Hi Hoai
I already created the translation pattern in CUCM but this is not the problem i am missing some configuration in the scripting for "0"Dialing.
that i need to find out.
Any body who has a good concept in scripting can solve this problem.
04-28-2010 09:53 AM
Use a simple If statement within the Success branch of your Get Digit String.
IF userInputVariable.equals("0")
--TRUE
----SET userInputVariable =
--FALSE
----Annotation "False; debug placeholder"
If you have more than one of these vanity-type patterns, you can use a Match step instead to account for each scenario. The idea is just translate the user's input in to something UCM actually understands. Don't mess around with your dial plan for something like this.
After that the Call Redirect or Call Consult Transfer will redirect the call as it does now.
05-04-2010 12:39 PM
Hi jonathan
Thanks for your reply
i had tried to complete the script but no success.i have attached the script,
can you please help me to make that changes in the script because i am trying hard and not able to finish it please do the needfull
i shall be verythankfull to you.
please complete the script and attached it back so i can use it if its possible.
11-26-2010 07:34 AM
11-27-2010 06:32 AM
Oops. Sorry guys; I lost this thread and failed to respond.
Jamil- I have attached an image of what your script should look like. Your problem was that the steps were out of order.
tavery2000- You are using a Menu step so this is not the same answer. On the menu step properties you will see a Filter tab. You can add another condition that way. Jamil needed to use an If step because he was accepting multi-digit inputs.
Your script has a few other problems. I have attached a modified version for consideration. I suggest you take some time to review Cisco Contact Center Express Script Repository for other examples or attend the UCCXD class from a Cisco Learning Partner.
11-27-2010 07:09 AM
Hey, thanks for your help on this one. I figured out the menu option for operator and made your other recommended changes. All is well.
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: