« Back to CTIOS Toolkit Questions

RE: New Message from Reinhard Schloeglhofer in Computer Telephony Integrati

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello, I have developed an application which needs to set a call variable which is received from a customer service after the established call event. The CTIOS log shows the following entry: Trace: CRITICAL: ServiceQueuePostThread caught exception while processing a request[eSetCallDataRequest], GetLastError() returned 0. This is the Java code:             Arguments callData = currentcall.GetCallData();             callData.SetValue(CtiOs_IKeywordIDs.CTIOS_CALLVARIABLE7, value);             errorcode = currentcall.SetCallData(callData); errcode is always 1 (OK) but 0 (FAILED) in the CTIOS log. Does anyone have an idea why the setting of a call variable fails ? Thanks in advance Best regards Reinhard

Are you receiving either a SetCallDataConf or a onControlFailureConf? What is in your CTIOS client log? The CTIOS Server log? Is currentcall set correctly? If so, try logging callData arguments array to verify the get is working correctly.

Hi David, I have now attached the different logs and the source code. The setCallDataConf or ControlFailureConf are not received. The dumped call data are ok (see CallVariable7)
Attachments:

Your application is using a monitor (filter) mode connection. Monitor mode connections are for receiving events only. You are not allowed to control calls or agents or set call data from a monitor mode session.

Thank you for this information. I did not find anything about this restriction in the CTIOS documentation. But from the wording point of view it is clear now. I think i will need to use supervisor mode.

David Lender (474)
Shannon McCoy (91)
Arthur Shats (57)
Christopher Nagel (47)
GEOFFREY THOMPSON (40)