[cisco-voip] Interested UCCX Script Issue
I am working on a script where I call the CCX application via HTTP trigger. The CCX script will use the 'place call' step to call a CUCM hunt group. Then I need to determine the line group member (extension would be fine) of the person who answered the call. I then need to pass the extension of the phone that answered back from the script via HTTP to the requesting application. Unfortunately, I have not been able to find a CCX editor step that can tell me the extension of the line group member who answered the call. All 'get' steps just show the extension of the hunt pilot used to route the call to the group of phones, I can't actually see the individual person who answered. The phones in the group are not agents, so there is no CSQ or 'select resource' in play here. I'm just using CCX to leverage the scripting capabilities to interface with the other application. Perhaps Java would be of use here, though I am not sure what code would be used. Any thoughts or ideas ? Justin ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip
Re: [cisco-voip] Interested UCCX Script Issue
Justin, What you want to do with UCCX and hunt groups is not possible via the scripting interfaces exposed to you by UCCX. As a matter of fact, the underlying call control system (JTAPI) did not have this ability until recently with CUCM version 9.0. If you have CUCM 9.0+ and UCCX 9.0+ with Premium licensing it is possible to get what you want. However, you will need to be expertly familiar with both the UCCX CTI Engine and CUCM's JTAPI implementation. The gist of the implementation is: 1. Get the contact channel 2. Get the underlaying JTAPI representation of the Call 3. Get the called address of the connected end point (requires proper hunt group configuration as well). I mocked this up with UCCX 9.0SU1 and it works without issue. Good luck! Regards, Tanner Ezell CTI Logic On Fri, Aug 29, 2014 at 12:10 PM, Justin Steinberg jsteinb...@gmail.com wrote: I am working on a script where I call the CCX application via HTTP trigger. The CCX script will use the 'place call' step to call a CUCM hunt group. Then I need to determine the line group member (extension would be fine) of the person who answered the call. I then need to pass the extension of the phone that answered back from the script via HTTP to the requesting application. Unfortunately, I have not been able to find a CCX editor step that can tell me the extension of the line group member who answered the call. All 'get' steps just show the extension of the hunt pilot used to route the call to the group of phones, I can't actually see the individual person who answered. The phones in the group are not agents, so there is no CSQ or 'select resource' in play here. I'm just using CCX to leverage the scripting capabilities to interface with the other application. Perhaps Java would be of use here, though I am not sure what code would be used. Any thoughts or ideas ? Justin ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip
Re: [cisco-voip] Interested UCCX Script Issue
I have not done this before, but could it be that you are checking the called number too soon after the Place Call step? If you haven't tried this already, create a brand new blank script with only a Contact variable, and two steps: Place Call and Get Call Contact Info. Then, Active debug the script (not Reactive) and step over the Place Call. Answer on your LG member phone, and with the red highlighted step on the Get Call Contact Info step, now click Step Over (F11) to execute the second step with the member already connected. It's possible CUCM will send a CTI message to UCCX to update the connected party information and it might be available a few seconds after the call is connected. On Fri, Aug 29, 2014 at 2:10 PM, Justin Steinberg jsteinb...@gmail.com wrote: I am working on a script where I call the CCX application via HTTP trigger. The CCX script will use the 'place call' step to call a CUCM hunt group. Then I need to determine the line group member (extension would be fine) of the person who answered the call. I then need to pass the extension of the phone that answered back from the script via HTTP to the requesting application. Unfortunately, I have not been able to find a CCX editor step that can tell me the extension of the line group member who answered the call. All 'get' steps just show the extension of the hunt pilot used to route the call to the group of phones, I can't actually see the individual person who answered. The phones in the group are not agents, so there is no CSQ or 'select resource' in play here. I'm just using CCX to leverage the scripting capabilities to interface with the other application. Perhaps Java would be of use here, though I am not sure what code would be used. Any thoughts or ideas ? Justin ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip
Re: [cisco-voip] Interested UCCX Script Issue
Anthony, No, this wouldn't be the case. The success branch executes after successfully connecting (which would indicate JTAPI signaling was complete). Interestingly enough, the UCCX backend does not have a method to update the called number which I find to be an interesting design decision. The Get Call Contact Info step just pulls from the called number set on the contact, it won't update from JTAPI events. On Fri, Aug 29, 2014 at 3:17 PM, Anthony Holloway avholloway+cisco-v...@gmail.com wrote: I have not done this before, but could it be that you are checking the called number too soon after the Place Call step? If you haven't tried this already, create a brand new blank script with only a Contact variable, and two steps: Place Call and Get Call Contact Info. Then, Active debug the script (not Reactive) and step over the Place Call. Answer on your LG member phone, and with the red highlighted step on the Get Call Contact Info step, now click Step Over (F11) to execute the second step with the member already connected. It's possible CUCM will send a CTI message to UCCX to update the connected party information and it might be available a few seconds after the call is connected. On Fri, Aug 29, 2014 at 2:10 PM, Justin Steinberg jsteinb...@gmail.com wrote: I am working on a script where I call the CCX application via HTTP trigger. The CCX script will use the 'place call' step to call a CUCM hunt group. Then I need to determine the line group member (extension would be fine) of the person who answered the call. I then need to pass the extension of the phone that answered back from the script via HTTP to the requesting application. Unfortunately, I have not been able to find a CCX editor step that can tell me the extension of the line group member who answered the call. All 'get' steps just show the extension of the hunt pilot used to route the call to the group of phones, I can't actually see the individual person who answered. The phones in the group are not agents, so there is no CSQ or 'select resource' in play here. I'm just using CCX to leverage the scripting capabilities to interface with the other application. Perhaps Java would be of use here, though I am not sure what code would be used. Any thoughts or ideas ? Justin ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip ___ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip