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

QUERY_AGENT_STATE_REQ -- getting CF_PRIVILEGE_VIOLATION_ON_CALLING_DEVICE

ctorgerson1
Level 1
Level 1

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

hemajosh
Level 4
Level 4

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: