HTTP Trigger calls CSQ

Hi,
I am trying to create a script that is triggered by an HTTP request from an external source (powershell), this source basically does a HTTP GET which activates the script!
I want to be able to choose a resource from the CSQ, call that resource from the script and then playback a prompt to the agent.
I just keep getting Failed to create ICD channel for contact though at the select resource section!
Simon

Hi!
Can you please tell us who the initiator and the target for this call would be! You can of course have a UCCX script that initiates the call to a specific destination!
Also, please attach a screenshot of the script! Or at least the relevant part of it!
Thanks!
G!

Similar Messages

  • HTTP trigger - Calling failed - 9.0.2.10000-71

    Hi,
    I have created a HTTP trigger in Premium licensed UCCX server (9.0.2.10000-71). When I try to call the URL from java application I am getting HTTP error code as “404”. However HTTP trigger calling is working fine in the servers with the version of 8.5.1.11004-25 and 9.0.2.11001-24.
    Do I need to run any patch for the fix?  Please provide suggestion to fix it.
    Thanks
    Rammipriya

    Hi,
    there are multiple issues with this whole setup:
    1. You are getting a 404 status because this script does not return anything. Not a single byte of information. You should probably use a Send HTTP Response step with at least a plain text message.
    2. You cannot use anything from the sun.* packages. There is no exception from this rule. If you were in my team, for writing such code you would be thrown out without any questions asked.
    3. Although I see the point of this application (collect all files from the local file directory referenced by sysprop "uccx.customer.dir" I would not choose a slow and cumbersome protocol like FTP. I mean, if it's already a HTTP application, it would be a lot easier to get the files from the directory, zip them up (remember, both java.util.zip.GZIPOutputStream and java.util.zip.ZipOutputStream are available in JRE at least since 5.0) and send the zipped files over the already established HTTP connection. Fast and easy. 
    G.

  • HTTP trigger script using ECC variable/Call sub flow - not working

    Hello all,
    I am trying to http trigger script which will show the real time stats of the CSQs. The script is based on "Day of week" and Time of day" checking the queue time and will update the HTML doc to show as real time data. The scripts for various CSQs has multiple boolean variable (parameter, set to false by default) like "open/night/emergency/meeting" which can be set to open or close the queue by the supervisor depending on the situation. For ex, if a variable is set to True in application page for any of the Queue, I am trying to send that "true" value to the http trigger script, so that these can be shown real time.
    Steps tried:
    1. Tried using ECC variable - setting a ECC variable to True in the main script and getting that value in the http trigger script to a local variable, if found True, the display as "CSQ1 = OPEN", else "CSQ1 = CLOSED" ; but the script gave an error as attached (http1.png)
    2. Tried using Call sub flow - Like Holiday check, under the "Rest" branch of "Time of Day" - will check the queue and will get the value returned to the local variable - Failed and it shows an error as attached (http2.png)
    As of now, I have completed the script with the logic of checking the logged in agents count in the CSQs and updating the Real time data. But it has some issues like, if an agent didnt logged out properly or if an agent is asked to login during OOH although the queue is closed, as per the logged in resource logic, the data is shown as OPEN.
    Please share your thoughts on this and if you have come across such a script, kindly share as a knowledge share.
    Thanks in advance.
    Bala.

    Hello all,
    I am trying to http trigger script which will show the real time stats of the CSQs. The script is based on "Day of week" and Time of day" checking the queue time and will update the HTML doc to show as real time data. The scripts for various CSQs has multiple boolean variable (parameter, set to false by default) like "open/night/emergency/meeting" which can be set to open or close the queue by the supervisor depending on the situation. For ex, if a variable is set to True in application page for any of the Queue, I am trying to send that "true" value to the http trigger script, so that these can be shown real time.
    Steps tried:
    1. Tried using ECC variable - setting a ECC variable to True in the main script and getting that value in the http trigger script to a local variable, if found True, the display as "CSQ1 = OPEN", else "CSQ1 = CLOSED" ; but the script gave an error as attached (http1.png)
    2. Tried using Call sub flow - Like Holiday check, under the "Rest" branch of "Time of Day" - will check the queue and will get the value returned to the local variable - Failed and it shows an error as attached (http2.png)
    As of now, I have completed the script with the logic of checking the logged in agents count in the CSQs and updating the Real time data. But it has some issues like, if an agent didnt logged out properly or if an agent is asked to login during OOH although the queue is closed, as per the logged in resource logic, the data is shown as OPEN.
    Please share your thoughts on this and if you have come across such a script, kindly share as a knowledge share.
    Thanks in advance.
    Bala.

  • Email CSQ status script for http trigger

    Hello,
    I have an email csq and need http trigger to monitor the emails, agents, calls etc
    Does anyone have a basic script for it
    Please let me know.
    Thanks
    Kads

    Hi!
    Can you please tell us who the initiator and the target for this call would be! You can of course have a UCCX script that initiates the call to a specific destination!
    Also, please attach a screenshot of the script! Or at least the relevant part of it!
    Thanks!
    G!

  • Problem with Place call in a script with HTTP trigger

    Hi!
    I'm trying to develop a sample script, associated to an application that has an HTTP trigger. I'm working with UCCX Premium 8.5.1
    The trigger is working OK, but the place call output is allways "unsuccessful". The number to call and the redirect number are extensions of the same IPT platform.
    Below you will find print-screen of the script. Besides, I'm attaching the .aef file.
    Any help would be appreciated. Thanks in advance.
    Roy.

    The value in your "Call Control Group" must match the "Group ID" in your CM Telephony Call Control Group Configuration
    This is from my lab system so the "AgentsLoggedIn" variable would need to contain 1 or 3. You are telling the script which CTI port group to make the call with. You have a 0 in your AgentsLoggedIn so do you have a Group ID of 0?
    Your CTI group must be able to make the call so must have the correct partition/Calling Search Space
    Graham

  • HTTP Trigger - Lands in a CSQ then to an agent

    Hello,
    I’m looking for a template script that will guide me through the following:
    •1)      From a web page enter a phone number you want to be called at.
    •2)      After clicking a submit key using an http trigger a phantom call will be made to the “web callback queue” - which holds your spot in queue.
    •3)      When it’s your turn in line an agent from the “web callback queue” will answer the phantom call
    •4)      then the system will auto dial the number that was entered on the web page.
    •5)      This will connect the agent to the web customer
    Can someone direct me to a website or manual that will have a template for me to follow?
    We are running:
    UCCX 7.0(1) SR5
    Call Manager 6.1.3
    Thank you.

    Hi Anthony/Geroges,
    I am exactly working on the Same task which also I need to include the Holiday Check as well. I am given two scripts but no idea how to make it work with our Website.
    I have attached the images.Any help would be appreciated.
    Hamed

  • Place call is not working in HTTP trigger script

    All,
    I have basic hello script with HTTP trigger and CUCM trigger configured as well. I am trying to dial out an extension and play an prompt in my script. Running UCCX 7.0.1 with premium license. The place call step doesnt start at all when I do the debug. HTTP trigger and response works fine. Anything I am missing in the script.
    Regards
    Soban

    Create a Contact-type variable. Set the Place Call and Play Prompt to this second contact. You cannot play a prompt or make a call to the triggering contact when the script was triggered by an HTTP contact instead of JTAPI.

  • How to send te XML data using HTTPS post call & receiving response in ML

    ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
    we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
    how i can do this plz give some solution

    If you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....

  • CUIC report on HTTP trigger applications

    Hi,
    Is it possible to report on HTTP Trigger applications? The inbuilt call custom variable report in CUIC does not not show all applications configured in UCCX ( I guess the only ones with number triggers).
    I'm using the example webcallback scripts and setting enterprise data in the http trigger application which I'd like to report on.
    I want to know how many times the agent successfully automatically dialed the number vs needed to manually enter the number. 
    Thanks

    First, check report server to see report status:
    http://c26p003.bhelhwr.co.in:8889/reports/rwservlet/showjobs?server=rep_c26p003
    Regards

  • Http trigger question - UCCX 8.5(1)

    Hey All,
    I'm trying to display a web page with CSQueue statistics directly from CSD. Is it possible for an HTTP trigger to accept a request with out it coming from an form action GET? or is there a better way of doing this?
    I have written the 'Template.html' but would like for the queue data to be populated without having to kick off the script with a Submit button for example
    Ideally if the user could just browse to http://<uccx ip>:9080/CSQ-Stats.html and have all the queue information available and then the user can refresh IE to get up to date stats.
    Hoping this make sense to everyone
    Cheers,
    Greg

    Hi,
    that's the simplest thing an HTTP application in UCCX can do: serve a HTML page.
    First, create your CRS script, where you can do some calculations using the results of the stats steps. Then just do a keyword transform, and send back the final document using the Send HTTP response step.
    G.

  • IPIVR HTTP Trigger redundancy issue

    Hi all, I have some issues with HTTP trigger redundancy.
    We have a HA IPIVR cluster, says NodeA and NodeB. They are running version 9. We have an application, which will send an HTTP POST request (target IP address is NodeA) to the IVR system, which will trigger the IVR to make an call to an external number (the number is included in the HTTP request). BTW, the IVR system are integrated with CUCM 9.1.
    A few weeks ago, we test this and it was working fine. I am able to receive the call make from the IVR, which will return an response (xml file) to the requester. But yesterday when we test this again, it's not working anymore. Further troubleshooting shows that the HTTP request was redirected to NodeB. The following logs are captured on the requester:
    Successful Testing Log:
    2013-09-16 14:08:38,732 [ajp-bio-172.20.21.19-8009-exec-18] INFO  com.pdpc.dncr.registry.util.IVRSSender - Connecting to IVRS… http://172.20.21.36:9080/sendotp
    2013-09-16 14:08:41,501 [ajp-bio-172.20.21.19-8009-exec-18] INFO  com.pdpc.dncr.registry.util.IVRSSender - IVRS call response status code:200
    2013-09-16 14:08:59,555 [ajp-bio-172.20.21.19-8009-exec-18] INFO  com.pdpc.dncr.registry.util.IVRSSender - IVRS call response:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Registry>
      <status>
        <code>200</code>
        <message>Call Completed.</message>
      </status>
    </Registry>
    Yesterday Testing Log:
    HTTP Post to NodeA:
    2013-10-07 11:01:50,013 [Thread-8] INFO  com.pdpc.dncr.registry.util.IVRSSender - Connecting to IVRS... http://172.20.21.36:9080/sendotp
    2013-10-07 11:01:50,055 [Thread-8] INFO  com.pdpc.dncr.registry.util.IVRSSender - IVRS call response status code:302
    2013-10-07 11:01:50,056 [Thread-8] INFO  com.pdpc.dncr.registry.util.IVRSSender - IVRS call response:
    HTTP Post to NodeB:
    2013-10-07 14:37:42,107 [Thread-5] INFO  com.pdpc.dncr.registry.util.IVRSSender - Connecting to IVRS... http://172.20.21.37:9080/sendotp
    2013-10-07 14:37:42,378 [Thread-5] INFO  com.pdpc.dncr.registry.util.IVRSSender - IVRS call response status code:302
    2013-10-07 14:37:42,379 [Thread-5] INFO  com.pdpc.dncr.registry.util.IVRSSender - IVRS call response:
    I get 302 response which is redirection response from your application.
    During the testing, I also tried to use an Microsoft IE to send the HTTP post request to the IVR system, which was successful.
    Really appreciate if any suggestion what could be the reason and possible solution.

    It was tested from multiple broswers and PCs. The user IDs were different because we are now integrated with AD instead of DCD in the old cluster and the old user ID doesn't exist in AD.
    Got it figured out finally. It was an extra step that is now needed. Now you have to use the AuthenticateUser step after you use the GetUser step. Once we did that it worked as planned.

  • Trigger calling ctx_ddl.sync_index problem

    Dear,
    In order to keep my context indexes up-to-date, I'm trying to write a trigger calling this PL/SQL procedure on update/insert/delete statement.
    However, there must be a problem in my trigger definition since it gives compilation errors! I don't see what 's wrong!
    This is my trigger definition:
    =========BEGIN==================
    create or replace trigger update_lexicon_expl_nl after insert or delete or update on lexicon begin execute ctx_ddl.sync_index('lexicon_expl_nl'); end;
    =========END===================
    The compilation error is something like:
    "Encountered ctx_ddl when expecting one of the following :=.(@;immediate"
    PS. calling 'execute ctx_ddl.sync('myindex') in SQL Plus is workigng OK
    Please help.
    Dirk

    You do not need to trigger that table,there are two way to 'update' index.
    1.Alter index your_index_name rebuild.
    2.Set up background DML process, which need you work with an DBA or you have ctxsys role.

  • HTTP trigger no working

    Hi all,
    I am trying to use HTTP trigger to trigger an Application which contain sample script provided in UCCX scripting guide but when put any value in the name variable it doesn't trigger the script and got the error on welcome.html page while it should return the result in response.html page.
    I ran the same script including more nodes in 8.5 lab and it worked perfect. Now i m trying it on UCCE 9.x. Is there any chagne in new version ?
    any idea

    Hi,
    can you please reveal more. What is the error message?
    Did you try reactive debugging? If yes, at what step does it fail or behaves unexpectedly?
    Thanks.
    G.

  • HTTP Servlet call

    Hi all,
    I have a BPM scenario where i have several conditional branches, and in one of the branch i have to make a HTTP Servlet call via HTTP adapter and pass some values from the incoming message in the HTTP post.
    Is this just like a normal HTTP adapter call or HTTP servlet is something diffrent from a normal adapter call?
    anybody has done similar HTTP servlet calls ? aplease share your thoughts.
    Thanks

    Hi,
    Its same to the normal HTTP Call but at the BPM you meight need to give conditions as you indicated...you give conditions in the Control step of BPM
    Amaresh

  • Custom functionality to the telephony buttons which can trigger calls

    Hi everyone,
    I need to add a custom functionality to the telephony buttons which can trigger calls. This will be added to the telephony buttons consult, transfer, warm transfer, dial pad, conference.
    Any idea as to how to proceed with this?
    Thank you in advance.
    Binno Don Thomas

    Hi,
    The buttons are controlled by ToolBar profile in your webclinet profile.
    For creation of the toolbar profile go to
    SPRO >> Customer Relationship Management >> Interaction Center WebClient >> Basic Functions >> Communication Channels >> Define Toolbar Profiles
    If you want to create the button itself for use in the toolbar profile you can go to
    SPRO >> Customer Relationship Management >> Interaction Center WebClient >> Customer-Specific System Modifications >> Define Toolbar Buttons
    Hope this Helps.
    Regards,
    Rajiv

Maybe you are looking for

  • What is the transport protocol File (Axis) in the SOAP Adapter

    Hi, for a SOAP Receiver Adapter it's possible to choose 'File (Axis)' as transport protocol. How does it work and is there some documentation about it? Thanks and regards Patrick

  • Using the firewire 800 port for my firewire 400 devices

    I will be purchasing, at long last, a new mac mini to replace my faithful and well behaved G4 mac mini. I have a 20" cinema display and an external firewire 400 backup drive with the same form factor that sits below the mini. I would like to continue

  • Workflow Manager and SharePoint Designer publishing error

    Hello all, I'm hoping for some help in fixing this issue. I've been trying to publish a workflow using SharePoint Designer only to find that I get this error: "Errors were found when compilint the workflow. The workflow files were saved but cannot be

  • System fan not working properly

    i have a hp 15 notebook 15-r004ne  laptop and when i turn it on, it states the fan is not working correctly, then shuts down after 15 seconds or continues to windows if you press enter. I dont know what to do now please i need help . Answers will be

  • Artwork stuck - any help?

    Artwork removed from all the songs in the album, yet it's still there. I even deleted it from the memory, but IT'S STILL THERE! What can I do to get rid of it???