Jump to content

monitor start question


gotvoip
 Share

Recommended Posts

(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

Link to comment
Share on other sites

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>

--------------------------------------------

Link to comment
Share on other sites

  • 1 month 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.

 Share

×
×
  • Create New...