cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
773
Views
0
Helpful
1
Replies
Beginner

QUERY_AGENT_STATE_REQ -- getting CF_PRIVILEGE_VIOLATION_ON_CALLING_DEVICE

Currently I'm trying to build a bridge mode app that will both capture AGENT_STATE_EVENT and allow a controller to perform a QUERY_AGENT_STATE_REQ.  At this point it seems to succesfully open the session, but I only get this privilege violation when making the QUERY_AGENT_STATE_REQ.  I've attached a log with the relevant trace messages. 

Thanks for any assistance

1 REPLY 1
Highlighted
Enthusiast

Re: QUERY_AGENT_STATE_REQ -- getting CF_PRIVILEGE_VIOLATION_ON_CALLING_DEVICE

Hi Chris,

I checked the provided logs and noticed that the request is coming without any instrument.

15:29:20:574 cg1A-ctisvr Session 9: MsgType:QUERY_AGENT_STATE_REQ (InvokeID:0x3 PeripheralID:1 MRDID:1 ICMAgentID:0 AgentExtension:"" 
15:29:20:574 cg1A-ctisvr Session 9:         AgentIDLong:"3100" AgentInstrument:"" )

You should not send the request without agent extension/device details.  If you check the CTI server message ref. guide for the same message, you can see following mentioned:

AgentQueryStateReq.png

Please add right extension details in the request.

Regards

Hemant

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards