Changeset 4425 for pjproject


Ignore:
Timestamp:
Mar 6, 2013 9:36:05 AM (12 years ago)
Author:
ming
Message:

Fixed #1633: Crash if on_redirected() callback is not implemented and UAC receives 422 response

File:
1 edited

Legend:

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

    r4420 r4425  
    32913291        if (dlg->role == PJSIP_ROLE_UAC) { 
    32923292 
    3293             /* Save the original INVITE request, if on_redirected() callback 
    3294              * is implemented. We may need to resend the INVITE if we receive 
    3295              * redirection response. 
     3293            /* Save the original INVITE request. 
     3294             * We may need to resend the INVITE if we receive redirection 
     3295             * or session timer too small response. 
    32963296             */ 
    3297             if (mod_inv.cb.on_redirected) { 
     3297            if (1) { 
    32983298                if (inv->invite_req) { 
    32993299                    pjsip_tx_data_dec_ref(inv->invite_req); 
Note: See TracChangeset for help on using the changeset viewer.