UCCX Scripting question

We have a requirement from our client running UCCX version 8.5 to
route calls within a certain time period to the same agent that dealt with the last call
from that specific calling number.  I recognise that this is probably a fairly complex scripting issue,
but it's very pressing nonetheless, and any helpful pointers I could get from an expert
would be most gratefully received.  We are working on a project which will depend on this
feature, and I don't know how to achieve it.  Thanks in advance

Here is everything you need to make this work.  You are very close to the solution.
Also, I will be typing this out as opposed to uploading a script for two reasons:
So that the contents of the script can be searched for
I am on UCCX 8.5 and I realize that if I upload a script, everyone not on UCCX 8.5 will not be able to open it
Script 1 - Trigger 1000
Variables
Session this_session = nullString session_data = ""
Script
StartAccept(--Triggering Contact--)/* The Get Contact Info step grabs a reference to the Session for the Triggering Contact */this_session = Get Contact Info (--Triggering Contact--, Session)Set session_data = "Yippee-ki-yay"/* In the Set Session Info step, you use the context tab to store the session data. *//* The name is a quoted string you make up. I.e., "the_session_data" or "my_secret" *//* For me, I will use the same name as my variable in order to keep it consistent: "session_data" */ /* The value is the variable in your script which holds the value you wish to store.  For me: session_data */Set Session Info (this_session)Call Redirect (--Triggering Contact--, "2000")     Successful     Busy     Invalid     UnsuccessfulEnd
Script 2 - Trigger 2000
Variables
Session this_session = nullString session_data = ""
Script
StartAccept(--Triggering Contact--)/* The Get Contact Info step grabs a reference to the Session for the Triggering Contact *//* In this example scenario, this will be the exact same session as in Script 1. *//* That is because the session is attached to the contact, and not to the script *//* If the caller had hung up, and called script 2 directly, then this would not be the same session *//* In that case, you would have had to create a session mapping in script 1, and then use the Get Session step *//* in this script to try and retrieve a reference to an existing session.  Session only last for 30 minutes by default. */this_session = Get Contact Info (--Triggering Contact--, Session)/* In the Get Sessoin Info step, you use the context tab to retrieve the session data *//* Just like the Set Session Info step, you need to specify the name, and which variable you will hold the value in *//* What is neat here is, the step knows about the names you've typed in previously, and makes them available from a drop down list. *//* However, if your's in not shown, don't panic, just type the name in again, just as you did with the Set Session Info step. */session_data = Get Session Info (this_session, "session_data")/* If the session_data variable (or any variables you use in the Get Session Info step) return null after the Get Session Info step, *//* That means that they were not set (not found) within the session object. */If (session_data != null && session_data.trim() != "")     True          /* We now hold a good value for session_data from the first script.  Yay!  We did it! */     False          /* Oops, something went wrong and now we're left standing in the rain all alone. */End
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.

Similar Messages

  • UCCX Scripting Question- combining multiple scripts into one -Transfers/subflows

    I need to separate an existing call center into two because their hours are different and the main lines have separate DIDs.
    The two separate call centers must have the same agents and same queues, including Agent Personal Queues as Menu options. Callers need to be able to choose to go to either the Main Queues, or listen to another menu that allows them to select and option to be sent to a personal queue
    I have three separate scripts, CCA, CCB, and Agent Personal Queue, same queues, same switch (calledNumber) with the same trigger(DNs) and I was about to create three separate applications, but then realized the triggers can only point to one application
    What is the best way to set this up?
    Option A
    Script A (CCA )- Has all the "Switch-(Called Number) with all the trigger
    Script B -Has no Switch, just Transfer to extension(and then the call goes out to the trigger)
    Script C - is the Personal Queue Script
    Option B
    Combine all three scripts into one-separate the TOD logic, have the same queues and menus beneath each call center and Personal Queue tree, is going to be a really large file

    Hello-
    I would likely use a single script for your application.  That being said looking at your screenshot it looks like your script could use some clean up and consolidation.
    DJ

  • UCCX Script Question

    Is is possible to change the calling name prior to transfering the call to an extension.  We are in the process of changing our script to send some calls to non agents and we could like for them to be able determine from the Calling Name what the call is for.
    Thanks,
    Joe

    Hi
    Not sure if you can do it via scripting (anyone?) but the other solution would be to set up a CTI Route Point with a recognizable name (e.g. 'Department 1'). Forward that to the hunt pilot, and then send your calls to the CTI RP.
    Call should then show up as 'Forward for Department 1'.
    Regards
    Aaron
    Please rate helpful posts...

  • UCCX Script Replacement with Queued Calls

    UCCX script question:
    If there are calls queued, and the script is replaced with an edited script, will the original script maintain the queued calls, or what happens with them?

    Existing calls are still following the script they arrived to, all new calls will follow the updated script.

  • UCCX script editor not working

    1-The loading bar down of the screen always loading and never finishes.Please  take a look to the attached picture.
    2-When i go to the uccx and want to change the server from hostname to ip address,i always get update failed.
    I am so new in uccx,help is appreciated.
    Thanks in advance.

    Hello,
    You have come to the right place to ask questions on UCCX.
    Please take some time to read through the product manuals, as they are full of good information and will answer most of your questions.
    UCCX Documentation Home Page
    http://www.cisco.com/en/US/customer/products/sw/custcosw/ps1846/tsd_products_support_series_home.html
    On to your two questions:
    1.  This is not a loading bar.  This bar is completely useless, and all it's telling you is how much memory the Editor has available to it in order to process things.  The button to the right is simply a "garbage collector" which will attempt to free up any abandoned memory, but mostly it just sits there looking pretty.  You really don't need to bother with either of these too status bar items, and can ignore them.
    Source: UCCX Scripting Volume 1 - Getting Started with Scripts
    2. It's been about two years since I've completed an install of UCCX, and therefore don't have this information fresh in my head.  I did spend  few minutes trying to find documentation on the topic, but to no avail.  I was only really able to read the Help page for that specific page (Help > For This Page), however, it didn't make a big deal about changing the value.  It simply says, change it and then click Save.
    Could you post the exact error message you are receiving?  Also, what is your intention with changing the hostname to IP?  Unlike CUCM where you may want to remove DNS dependency on the phones to communicate with the server, UCCX clients use the IP address regardless.  So perhaps it's not a necessary step?
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • UCCX script and abandoned calls

    Hi Guys
    I got question about that UCCX script and abandoned calls , so currently we had 4 different script for  support the call follow .
    So the Main script is just AA let the people select menu 1 , 2 ,3 then go to different queue , after select 1 (for example) then call-direct to second script trigger number and coming into the queue .
    Unfortunately , the system counter the action to be an Abandoned call      , I already open the case about this issue and the TAC did not found any configure issue on UCCX , from the log we can seem all the REDIRECT,lrd=5000 is abandoned call .
    23811205: Apr 28 13:01:44.257 GMT+800 %MIVR-SS_TEL-7-UNK:Call.received() JTAPICallContact[id=37148,implId=151183/1,state=STATE_RECEIVED_IDX,inbound=true,App name=APP0,task=null,session=null,seq num=-1,cn=5000,dn=5000,cgn=0405554590,ani=null,dnis=null,clid=null,atype=DIRECT,lrd=null,ocn=5000,route=RP[num=5000],TP=null
    23811420: Apr 28 13:02:00.491 GMT+800 %MIVR-SS_TEL-7-UNK:Call.transferring(5030) JTAPICallContact[id=37148,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=APP0,task=48000040709,session=36000027315,seq num=0,cn=5000,dn=5000,cgn=0405554590,ani=null,dnis=null,clid=null,atype=DIRECT,lrd=null,ocn=5000,route=RP[num=5000],TP=5007]
    23811424: Apr 28 13:02:00.491 GMT+800 %MIVR-SS_TEL-7-UNK:Call.abandoned() - transferring JTAPICallContact[id=37148,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=APP0,task=48000040709,session=36000027315,seq num=0,cn=5000,dn=5000,cgn=0405554590,ani=null,dnis=null,clid=null,atype=DIRECT,lrd=null,ocn=5000,route=RP[num=5000],TP=5007]
    23818414: Apr 28 13:09:46.095 GMT+800 %MIVR-SS_TEL-7-UNK:Call.transferring(239) JTAPICallContact[id=37149,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=app2_Admin,task=48000040710,session=null,seq num=-1,cn=5030,dn=5030,cgn=0405554590,ani=null,dnis=null,clid=null,atype=REDIRECT,lrd=5000,ocn=5000,route=RP[num=5030],TP=5034]
    23818421: Apr 28 13:09:46.095 GMT+800 %MIVR-SS_TEL-7-UNK:Call.abandoned() - transferring JTAPICallContact[id=37149,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=app2_Admin,task=48000040710,session=null,seq num=-1,cn=5030,dn=5030,cgn=0405554590,ani=null,dnis=null,clid=null,atype=REDIRECT,lrd=5000,ocn=5000,route=RP[num=5030],TP=5034]
    Please give some advice about that and I am look forward to heard from you guys soon .
    Thanks

    Hi Jon
    I was tested "Set Call Contact Info step to mark the call as handled" last night , but not working .
    so in the get call contact info properties , I was used  last Redirect number  to nest trigger number .
    but not working .
    so have got any idea about that ?
    thanks

  • How to setup a whisper prompt in UCCX Script?

    Guys
    I need some help here.
    We have a cisco UCCX setup which was designed and implemented by a vendor. They had the script written. I want to modify that to have a whisper prompt for the agents to hear something before they start their talk.
    Is there something that anyone can guide me to tell me what actually has to be done on a script to input this whisper message. I have a prompt for that. But don't know where and what to start with.
    Any help is much appreciated.

    @Gergely : For your first question, the answer it yes. The agent should hear that recording before he does go the customer call.
    But the second note what you sent, I don't think that is correct. Because UCCX script supports that. I have pasted a sample below which a whisper prompt works in one of our UCCX script. See below.
    Correct me If I am wrong.

  • UCCX scripting, Voicemail?

    I'm creating a new UCCX script and I have a question regarding voicemail fwd when no
    agents are available. I know that I need to add the 'Get Reporting' stat before the menu,
    but I'm not sure where to place it. Also, I wanted to make sure that I wouldn't be using
    to many uccx ports. I have attached the script . I will appreciate if someone can edit it for me.

    mislam2
    I place my get reporting step right before a caller would go to the queue.  If not agents are available or the average queue time is too high I set a transfer string variable and send the caller to the voice mail box.
    You should not have to worry about using too many ports.  Once the caller is transferred the uccx port is done with the call.
    HTH

  • UCCX Scripting issue

    Hello,
    I'm desiging a UCCX Script ,  If  No agents Logged In -> Yes, There will be a prompt  -> End
    If  No agents Logged In -> No, There will be two prompts
    Prompt1: If you are calling for CC issue, press 1
    Prompt2: If you have TS question, press 2
    If caller press either 1 or  2  there will be a prompt : Please note call may be monitored for QA -> then call will be in the Queue to agents
    If caller won't press neither 1 nor 2 call should move to Receptionist Ready status check and if receptionist avalable, there will be a prompt :If you have other inquiries ,press 0 and then call will be in Queue to Receptionist.
    If Receptionist is not avaialable, there will be  a prompt : Thank you for calling please call back at a later time -> End
    Hope you understood, If caller didnt press either 1 or 2 call should jump to Receptionist ready status check .
    How can I accomplish this within the script  after playing two prompts if No agents Logged In -> No?
    Can any body suggest me which step to be used on this occation?
    If would appreciate if you can explain me in details.

    You will need at minimum 1 variable: an Integer and named something like "logged_in_agents"
    You will need at minimum 3 steps: a Get Reporting Stats step, an If step, and a Menu Step.
    Looks something like this:
    Variables
    int logged_in_agents = 0
    Script
    ...your beginning script steps are omitted...logged_in_agents = Get Reporting Statistics (Logged In Agents in "HelpDesk_CSQ")if (logged_in_agents == 0)  true    menu      option 1    ...whatever menu options you have...  false    menu      option 1    ...whatver other menu options you have...

  • UCCX Scripting - Open/Close time of day is different on some days

    All,
    I currently have a simple UCCX script with a DOW and TOD variable set, but need to make an adjustment to accommodate a new schedule for a call center queue.  My DOW is Monday - Friday, and TOD is set to 8am-5pm.  I need to make a change to where say Wednesday is set to not close the queue until 10pm.  How do I make that happen?
    This is the way it shows in the editor:
    DOW: Monday-Friday
     +open:
      ++8am-5pm:
       +++Goto yadayada
      ++TheRest
     +Closed
    If I need Wednesday's queue to stay open between the hours of 8am and 10pm, what logic do I need to put in?  I'm thinking I'll have to add an IF Statement, but not sure where to start.  Any ideas?

    I was able to figure this out.  Below is what I did:
    Created two new Day of Week options and selected the corresponding days.  Under each, I moved the Time of Day statement and assigned the time ranges, then selected the goto statement and assigned it as needed per my script.  
    This should provide the logic I was needed.  

  • How to update XML file through UCCX script ?

    Hi,
    I have an UCCX script with MENU step. One of the step is for technical support team. When caller chose this step, information about date and time of the call and calling number should be recorded on a XML file located on the web server.
    This XML is uploaded into the web server , but I don't know how to update it through UCCX script.
    Here is how the XML file looks like:
    <?xml version="1.0" ?>
    <rss version="2.0">
    <channel>
    <title>CALL LOG</title>
    <link></link>
    <description>Support Call log</description>
    <ttl>1</ttl>
    <item>
    <title>2011-08-24 14:56:39 - 00044 123 123 123</title>
    <link></link>
    <description></description>
    </item
    </channel>
    </rss>
    Any idea?
    Thanks,
    O

    Hi
    The 'keyword transform' step uses the template XML file to generate the actual XML file you want to post... the template would be a plain text file uploaded to the repository, and would look like so:
    <?xml version="1.0" ?>
    CALL LOG
    Support Call log
    1
    %%calldatetime%% - %%clinumber%%
    Now - if you had that bit of XML, with correct time/number in it - have you verified know that you can definately just post that XML to a certain URL to get it on the server? Check with whoever manages that server exactly what you need to do to get it to appear - then worry about how you do that from UCCX. It may not be a matter of posting up that XML, you may need it in a different format or something..
    Aaron

  • Use of Time in UCCX scripting

    Hi,
        We are working on UCCX7.0(1) and have a scripting question. The requirement I have is to play a prompt for a defined set of time, say 5 minutes, in a loop. On the expiry of the time, the call should end. Following is the steps that I need to achieve-
    1) Play a message , Prompt1, asking the user to enter a digit.
    2) On timeout or invalid entry, loop through the Prompt1 unlimited number of times.
    3) But once the duration of the play reaches 5 minutes, end the call.
    I am not aware of checking this timer/duration within the script. This seems pretty basic but Iam a novice to scripting, so any help is highly appreciated.
    Thanks,
    DM

    It works!! You are right, I will not be able to time it to exactly 5 minutes but the customer is fine with it.
    I just had to tweek the code a tiny but in oder to compare 2 Long values :
    if (EndTime - StartTime) >= (300000.longvalue()) then
         Goto End
    Else
         Goto Prompt_Label.
    Thanks a ton!!
    DM

  • DB Read error from UCCX Script

    Hi All,
    We are running uccx 7.0.
    Trying to return data from DB using stored procedure from the uccx script.
    We are able to run this when we pass explicit value instead of variable ANI.
    But whenever we provide variable ANI, we get below
    error: SQL statement varible not defined : ANI
    Query which provided in the DB Read as below,
    select * from  table(credit_back.fun_select_point($ANI));
    Request your help on it..
    Regards,
    Shalid K.C

    Yes Gergely.
    we have created new script and when i add DB Read function in the script, it is not allow to apply it, same time it is giveing the above mentioned error.
    but when i test it with explicite value it is working.. .not working by providing variable name
    Regards,
    Shalid

  • How to see programming Code for UCCX Script

    Hi All,
    How can I  see the programming Code for UCCX Script? I have a script and want to see its Code , something like :
    int sum = 0;
    boolean alternate = false;
    boolean isValid = false;
    try {
    int i = 0;
    for (i = ccnumber.length() - 1; i >= 0; i--) {
      int n = Integer.parseInt(ccnumber.substring(i, i + 1));
      if (alternate) {
       n = n * 2;
       if (n > 9) {
        n = (n % 10) + 1;
      sum += n;
      alternate = !alternate;
    isValid = (sum % 10 == 0);
    } catch (Exception e) {
    return -1;
    return (isValid == true ? 1 : 0);
    thanks,
    Hamed

    You're not going to find code per se, unless you have some java class you wrote and then you would only see the code if you had the source java file.  The script is the only interface you get for "code".
    david

  • Quick SAP Script question New Page Print

    Quick SAP Script question
    I have added a new page to an existing SAP Script BUT only want it to print if a condition is true.
    I need to do this from within the form as the print program is SAP Std.
    Any idea how I can prevent the new page from printing?
    i.e. I need the form NOT to call the new page if the condition is false. Is there a way of forcing an exit or stop from with in the form?

    Hi,
    To trigger a new page, there is script ediotr command NEW-PAGE.
    so find where is that command is triggered and use the below code for trigger it on any specific condition....
    if &condition& = 'True'
    /*  NEW-PAGE
    elseif
    /: NEW-PAGE   
    endif
    so it means if condition is satisfied your new page will not work.. else it will...
    Hope you got it...
    Try this..
    Best luck..
    Regs,
    Lokesh.

Maybe you are looking for

  • Error in setting Pricelist/Currency code

    I'm using Siebel Self-Services 8.1.1 and I always get the following error every for new session of the application: "Error in setting Pricelist/Currency code. Please contact System Administator". Anyone having an idea how to solve it? Thanks! /Jon-Er

  • IMesh opens in new tab.

    I've tried about:config imesh->reset and keyword.URL change the input. but it doesn't work. I even added an addon that says it will open any website in my new tabs......no luck.

  • Premiere Elements 8 - "not compatible with Premiere Pro"?

    I have installed, uninstalled, and reinstalled Premiere Elements 8 program twice. Updated to 8.01. When I save a "new project" file, then try to open it with the same program I created it with (Elements 8), it will not open the file and says: "Projec

  • How  can create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version

    Hi All,             Can any one help, how  to create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version.This is my task. Given BADI name was----VENDOR_ADD_DATA_BI . Thanks

  • Error while deploying BPMDMTECHN06_3.sca

    Hi all I'm getting the following deployment exception while trying to import the MDM Portal Content BPMDMTECHN06_3.sca file. Starting Deployment of com.sap.pct.mdm.tech.packages.mdm_550 Aborted: development component 'com.sap.pct.mdm.tech.packages.md