Remove Contact header from BYE and CANCEL requests.

Per rfc3261 the Contact header is not applicable and MUST not appear in
the request.

FS-5868 #resolve
This commit is contained in:
Spencer Thomason
2014-09-16 19:32:51 +00:00
parent 6bfc05b81e
commit 747322dcc6
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2483,7 +2483,7 @@ void sofia_reg_handle_sip_r_challenge(int status,
if (session) {
switch_channel_hangup(switch_core_session_get_channel(session), SWITCH_CAUSE_MANDATORY_IE_MISSING);
} else {
nua_cancel(nh, TAG_END());
nua_cancel(nh, SIPTAG_CONTACT(SIP_NONE), TAG_END());
}
end: