Ignore:
Timestamp:
Jun 25, 2009 10:58:13 AM (11 years ago)
Author:
bennylp
Message:

Ticket #797: Behavior when cancelling INVITE before provisional response is received

  • backported from ticket #506
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0/pjsip/src/pjsip-ua/sip_inv.c

    r2798 r2799  
    18681868            if (inv->invite_tsx->status_code < 100) { 
    18691869 
    1870                 pjsip_tsx_stop_retransmit(inv->invite_tsx); 
     1870                /* Do not stop INVITE retransmission, see ticket #506 */ 
     1871                //pjsip_tsx_stop_retransmit(inv->invite_tsx); 
    18711872                inv->cancelling = PJ_TRUE; 
    18721873                inv->pending_cancel = PJ_TRUE; 
    18731874                *p_tdata = NULL; 
    1874                 PJ_LOG(4, (inv->obj_name, "Stopping retransmission, " 
    1875                            "delaying CANCEL")); 
     1875                PJ_LOG(4, (inv->obj_name, "Delaying CANCEL since no " 
     1876                           "provisional response is received yet")); 
    18761877                return PJ_SUCCESS; 
    18771878            } 
Note: See TracChangeset for help on using the changeset viewer.