Changeset 5048 for pjproject


Ignore:
Timestamp:
Apr 7, 2015 2:24:47 AM (9 years ago)
Author:
riza
Message:

Misc (re #1782): Fixed SIP error code not set properly when there's an error in initializing media channel. Thanks to Roman Kublin for the report.

File:
1 edited

Legend:

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

    r4985 r5048  
    12251225    int err_code = 0; 
    12261226 
    1227     if (status != PJ_SUCCESS) 
     1227    if (status != PJ_SUCCESS) { 
     1228        err_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; 
    12281229        goto on_return; 
     1230    } 
    12291231 
    12301232    pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_ENCODING, 
Note: See TracChangeset for help on using the changeset viewer.