pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36797?usp=email )

 (

2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: SIP_Templates: Allow passing Server field
......................................................................

SIP_Templates: Allow passing Server field

This field is used by an IMS core.

Change-Id: I7816eb4565fb027a2902c60c600a75b96dc293bc
---
M library/SIP_Templates.ttcn
1 file changed, 25 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  Jenkins Builder: Verified
  osmith: Looks good to me, approved




diff --git a/library/SIP_Templates.ttcn b/library/SIP_Templates.ttcn
index e6e8b53..65f9d22 100644
--- a/library/SIP_Templates.ttcn
+++ b/library/SIP_Templates.ttcn
@@ -218,6 +218,16 @@
        optionsTags := optionsTags
 }

+// [20.35 RFC2616 14.38]
+template (value) Server ts_Server(template (value) ServerVal_List serverBody 
:= {}) := {
+       fieldName := SERVER_E,
+       serverBody := serverBody
+}
+template (present) Server tr_Server(template (present) ServerVal_List 
serverBody := ?) := {
+       fieldName := SERVER_E,
+       serverBody := serverBody
+}
+
 // [20.37]
 template (value) Supported ts_Supported(template (value) OptionTag_List 
optionsTags := {}) := {
        fieldName := SUPPORTED_E,
@@ -536,6 +546,7 @@
                template (omit) Require require := omit,
                template (omit) Security_client security_client := omit,
                template (omit) Security_server security_server := omit,
+               template (omit) Server server := omit,
                template (omit) Supported supported := omit,
                template (omit) UserAgent userAgent := ts_UserAgent({ 
"osmo-ttcn3-hacks/0.23" }),
                template (omit) WwwAuthenticate wwwAuthenticate := omit
@@ -562,6 +573,7 @@
        require := require,
        security_client := security_client,
        security_server := security_server,
+       server := server,
        supported := supported,
        toField := {
                fieldName := TO_E,
@@ -587,6 +599,7 @@
                template Require require := *,
                template Security_client security_client := *,
                template Security_server security_server := *,
+               template Server server := *,
                template Supported supported := *,
                template UserAgent userAgent := *,
                template WwwAuthenticate wwwAuthenticate := *
@@ -612,6 +625,7 @@
        require := require,
        security_client := security_client,
        security_server := security_server,
+       server := server,
        supported := supported,
        toField := {
                fieldName := TO_E,

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36797?usp=email
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: I7816eb4565fb027a2902c60c600a75b96dc293bc
Gerrit-Change-Number: 36797
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to