Leonmeijer Posted December 5, 2008 Report Share Posted December 5, 2008 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? Quote Link to comment Share on other sites More sharing options...
Bill H Posted December 5, 2008 Report Share Posted December 5, 2008 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 Quote Link to comment Share on other sites More sharing options...
Leonmeijer Posted December 6, 2008 Author Report Share Posted December 6, 2008 Yep, the duration is also not updated with an interval. For the first call it will be "0" when there comes another call it will be re-posted to the SOAP url but if there remains one call it will be 0 untill the call is ended. Any suggestions for these problems? Quote Link to comment Share on other sites More sharing options...
pbx support Posted July 17, 2009 Report Share Posted July 17, 2009 It never tells me which extension the call went to or if they hung up. Bill H It should tell the connected agent in the newer versions Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.