Ignore:
Timestamp:
Jan 14, 2008 1:30:33 PM (16 years ago)
Author:
bennylp
Message:

Ticket #448: PJSIP rejects incoming call with 415/Unsupported Media Type for INVITE containing video (thanks Alain Totouom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/session.c

    r1639 r1689  
    494494    si->param = PJ_POOL_ALLOC_T(pool, pjmedia_codec_param); 
    495495    status = pjmedia_codec_mgr_get_default_param(mgr, &si->fmt, si->param); 
    496     if (status != PJ_SUCCESS) 
     496 
     497    /* When direction is NONE (it means SDP negotiation has failed) we don't 
     498     * need to return a failure here, as returning failure will cause 
     499     * the whole SDP to be rejected. See ticket #: 
     500     *  http:// 
     501     * 
     502     * Thanks Alain Totouom  
     503     */ 
     504    if (status != PJ_SUCCESS && si->dir != PJMEDIA_DIR_NONE) 
    497505        return status; 
    498506 
Note: See TracChangeset for help on using the changeset viewer.