Jump to content

CSTA GetAgentState XML


JuliusSart
 Share

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 comment
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 comment
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 comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...