Change in osmo-ttcn3-hacks[master]: SIP_Templates: tr_SIP_BYE: allow violations of the spec (Contact header)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Aug 18 16:44:32 UTC 2020


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19704 )


Change subject: SIP_Templates: tr_SIP_BYE: allow violations of the spec (Contact header)
......................................................................

SIP_Templates: tr_SIP_BYE: allow violations of the spec (Contact header)

According to RFC3261: 20 Header fields, Table 2, Page 161, the Contact headers is not allowed in
BYE requests.

Change-Id: Ida17247a90bf30b14d7a6587b92f14c1c7eb9f7a
---
M library/SIP_Templates.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/04/19704/1

diff --git a/library/SIP_Templates.ttcn b/library/SIP_Templates.ttcn
index 75681a9..241999b 100644
--- a/library/SIP_Templates.ttcn
+++ b/library/SIP_Templates.ttcn
@@ -343,7 +343,7 @@
 					template charstring body
 						) := {
 	requestLine := tr_SIP_ReqLine(BYE_E, to_addr.addr.nameAddr.addrSpec),
-	msgHeader := tr_SIP_msgh_std(call_id, from_addr, to_addr, omit, "BYE", *, seq_nr),
+	msgHeader := tr_SIP_msgh_std(call_id, from_addr, to_addr, *, "BYE", *, seq_nr),
 	messageBody := body,
 	payload := omit
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19704
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ida17247a90bf30b14d7a6587b92f14c1c7eb9f7a
Gerrit-Change-Number: 19704
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200818/6c45f760/attachment.htm>


More information about the gerrit-log mailing list