Changeset 5081


Ignore:
Timestamp:
Apr 28, 2015 2:11:52 PM (9 years ago)
Author:
riza
Message:

Re #1843: Related to r4924, allow INVITE request with unknown body in
pjsip_inv_verify_request3.

File:
1 edited

Legend:

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

    r5035 r5081  
    10861086 
    10871087        /* Check if body really contains SDP. */ 
    1088         if (sdp_info->body.ptr == NULL) { 
     1088        if (sdp_info->body.ptr == NULL && !PJSIP_INV_ACCEPT_UNKNOWN_BODY) { 
    10891089            /* Couldn't find "application/sdp" */ 
    10901090            code = PJSIP_SC_UNSUPPORTED_MEDIA_TYPE; 
Note: See TracChangeset for help on using the changeset viewer.