Jump to content

CSTA GetAgentState XML


Recommended Posts

Not sure what you folks are dreaming about! This is what the GetAgentState request and response look like

 

<?xml version="1.0" encoding="UTF-8"?>
<GetAgentState xmlns=“http://www.ecma-international.org/standards/ecma-323/csta/ed5">
<device>45@domain.com</device>
<acdGroup>73@domain.com</acdGroup>
</GetAgentState>

<?xml version="1.0" encoding="UTF-8"?>
<GetAgentStateResponse xmlns=“http://www.ecma-international.org/standards/ecma-323/csta/ed5">
<agentStateList>
 <agentStateEntry> // max 32
   <agentID>45@domain.com</agentID>
   <loggedOnState>true</loggedOnState>
   <agentInfo>
     <agentInfoItem>
       <acdGroup>73@domain.com</acdGroup>
       <agentState>Ready</agentState> // agentNotReady, agentNull, agentReady, agentBusy, agentWorkingAfterCall
       </agentInfoItem>
   </agentInfo>
 </agentStateEntry>
 ...
 ...
 <agentStateEntry>
 ...
 </agentStateEntry>
</agentStateList>
</GetAgentStateResponse>

Link to post
Share on other sites

 

<?xml version="1.0" encoding="UTF-8"?>
<GetAgentState xmlns=“http://www.ecma-international.org/standards/ecma-323/csta/ed5">
<device>45@domain.com</device>
<acdGroup>73@domain.com</acdGroup>
</GetAgentState> 

 

Thank you! what are these "45" and "73" values? Getting 500 errors at the moment.

Link to post
Share on other sites

45 is the agent and 73 is agent group as explained in the message that I posted

 

<agentID>45@domain.com</agentID>

 

<acdGroup>73@domain.com</acdGroup>

 

Sorry for not being clear with my question. is the agentid same as the extensionid seen on the webinterface url [server]/dom_ext.htm?id=24. And the acdGroupId is probably the same as in the url of the group dom_acd.htm?id=30?

Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...