Ignore:
Timestamp:
Jun 27, 2008 9:59:15 PM (12 years ago)
Author:
bennylp
Message:

Added more Python tests: offer with multiple media lines

File:
1 edited

Legend:

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

    r2079 r2081  
    977977    /* Reject offer if we couldn't find a good m=audio line in offer */ 
    978978    if (call->audio_idx < 0) { 
    979         if (sip_err_code) *sip_err_code = PJSIP_SC_NOT_ACCEPTABLE; 
     979        if (sip_err_code) *sip_err_code = PJSIP_SC_NOT_ACCEPTABLE_HERE; 
    980980        pjsua_media_channel_deinit(call_id); 
    981         return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE); 
     981        return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE_HERE); 
    982982    } 
    983983 
Note: See TracChangeset for help on using the changeset viewer.