Ignore:
Timestamp:
Jul 15, 2013 4:23:31 AM (11 years ago)
Author:
ming
Message:

Re #817: Initial work for allowing application to respond to re-INVITE manually.

Patches integrated in this fix (with some modifications for adjustment to the current trunk):

  • sip_inv-on_rx_reinvite.patch


Move the place where to call the callback so the callback will still be called when the re-invite contains no SDP

  • sdp_neg_cancel_remote_offer


pjmedia_sdp_neg_cancel_remote_offer() is no longer necessary since pjmedia_sdp_neg_cancel_offer() can already handle that. Only integrate the chart for sdp negotiation doc.

  • sip_inv-terminate-reinvite-tsx-on-cancel
  • sip_inv-cancel_sdp_neg_on_sending_negative_reply_to_reinvite
  • pjsip-allow_cancel_reinvite
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/sdp_neg.h

    r4554 r4562  
    5353 *     ----------------------->| LOCAL_OFFER |<----------------------- 
    5454 *    |                        +-------------+______                  | 
    55  *    |                               |             \______ cancel()  | 
    56  *    |           set_remote_answer() |                    \______    | 
    57  *    |                               V                            \  | 
     55 *    |                               |             \_____________    | 
     56 *    |           set_remote_answer() |           cancel_offer()  \   | 
     57 *    |                               V                            v  | 
    5858 * +--+---+                     +-----------+     negotiate()     +-~----+ 
    5959 * | NULL |                     | WAIT_NEGO |-------------------->| DONE | 
    6060 * +------+                     +-----------+                     +------+ 
    61  *    |                               A                               | 
    62  *    |            set_local_answer() |                               | 
    63  *    |                               |                               | 
     61 *    |                               A      ______________________^  | 
     62 *    |            set_local_answer() |     /     cancel_offer()      | 
     63 *    |                               |    /                          | 
    6464 *    |                        +--------------+   set_remote_offer()  | 
    6565 *     ----------------------->| REMOTE_OFFER |<---------------------- 
Note: See TracChangeset for help on using the changeset viewer.