This commit is contained in:
Anthony Minessale 2011-10-18 14:07:30 -05:00
parent 25329545a1
commit 519078b23e
1 changed files with 2 additions and 1 deletions

View File

@ -884,7 +884,8 @@ static void our_sofia_event_callback(nua_event_t event,
}
}
if (sofia_test_pflag(profile, PFLAG_AUTH_ALL) && tech_pvt && tech_pvt->key && sip) {
if (sofia_test_pflag(profile, PFLAG_AUTH_ALL) && tech_pvt && tech_pvt->key && sip && (event < nua_r_set_params || event > nua_r_authenticate)) {
sip_authorization_t const *authorization = NULL;
if (sip->sip_authorization) {