Changeset 4975


Ignore:
Timestamp:
Jan 21, 2015 4:12:27 AM (6 years ago)
Author:
ming
Message:

Re #1782 (misc): Do not include SDP when sending 181 response (patch provided by Joshua Colp)

File:
1 edited

Legend:

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

    r4970 r4975  
    21042104 
    21052105     /* If SDP negotiator is ready, start negotiation. */ 
    2106     if (st_code/100==2 || (st_code/10==18 && st_code!=180)) { 
     2106    if (st_code/100==2 || (st_code/10==18 && st_code!=180 && st_code!=181)) { 
    21072107 
    21082108        pjmedia_sdp_neg_state neg_state; 
     
    21362136    } 
    21372137 
    2138     /* Include SDP when it's available for 2xx and 18x (but not 180) response. 
    2139      * Subsequent response will include this SDP. 
     2138    /* Include SDP when it's available for 2xx and 18x (but not 180 and 181) 
     2139     * response. Subsequent response will include this SDP. 
    21402140     * 
    21412141     * Note note: 
Note: See TracChangeset for help on using the changeset viewer.