gotvoip Posted March 7, 2011 Report Share Posted March 7, 2011 How do I use MonitorStart to get notified of EstablishedEvent and connectionCleared events so I can track active calls on every extension in real time. Does the system support CSTA over ASN.1? Quote Link to comment Share on other sites More sharing options...
pbx support Posted March 7, 2011 Report Share Posted March 7, 2011 We support CSTA over TCP without SOAP as explained in ECMA-323 Annex J.2. ECMA-354 defines how to start the application, TR-87 shows how to start monitoring. Quote Link to comment Share on other sites More sharing options...
mikenz.geek.nz Posted March 8, 2011 Report Share Posted March 8, 2011 (Where) is this documented? gotvoip: I had a quick play and the server responds to Annex J.2. messages on the normal web interface port. Once I get some clean code written I'll post PHP code for others that are trying to do similar things. Does anyone know what the monitorObject/deviceObject is to monitor a single extension? - Mike Quote Link to comment Share on other sites More sharing options...
pbx support Posted March 8, 2011 Report Share Posted March 8, 2011 http://wiki.snomone.com/index.php?title=CSTA_api lists the APIs supported by the PBX. The details are in the above mentioned ECMA documents. Quote Link to comment Share on other sites More sharing options...
mikenz.geek.nz Posted March 14, 2011 Report Share Posted March 14, 2011 Thanks for you quick responses. As a paying customer, a more in depth answer would be appreciated if possible. I can initiate a monitor start but never get any events back when calls are made to or from that extension, see below for the packets. What am I missing? Thanks - Mike Outgoing PDU Header: 0x00 0x00 Length: 586 Invoke ID: 0001 XML: <?xml version="1.0" ?><MonitorStart xmlns="http://www.ecma.ch/standards/ecma-323/csta"><monitorObject><deviceObject>235@localhost</deviceObject></monitorObject><monitorType>device</monitorType><requestedMonitorFilter><callcontrol><connectionCleared>true</connectionCleared><delivered>true</delivered><diverted>true</diverted><established>true</established><failed>true</failed><held>true</held><netwReached>true</netwReached><retrieved>true</retrieved><serviceInitiated>true</serviceInitiated><transferred>true</transferred></callcontrol></requestedMonitorFilter></MonitorStart> -------------------------------------------- Incoming PDU Header: 0x00 0x00 Length: 348 Invoke ID: 0001 XML: <?xml version="1.0" encoding="UTF-8"?><MonitorStartResponse xmlns="http://www.ecma-international.org/standards/ecma-354/appl_session" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><monitorCrossRefID>56812</monitorCrossRefID><actualMonitorMediaClass><voice>true</voice><im>true</im></actualMonitorMediaClass></MonitorStartResponse> -------------------------------------------- Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 15, 2011 Report Share Posted March 15, 2011 CSTA is not for the light hearted... There is a reason why professional call center solutions easily go into the six figures. There is plenty of documentation available on this, though. Quote Link to comment Share on other sites More sharing options...
pbx support Posted March 15, 2011 Report Share Posted March 15, 2011 If you set the log level to 8 (no need of SIP logging though), you should see the CSTA interaction logs on the PBX. That might give some clue. Quote Link to comment Share on other sites More sharing options...
mikenz.geek.nz Posted March 15, 2011 Report Share Posted March 15, 2011 If you set the log level to 8 (no need of SIP logging though), you should see the CSTA interaction logs on the PBX. That might give some clue. Thanks - that was just the information I was looking for at the moment :-) I'll let you know what I find. - Mike Quote Link to comment Share on other sites More sharing options...
mikenz.geek.nz Posted March 15, 2011 Report Share Posted March 15, 2011 What applicationSpecificInfo do I need to send with a StartApplicationSession? Quote Link to comment Share on other sites More sharing options...
mikenz.geek.nz Posted March 15, 2011 Report Share Posted March 15, 2011 What applicationSpecificInfo do I need to send with a StartApplicationSession? Never mind, worked out it needs SessionLoginInfo -> userName, password, domain Quote Link to comment Share on other sites More sharing options...
mikenz.geek.nz Posted March 16, 2011 Report Share Posted March 16, 2011 I have have monitoring of extensions working. Is it possible to monitor all events on a Trunk with CSTA? Quote Link to comment Share on other sites More sharing options...
pbx support Posted March 16, 2011 Report Share Posted March 16, 2011 At this moment, we monitor devices (with some device id). I am not sure if have done any testing with the trunk as there is no device id association on it. Need to see if using co lines take care of the question in hand. Quote Link to comment Share on other sites More sharing options...
Henry Posted May 12, 2011 Report Share Posted May 12, 2011 I have have monitoring of extensions working. Is it possible to monitor all events on a Trunk with CSTA? Did you discover what the problem was? I am having the same problem, no events are coming 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.