Ignore:
Timestamp:
Nov 8, 2007 9:24:30 AM (17 years ago)
Author:
bennylp
Message:
  • Added option to send empty Authorization header in outgoing requests
  • When UAS has sent answer in reliable 1xx, do not put SDP in 2xx
  • Handle the case when UPDATE is challenged with 401/407
  • Obsolete --service-route option in pjsua
File:
1 edited

Legend:

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

    r1556 r1561  
    572572    } 
    573573 
    574     /* Set credentials. */ 
     574    /* Set credentials and preference. */ 
    575575    pjsip_auth_clt_set_credentials(&dlg->auth_sess, acc->cred_cnt, acc->cred); 
     576    pjsip_auth_clt_set_prefs(&dlg->auth_sess, &acc->cfg.auth_pref); 
    576577 
    577578    /* Init callback: */ 
     
    11741175    } 
    11751176 
     1177    /* Set authentication preference */ 
     1178    pjsip_auth_clt_set_prefs(&buddy->dlg->auth_sess, &acc->cfg.auth_pref); 
     1179 
    11761180    pjsip_evsub_set_mod_data(buddy->sub, pjsua_var.mod.id, buddy); 
    11771181 
Note: See TracChangeset for help on using the changeset viewer.