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 committed 2014-10-02 12:24:46 -07:00
1 parent 6bfc05b81e
commit 747322dcc6
3 files changed
+4 -1

No files matched your search

+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: