Changeset 1466


Ignore:
Timestamp:
Oct 1, 2007 12:20:35 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #387: UAS dialog should add Contact header in 1xx response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_dialog.c

    r1459 r1466  
    13111311 
    13121312    /* Add tag etc. if necessary */ 
    1313     dlg_beautify_response(dlg, PJ_FALSE, st_code, tdata); 
     1313    dlg_beautify_response(dlg, st_code/100 <= 2, st_code, tdata); 
    13141314 
    13151315 
     
    15191519    if (!processed && tsx && tsx->status_code < 200) { 
    15201520        pjsip_tx_data *tdata; 
    1521         const pj_str_t reason = { "No session found", 16}; 
     1521        const pj_str_t reason = { "Unhandled by dialog usages", 26}; 
    15221522 
    15231523        PJ_LOG(4,(tsx->obj_name, "%s was unhandled by " 
Note: See TracChangeset for help on using the changeset viewer.