Brekeke SIP Server Wiki

5. EventStat - EVENT STATUS

EventStat object which is passed by Event Methods contains the following variables:

 

  int  sid                // Session-ID

  String  callid          // Call-ID:

  String  username        // Caller's user name
  String  usernameAuth    // Caller's user name for authentication

  String  urlCaller       // Caller's SIP-URI
  String  tagCaller       // Caller's tag parameter 
  AddrPort  apCaller      // Caller's IP address/port

  String  urlCallee       // Call recipient's SIP-URI
  String  tagCallee       // Call recipient's SIP-URI
  AddrPort  apCallee      // Call recipient's IP address/port

  String  methodStart     // SIP method for the start of the session
  long    seqStart        // CSeq number of the SIP method for the start of the session

  String  methodEnd       // SIP method for the end of the session
  long    seqEnd          // CSeq number of the SIP method for the end of the session
  int     senderEnd       // Sender of the SIP method for the end of the session
                          //    (1=Caller, 2=Call recipient)

  long  timeSessionStart  // Session start time
  long  timeSessionEnd    // Session end time
  long  timeTalkStart     // Talk start time
  long  timeTalkEnd       // Talk end time

  int   result            // Result
                          //   0 = Success
                          //   1 = BUSY
                          //   2 = CANCEL
                          //   3 = Fail
                          //   4 = Timeout
                          //   5 = Disconnect by Brekeke SIP Server (for Shutdown, etc.)
                          //   6 = Other

  int   errorcode         // Error code (SIP response code)

 

 

Yes No
Suggest Edit