Ignore:
Timestamp:
Oct 3, 2007 6:28:49 PM (17 years ago)
Author:
bennylp
Message:

Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h

    r1463 r1469  
    254254    pjsip_transaction   *invite_tsx;                /**< 1st invite tsx.    */ 
    255255    pjsip_tx_data       *last_answer;               /**< Last INVITE resp.  */ 
     256    pjsip_tx_data       *last_ack;                  /**< Last ACK request   */ 
     257    pj_int32_t           last_ack_cseq;             /**< CSeq of last ACK   */ 
    256258    void                *mod_data[PJSIP_MAX_MODULE];/**< Modules data.      */ 
    257259}; 
     
    562564 
    563565/** 
    564  * Create an UPDATE request.  
     566 * Create an UPDATE request to initiate new SDP offer. 
    565567 * 
    566568 * @param inv           The invite session. 
     
    569571 *                      contact, it can specify the new contact in this  
    570572 *                      argument; otherwise this argument must be NULL. 
    571  * @param new_offer     Application MAY initiate a new SDP offer/answer  
    572  *                      session in the request when there is no pending answer 
    573  *                      to be sent or received. It can detect this condition 
    574  *                      by observing the state of the SDP negotiator of the  
    575  *                      invite session. If new offer should be sent to remote, 
    576  *                      the offer must be specified in this argument; otherwise 
    577  *                      this argument must be NULL. 
     573 * @param offer         Offer to be sent to remote. This argument is 
     574 *                      mandatory. 
    578575 * @param p_tdata       Pointer to receive the UPDATE request message to 
    579576 *                      be created. 
     
    585582PJ_DECL(pj_status_t) pjsip_inv_update ( pjsip_inv_session *inv, 
    586583                                        const pj_str_t *new_contact, 
    587                                         const pjmedia_sdp_session *new_offer, 
     584                                        const pjmedia_sdp_session *offer, 
    588585                                        pjsip_tx_data **p_tdata ); 
    589586 
Note: See TracChangeset for help on using the changeset viewer.