SIP_Templates: Allow passing Server field
This field is used by an IMS core. Change-Id: I7816eb4565fb027a2902c60c600a75b96dc293bc
This commit is contained in:
parent
13c50ac466
commit
52cc2e5510
|
@ -218,6 +218,16 @@ template (present) Require tr_Require(template (present) OptionTag_List optionsT
|
|||
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 @@ ts_SIP_msgh_std(template (value) CallidString call_id,
|
|||
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 @@ ts_SIP_msgh_std(template (value) CallidString call_id,
|
|||
require := require,
|
||||
security_client := security_client,
|
||||
security_server := security_server,
|
||||
server := server,
|
||||
supported := supported,
|
||||
toField := {
|
||||
fieldName := TO_E,
|
||||
|
@ -587,6 +599,7 @@ tr_SIP_msgh_std(template CallidString call_id,
|
|||
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 @@ tr_SIP_msgh_std(template CallidString call_id,
|
|||
require := require,
|
||||
security_client := security_client,
|
||||
security_server := security_server,
|
||||
server := server,
|
||||
supported := supported,
|
||||
toField := {
|
||||
fieldName := TO_E,
|
||||
|
|
Loading…
Reference in New Issue