Changeset 1553


Ignore:
Timestamp:
Nov 6, 2007 3:41:40 AM (12 years ago)
Author:
bennylp
Message:

The NAT type investigation in incoming INVITE caused assertion error when the INVITE comes without SDP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r1549 r1553  
    689689    } 
    690690 
    691     /* Update NAT type of remote endpoint */ 
    692     if (pjsua_var.ua_cfg.nat_type_in_sdp) { 
     691    /* Update NAT type of remote endpoint, only when there is SDP in 
     692     * incoming INVITE!  
     693     */ 
     694    if (pjsua_var.ua_cfg.nat_type_in_sdp && 
     695        pjmedia_sdp_neg_get_state(inv->neg) > PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER)  
     696    { 
    693697        const pjmedia_sdp_session *remote_sdp; 
    694698 
Note: See TracChangeset for help on using the changeset viewer.