Changeset 5398 for pjproject


Ignore:
Timestamp:
Jul 26, 2016 7:48:59 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1945): Fixed assertion when outgoing call without SDP is answered with 200 also without SDP (on NDEBUG mode, assertion shouldn't occur and call is disconnected immediately).

File:
1 edited

Legend:

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

    r5109 r5398  
    226226        } 
    227227 
    228         if (pjmedia_sdp_neg_get_state(inv->neg)!=PJMEDIA_SDP_NEG_STATE_DONE && 
    229             (tsx_inv_data && !tsx_inv_data->sdp_done) ) 
     228        if ((tsx_inv_data && !tsx_inv_data->sdp_done) && 
     229            (!inv->neg || pjmedia_sdp_neg_get_state(inv->neg)!= 
     230                                                PJMEDIA_SDP_NEG_STATE_DONE)) 
    230231        { 
    231232            pjsip_tx_data *bye; 
Note: See TracChangeset for help on using the changeset viewer.