Changeset 1563


Ignore:
Timestamp:
Nov 8, 2007 9:44:08 AM (12 years ago)
Author:
bennylp
Message:

Accept UPDATE without SDP (this is a valid scenario according to session timer RFC)

File:
1 edited

Legend:

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

    r1561 r1563  
    21872187                                           NULL, &tdata); 
    21882188 
     2189    /* If UPDATE doesn't contain SDP, just respond with 200/OK. 
     2190     * This is a valid scenario according to session-timer draft. 
     2191     */ 
     2192    } else if (rdata->msg_info.msg->body == NULL) { 
     2193 
     2194        status = pjsip_dlg_create_response(inv->dlg, rdata,  
     2195                                           200, NULL, &tdata); 
     2196 
    21892197    } else { 
    21902198        /* We receive new offer from remote */ 
Note: See TracChangeset for help on using the changeset viewer.