Jump to content

Agent group status


Leonmeijer

Recommended Posts

Hello,

 

I'm building an application that should display the status of the calls in an agent group (who's waiting, calling etc), but I think something is wrong.

 

When the first call comes in to the agent group in PBX it shows state "waiting" but the XML data posted to the PBX doesn't have a state element.

Then the next call comes in, the first call will have a state "next" but the 2nd call did not get a STATE element

Then the 3rd call comes in and... yes as you can guess.. the 3rd call doesn't have a state element, the first has "next" and the 2nd has got "waiting" but why does the last call (or first when only one call) not have a state? or am I doing something wrong?

Link to comment
Share on other sites

Hello,

 

I'm building an application that should display the status of the calls in an agent group (who's waiting, calling etc), but I think something is wrong.

 

When the first call comes in to the agent group in PBX it shows state "waiting" but the XML data posted to the PBX doesn't have a state element.

Then the next call comes in, the first call will have a state "next" but the 2nd call did not get a STATE element

Then the 3rd call comes in and... yes as you can guess.. the 3rd call doesn't have a state element, the first has "next" and the 2nd has got "waiting" but why does the last call (or first when only one call) not have a state? or am I doing something wrong?

 

 

I too have been working on a program to do the same.

 

I have seen something like this too. But I don't remember seeing "Waiting". I have seen "Connected" as a State.

 

What I get from the ACD SOAP is the Message when the caller enters the ACD. It shows a 0 (Zero) time.

There is also information about the call id and the ACD Group they enetered into.

 

Then when they are leave the ACD I see the time they were waiting.

 

It never tells me which extension the call went to or if they hung up.

 

This raw data when a call comes into an ACD Group:

 

POST / HTTP/1.1

Host: xxx.xxx.xxx.xxx

Content-Length: 418

SOAPAction: IvrInput

Content-Type: text/xml

Accept-Language: en-us

Connection: Keep-Alive

Keep-Alive: 5

User-Agent: Mozilla/4.0 (compatible; PBX)

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx"><env:Body><sns:ACDWelcome><Queue>sip:562@localhost</Queue><CallID>4b74e2ed20dabf0d#af739ed194</CallID><From>"Bill Hayhurst" <sip:205@localhost></From><To><sip:562@localhost></To><Duration>0</Duration><State></State><Extension>205@localhost</Extension></sns:ACDWelcome></env:Body></env:Envelope>

 

Any help????

 

Bill H

Link to comment
Share on other sites

  • 7 months later...

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.

×
×
  • Create New...