Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: MurrayS on July 16, 2015, 06:06:25 AM

Title: Passing userdata to CCP or MCP in a SIP BYE
Post by: MurrayS on July 16, 2015, 06:06:25 AM
Hi all,

We are building a CCXML application and which calls the URS via a route point to target an agent.  We would like the CCXML app to read userdata off the call when the agent disconnects. 

From the documentation and from testing we have found that userdat can only be passed from SIP Server to GVP in an Invite, this seems very limiting for SIP Server based (not IServer) implementations.  Is there any way to get SIP Server to pass userdata headers in any other SIP message, particularly a BYE.
Title: Re: Passing userdata to CCP or MCP in a SIP BYE
Post by: Kubig on July 17, 2015, 07:50:22 AM
What is the reason for passing the data in BYE message only? You can of course receieve the data during the call is established on MCP/CCP.
Title: Re: Passing userdata to CCP or MCP in a SIP BYE
Post by: MurrayS on July 19, 2015, 06:04:35 AM
The scenario is, the call is controlled by a CCXML appln (but an MCP appln would be the same), the agent answers the call and during the course of the interaction with the caller, the agent toolbar application sets some userdata on the call.  The agent or the caller then disconnects.  We want to able to read the updated userdata in the CCXML application.

Ideally we would like to be able to pass userdata back to the CCXML appln in the BYE, but would also be interested in passing userdata back to the CCXML appln after the call is established to the agent if that is possible.  There doesn't seem to be any way to do this, if there is no I-Server in the architecture.

Currently, we are planning to use an http post from the toolbar appln to pass userdata back to CCXML, but we would prefer not to add that complication if it is possible to pass userdata via the SIP Server.