Commit 3116a55e authored by Pekka Pessi's avatar Pekka Pessi

Let nh_init() to call soa_set_params() in ua_invite().

darcs-hash:20051014132917-65a35-5e0d231c6bb4cdf38d0c53ae551f4bc2135c1f90.gz
parent bd7952f4
......@@ -3409,14 +3409,11 @@ ua_invite(nua_t *nua, nua_handle_t *nh, nua_event_t e, tagi_t const *tags)
else if (nh_referral_check(nua, nh, tags) < 0) {
what = "Invalid referral";
}
else {
nh_init(nua, nh, nh_has_invite, NULL, TAG_NEXT(tags));
if (tags && nh->nh_soa)
soa_set_params(nh->nh_soa, TAG_NEXT(tags));
return ua_invite2(nua, nh, e, 0, tags);
else if (nh_init(nua, nh, nh_has_invite, NULL, TAG_NEXT(tags)) < 0) {
what = "Handle initialization failed";
}
else
return ua_invite2(nua, nh, e, 0, tags);
UA_EVENT2(e, 500, what);
signal_call_state_change(nh, 500, what, nua_callstate_init, 0, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment