Jump to content

mikenz.geek.nz

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by mikenz.geek.nz

  1. Hi,

     

    As you know I've been attempting to make use of your CSTA monitoring API.

     

    The new problem I have is that I don't always receive events after starting Monitoring.

    I get a normal StartApplicationSessionPosResponse, and normal MonitorStartResponse with monitorCrossRefID but I never get any events. Even after waiting a number of minutes no events start coming through.

     

    Sometimes restarting the code works and this time I get the events. Sometimes I can restart the code 10 times and still not start getting the events.

     

    What do I/you need to do to stop this?

     

    Thanks

     

    - Mike

  2. 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

  3. 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>
    
    --------------------------------------------
    

  4. (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

×
×
  • Create New...