Iam new here and i am creating php application that will interact with CCA and i genereated php class from the wsdl web services now i want to know how to make a login using php and what are the values need to be passed .. thanks
Iam trying from The API to disconnect or to SendToHold() and these both functions take as input session ID and Interaction ID but the function successfully return service result = 0 means it is valid but it doesnt end the call or put the call to hold,
to clarify more before this i used the function dialExternalNumber to dial an external number and it is working very good
and iam genereating the interaction ID from the function getNewInteractionId
it return a number for me which am using into the disconnect and in the SendToHold functions
The MessageProvider Web Service provides users with the ability to manage their session and to retrieve call center messages.
Message server will announce an event and give you information about the event. For example, the event might be a new Interaction. Information related to the new Interaction could be the Interaction type, the originator (caller ID or email address), priority, etc.
Once the client application is logged in, the messages should be obtained by having a dedicated thread call the getMessages(int, String, int, int) method in this service on an infinite loop at least every 30 seconds.
The getMessages() operation returns a result of type GetMessagesResult with has two parts getServiceResult( ) returns a ServiceResult object that describes whether the last call to getMessages succeeded or failed
An array of Message objects. By digging into each SessionMessage object, you can find out what events have happened and get all of the important information associated with each event
what is required to call the function disconnect() or the function sendtohold() because i called dialexternalnumber function then i tried to call disconnect () function to disconnect from this call but it did nothing ?
and another thing
does i need the interaction id in this process i just explained for you ?