Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Regard whitespace Rev 634 → Rev 635

/branches/v3/ttcn/LibSip_Steps.ttcn
File deleted
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/ttcn/LibSip_Templates.ttcn
===================================================================
--- v3/ttcn/LibSip_Templates.ttcn (revision 634)
+++ v3/ttcn/LibSip_Templates.ttcn (nonexistent)
@@ -1,4607 +0,0 @@
-/**
- * @author STF 346, STF366, STF368, STF369, STF450, STF471
- * @version $Id$
- * @desc This module defines SIP Templates for message, header, and
- * structured types. <br>
- * Note that any changes made to the definitions in this module
- * may be overwritten by future releases of this library
- * End users are encouraged to contact the distributers of this
- * module regarding their modifications or additions.
- * This module is part of LibSipV3.
- * @remark Any additions to the templates shall follow the design rules and always modify base templates only; Existing templates shall not be changed or removed - change requests shall be made to http://t-ort.etsi.org
- */
-module LibSip_Templates {
- // LibSip
- import from LibSip_SIPTypesAndValues all;
- import from LibSip_SDPTypes all;
- import from LibSip_Interface all;
- import from LibSip_PIXITS all;
- import from LibSip_XMLTypes all;
- import from LibSip_SimpleMsgSummaryTypes all;
- import from LibSip_MessageBodyTypes all;
-
- import from NoTargetNamespace language "XSD" all
- with {
- extension "File:../xsd/Ims3gpp.xsd";
- }
-
- import from urn_ietf_params_xml_ns_conference_info language "XSD" all
- with {
- extension "File:../xsd/CONF.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_simservs_pstn language "XSD" all
- with {
- extension "File:../xsd/PSTN.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_simservs_xcap language "XSD" all
- with {
- extension "File:../xsd/SupplementaryServices.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_simservs_mcid language "XSD" all
- with {
- extension "File:../xsd/MCID.xsd";
- }
-
- import from urn_ietf_params_xml_ns_resource_lists language "XSD" all
- with {
- extension "File:../xsd/ResourceList.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_comm_div_info language "XSD" all
- with {
- extension "File:../xsd/CDIVN.xsd";
- }
-
- import from urn_3gpp_ns_cw_1_0 language "XSD" all
- with {
- extension "File:../xsd/cw.xsd";
- }
-
- group SubFields {
-
- template(value) Addr_Union m_AddrUnion_NameAddr(template(value) NameAddr p_nameAddr) := {nameAddr := p_nameAddr}
-
- template(value) Addr_Union m_AddrUnion_DisplayAndSipUrl(
- template(value) charstring p_displayName,
- template(value) SipUrl p_addrSpec
- ) := {
- nameAddr := m_CallingAddr(p_displayName, p_addrSpec)
- }
-
- template(value) NameAddr m_NameAddr(
- template(omit) charstring p_displayName := omit,
- template(value) SipUrl p_addrSpec
- ) := {
- displayName := p_displayName,
- addrSpec := p_addrSpec
- }
-
- template(value) NameAddr m_CallingAddr(
- template(value) charstring p_displayName,
- template(value) SipUrl p_addrSpec
- ) := m_NameAddr(p_displayName, p_addrSpec);
-
- template(present) NameAddr mw_NameAddr(
- template charstring p_displayName,
- template(present) SipUrl p_addrSpec := ?
- ) := {
- displayName := p_displayName,
- addrSpec := p_addrSpec
- }
-
- template(present) CommaParam_List mw_digestResponse(
- template(present) GenericParam p_genericParam := ?
- ) := superset(p_genericParam);
-
- //* c_Integrity_protected_yes
- /**
- * @desc send template for parameter list with CPC set to a specific value
- * @param p_ISUP_CPC_value CPC parameter value
- * former PX_SIP_ISUP_CPC_VALUE
- */
- template(value) SemicolonParam_List m_cpc(
- template(value) charstring p_ISUP_CPC_value := "prison"
- ) := {
- {
- "cpc",
- {tokenOrHost := p_ISUP_CPC_value}
- }
- }
-
- template(value) SemicolonParam_List m_ReasonParams(
- template(omit) GenValue p_cause := omit,
- template(value) GenValue p_text
- ) := {
- m_Cause(p_cause), m_Text(p_text)
- }
-
- template(present) SemicolonParam_List mw_ReasonParams(
- template GenValue p_cause,
- template GenValue p_text
- ) := {
- mw_Cause_base(p_cause), mw_Text(p_text)
- }
-
- template(value) ReasonValue m_ReasonValue_Base := {
- token := "",
- reasonParams := omit
- }
-
- template(present) ReasonValue mw_ReasonValue_Base := {
- token := ?,
- reasonParams := *
- }
-
- template(value) ReasonValue m_ReasonValue_param(
- template(value) GenValue p_cause,
- template(value) GenValue p_text
- ) modifies m_ReasonValue_Base := {
- reasonParams := m_ReasonParams(p_cause, p_text)
- }
-
- template(present) ReasonValue mw_ReasonValue_param(
- template GenValue p_cause,
- template GenValue p_text
- ) modifies mw_ReasonValue_Base := {
- reasonParams := mw_ReasonParams(p_cause, p_text)
- }
-
- template(value) ReasonValue m_ReasonValue(
- template(value) GenValue p_cause,
- template(value) GenValue p_text
- ) modifies m_ReasonValue_param := {
- token := "Q.850"
- }
-
- template(present) ReasonValue mw_ReasonValue(
- template GenValue p_cause,
- template GenValue p_text
- ) modifies mw_ReasonValue_param := {
- token := "Q.850"
- }
-
- template(value) ReasonValue m_ReasonValueSIP(
- template(value) GenValue p_cause,
- template(value) GenValue p_text
- ) modifies m_ReasonValue_param := {
- token := "SIP"
- }
-
- template(present) ReasonValue mw_ReasonValueSIP(
- template GenValue p_cause,
- template GenValue p_text
- ) modifies mw_ReasonValue_param := {
- token := "SIP"
- }
-
- template(present) RouteBody mw_routeBody(
- template(present) SipUrl p_sipurl := ?
- ) := {
- nameAddr := mw_NameAddr(*, p_sipurl),
- rrParam := *
- }
-
- template(value) SentProtocol m_SentProtocol(
- template(value) charstring p_protocol
- ) := {
- protocolName := c_sipName,
- protocolVersion := c_sipVersion,
- transport := p_protocol
- }
-
- template(value) SipUrl m_BasicSipUrl := {
- scheme := (c_sipScheme),
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := "", //* charstring
- password :=
- omit //* optional charstring
- },
- hostPort := {
- host := omit, //* hostname, IPv4 or IPv6 as a charstring
- portField :=
- omit //* p_userprofile.currPort - optional integer
- }
- }
- },
- urlParameters := omit,
- headers := omit
- }
-
- template(value) SipUrl m_SipUrl_currDomain_Base(
- template(value) SipUserProfile p_userprofile
- ) modifies m_BasicSipUrl := {
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := p_userprofile.publUsername
- }
- }
- }
- }
-
- template(value) SipUrl m_SipUrl_currDomain(
- template(value) SipUserProfile p_userprofile
- ) modifies m_SipUrl_currDomain_Base := {
- components := {
- sip := {
- hostPort := {
- host :=
- p_userprofile
- .homeDomain //* hostname, IPv4 or IPv6 as a charstring
- }
- }
- }
- }
-
- template(value) SipUrl m_SipUrl_contactIpaddr(
- template(value) SipUserProfile p_userprofile
- ) modifies m_SipUrl_currDomain_Base := {
- components := {
- sip := {
- hostPort := {
- host := p_userprofile.contactIpaddr, //* hostname, IPv4 or IPv6 as a charstring
- portField :=
- p_userprofile
- .contactPort //* optional integer
- }
- }
- }
- }
- /**
- * @desc send template with SIP userinfo
- * @param p_userprofile SIP user profile values
- * @param p_ISUP_CPC_value CPC parameter value
- * former PX_SIP_ISUP_CPC_VALUE
- */
- template(value) SipUrl m_SipUrl_contactIpaddrAndCpc(
- template(value) SipUserProfile p_userprofile,
- template(value) charstring p_ISUP_CPC_value := "prison"
- ) modifies m_SipUrl_contactIpaddr := {
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber :=
- p_userprofile.publUsername & "; cpc=" &
- p_ISUP_CPC_value
- }
- }
- }
- }
-
- template(value) SipUrl m_SipUrl_currIpaddr(
- template(value) SipUserProfile p_userprofile
- ) modifies m_SipUrl_currDomain_Base := {
- components := {
- sip := {
- hostPort := {
- host := p_userprofile.currIpaddr, //* hostname, IPv4 or IPv6 as a charstring
- portField :=
- p_userprofile
- .currPort //* optional integer
- }
- }
- }
- }
-
- template(value) SipUrl m_SipUrl_Anonymous modifies m_BasicSipUrl := {
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber :=
- "Anonymous" //* charstring
- },
- hostPort := {
- host :=
- "Anonymous.invalid" //* hostname, IPv4 or IPv6 as a charstring
- }
- }
- }
- }
-
- template(value) SipUrl m_SipUrl_NumberHostHeader(
- template(value) charstring p_number,
- template(value) charstring p_host,
- template(omit) AmpersandParam_List p_urlParameters := omit
- ) modifies m_BasicSipUrl := {
- components := {
- sip := {
- userInfo := {userOrTelephoneSubscriber := p_number},
- hostPort := {host := p_host}
- }
- },
- urlParameters := p_urlParameters
- }
-
- template(value) SipUrl m_SipUrl_NumberHostParam(
- template(value) charstring p_number,
- template(value) charstring p_host,
- template(omit) AmpersandParam_List p_urlParameters := omit
- ) modifies m_SipUrl_NumberHostHeader := {
- components := {sip := {hostPort := {portField := c_defaultSipPort}}}
- }
-
- template(value) SipUrl m_SipUrl_NumberHostParam_woPort(
- template(value) charstring p_number,
- template(value) charstring p_host,
- template(omit) AmpersandParam_List p_urlParameters := omit
- ) modifies m_SipUrl_NumberHostParam := {
- components := {sip := {hostPort := {portField := omit}}}
- }
-
- template(present) SipUrl m_BasicTelUrl := {
- scheme := (c_telScheme),
- components := {tel := {subscriber := ""}},
- urlParameters := omit,
- headers := omit
- }
-
- template(value) SipUrl m_TelUrl_publUser(
- template(value) SipUserProfile p_userprofile
- ) modifies m_BasicTelUrl := {
- components := {
- tel := {
- subscriber :=
- p_userprofile
- .publUsername //* charstring
- }
- }
- }
-
- template(present) SipUrl mw_TelUrl := {
- scheme := c_telScheme,
- components := {tel := {subscriber := ?}},
- urlParameters := *,
- headers := *
- }
-
- template(present) SipUrl mw_SipUrl := {
- scheme := c_sipScheme,
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := ?,
- password := *
- },
- hostPort := {
- host := *,
- portField := *
- }
- }
- },
- urlParameters := *,
- headers := *
- }
-
- template(present) SipUrl mw_TelSip_unavailableInvalidUri := (mw_TelSip_unavailableInvalidUri1, mw_TelSip_unavailableInvalidUri2);
-
- template(present) SipUrl mw_TelSip_unavailableInvalidUri1 modifies mw_SipUrl := {
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := "unavailable"
- },
- hostPort := {
- host := "anonymous.invalid",
- portField := c_defaultSipPort
- }
- }
- }
- }
- template(present) SipUrl mw_TelSip_unavailableInvalidUri2 modifies mw_TelUrl := {
- components := {tel := {subscriber := "unavailable"}}
- }
-
- template(present) SipUrl mw_TelSip_unavailableUri(
- template(value) charstring p_host
- ) := (mw_TelSip_unavailableUri1, mw_TelSip_unavailableUri2(p_host));
-
- template(present) SipUrl mw_TelSip_unavailableUri1 modifies mw_TelUrl := {
- components := {tel := {subscriber := "unavailable"}}
- }
-
- template(present) SipUrl mw_TelSip_unavailableUri2(
- template(value) charstring p_host
- ) modifies mw_SipUrl := {
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := "unavailable"
- },
- hostPort := {
- host := p_host,
- portField := c_defaultSipPort
- }
- }
- }
- }
-
- template(present) SipUrl mw_SipUrl_Number(
- template(present) charstring p_number := ?
- ) modifies mw_SipUrl := {
- components := {
- sip := {
- userInfo := {userOrTelephoneSubscriber := p_number},
- hostPort := ?
- }
- }
- }
-
- template(present) SipUrl mw_TelSipUrl_Number(
- template(present) charstring p_number := ?
- ) := (mw_SipUrl_Number(p_number), mw_TelSipUrl_Number2(p_number));
-
- template(present) SipUrl mw_TelSipUrl_Number1(
- template(present) charstring p_number := ?
- ) := mw_SipUrl_Number(p_number);
-
- template(present) SipUrl mw_TelSipUrl_Number2(
- template(present) charstring p_number := ?
- ) modifies mw_TelUrl := {
- components := {
- tel := {
- subscriber := p_number
- }
- }
- }
-
- template(present) SipUrl mw_SipUrl_Host(
- template charstring p_host
- ) modifies mw_SipUrl := {
- components := {
- sip := {
- userInfo := *,
- hostPort := {host := p_host}
- }
- }
- }
-
- template(present) SipUrl mw_SipUrl_User_Host(
- template(present) charstring p_user := ?,
- template charstring p_host
- ) modifies mw_SipUrl := {
- components := {
- sip := {
- userInfo := {userOrTelephoneSubscriber := p_user},
- hostPort := {
- host :=
- p_host //* hostname, IPv4 or IPv6 as a charstring
- }
- }
- },
- urlParameters := {m_UserPhone}
- }
-
- template(present) SipUrl mw_SipUrl_Anonymous modifies mw_SipUrl := {
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := pattern "[a,A][n,N][o,O][n,N][y,Y][m,M][o,O][u,U][s,s]" //* charstring
- },
- hostPort := {
- host :=
- pattern
- "[a,A]nonymous.invalid" //* hostname, IPv4 or IPv6 as a charstring
- }
- }
- }
- }
-
- template(present) SipUrl mw_SipUrl_urlParam(
- template SemicolonParam_List p_urlParameters
- ) modifies mw_SipUrl := {
- urlParameters := p_urlParameters
- }
-
- template(present) ContactAddress mw_ContactAddress := {
- addressField := ?,
- contactParams := *
- }
-
- template(present) HostPort mw_hostPort(
- template charstring p_host,
- template integer p_portField
- ) := {
- host := p_host,
- portField := p_portField
- }
-
- template(present) StatusLine mw_statusLine_any := {
- sipVersion := c_sipNameVersion,
- statusCode := ?,
- reasonPhrase := ?
- }
-
- template(present) StatusLine mw_statusLine(
- in template(present) integer p_statusCode := ?,
- in template(present) charstring p_reasonPhrase := ?
- ) modifies mw_statusLine_any := {
- statusCode := p_statusCode,
- reasonPhrase := p_reasonPhrase
- }
-
- template(present) StatusLine mw_statusLine1xx modifies mw_statusLine_any := {statusCode := (100 .. 199)}
-
- template(present) StatusLine mw_statusLine2xx modifies mw_statusLine_any := {statusCode := (200 .. 299)}
-
- template(present) StatusLine mw_statusLine3xx modifies mw_statusLine_any := {statusCode := (300 .. 399)}
-
- template(present) StatusLine mw_statusLine4xx modifies mw_statusLine_any := {statusCode := (400 .. 499)}
-
- template(present) StatusLine mw_statusLine5xx modifies mw_statusLine_any := {statusCode := (500 .. 599)}
-
- template(present) StatusLine mw_statusLine6xx modifies mw_statusLine_any := {statusCode := (600 .. 699)}
-
- template(present) StatusLine mw_statusLineFinal modifies mw_statusLine_any := {statusCode := (200 .. 699)}
-
- template(present) NameAddr mw_NameAddr_DispName_User_Host(
- template charstring p_dn,
- template(present) charstring p_user := ?,
- template charstring p_host
- ) := {
- displayName := p_dn,
- addrSpec := {
- scheme := c_sipScheme, //* contains "sip"
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := p_user,
- password := *
- },
- hostPort := {
- host := p_host, //* hostname, IPv4 or IPv6 as a charstring
- portField :=
- * //* optional integer
- }
- }
- },
- urlParameters := {m_UserPhone},
- headers := *
- }
- }
-
- template(present) Addr_Union mw_AddrUnion_Nameaddr(
- template charstring p_dn,
- template(present) charstring p_user := ?,
- template charstring p_host
- ) := {
- nameAddr := mw_NameAddr_DispName_User_Host(p_dn, p_user, p_host)
- }
-
- template(present) Addr_Union mw_AddrUnion_SipUrl(
- template(present) charstring p_user := ?,
- template charstring p_host
- ) := {
- addrSpecUnion := mw_SipUrl_User_Host(p_user, p_host)
- }
-
-
- } //* end group Subfields
-
- group HeaderFieldTemplates {
- template(value) LibSip_SIPTypesAndValues.Allow m_Allow(
- template(value) Method_List p_methods
- ) := {
- fieldName := ALLOW_E,
- methods := p_methods
- }
-
- template(present) LibSip_SIPTypesAndValues.Allow mw_Allow(
- template(value) charstring p_method
- ) := {
- fieldName := ALLOW_E,
- methods := superset(p_method)
- }
-
- template(value) GenericParam m_Cause(
- template(omit) GenValue p_cause := omit
- ) := {
- id := "cause",
- paramValue := p_cause
- }
-
- template(present) GenericParam mw_Cause_base(
- template GenValue p_cause
- ) := {
- id := "cause",
- paramValue := p_cause
- }
-
- template(present) GenericParam mw_Cause(
- template(value) charstring p_cause
- ) := {
- id := ?,
- paramValue := { tokenOrHost := pattern "*{p_cause}*" }
- }
-
- template(value) Authorization m_Authorization(
- template(value) Credentials p_credentials
- ) := {
- fieldName := AUTHORIZATION_E,
- body := {p_credentials}
- }
-
- template(value) Authorization m_Authorization_digest(
- template(value) CommaParam_List p_commaParam_List
- ) := {
- fieldName := AUTHORIZATION_E,
- body := {{digestResponse := p_commaParam_List}}
- }
-
- template(present) Authorization mw_Authorization_digest(
- template(present) CommaParam_List p_commaParam_List := ?
- ) := {
- fieldName := AUTHORIZATION_E,
- body := {{digestResponse := p_commaParam_List}}
- }
-
- template(value) Authorization m_add_Authorization_digest(
- template(value) Authorization p_auth,
- template(value) CommaParam_List p_commaParam_List
- ) := {
- fieldName := AUTHORIZATION_E,
- body := {{digestResponse := f_merge_CommaParam_List(p_auth.body[0].digestResponse, p_commaParam_List)}}
- }
-
- template(present) Authorization mw_Authorization_other := {
- fieldName := AUTHORIZATION_E,
- body := {{otherResponse := ?}}
- }
-
- template(value) Contact m_Contact(
- template(value) SipUrl p_sipUrl
- ) := {
- fieldName := CONTACT_E,
- contactBody := {
- contactAddresses := {
- {
- addressField := {addrSpecUnion := p_sipUrl},
- contactParams := omit
- }
- }
- } //* end contactBody
- } //* end m_Contact
-
- template(value) Contact m_Contact_profile(
- template(value) SipUserProfile p_userprofile
- ) := {
- fieldName := CONTACT_E,
- contactBody := {
- contactAddresses := {
- {
- addressField := {addrSpecUnion := m_SipUrl_contactIpaddr(p_userprofile)},
- contactParams := omit
- }
- }
- } //* end
- //* contactBody
- } //* end m_Contact
-
-
- template(value) Contact m_Contact_profile_expires(
- template(value) SipUserProfile p_userprofile,
- template(value) GenValue p_expires
- ) := {
- fieldName := CONTACT_E,
- contactBody := {
- contactAddresses := {
- {
- addressField := {addrSpecUnion := m_SipUrl_contactIpaddr(p_userprofile)},
- contactParams := {
- {
- "expires",
- p_expires
- }
- }
- }
- }
- } //* end contactBody
- } //* end m_Contact
-
- template(value) From m_From(
- template(value) NameAddr p_nameAddr,
- template(value) GenValue p_tag_str
- ) := {
- fieldName := FROM_E,
- addressField := {nameAddr := p_nameAddr}, //* end addressField
- fromParams := {
- {
- id := c_tagId,
- paramValue := p_tag_str
- }
- }
- }
-
- template(value) From m_From_Anonymous(
- template(value) GenValue p_tag_str
- ) := {
- fieldName := FROM_E,
- addressField := {
- nameAddr :=
- m_NameAddr(
- "Anonymous",
- //* optional charstring
- m_SipUrl_Anonymous //* SipUrl
- )
- }, //* end addressField
- fromParams := {
- {
- id := c_tagId,
- paramValue := p_tag_str
- }
- }
- }
-
- template(value) From m_From_SipUrl(
- template(value) SipUrl p_sipUrl
- ) := {
- fieldName := FROM_E,
- addressField := {
- nameAddr :=
- m_NameAddr(
- omit,
- //* optional charstring
- p_sipUrl //* SipUrl
- )
- }, //* end addressField
- fromParams := omit
- }
-
- template(value) Event m_Event_base := {
- fieldName := EVENT_E,
- eventType := "",
- eventParams := omit
- }
-
- template(value) Event m_Event_refer modifies m_Event_base := {eventType := "refer"}
-
- template(value) Event m_Event_conference modifies m_Event_base := {eventType := "conference"}
-
- template(value) Event m_Event_presence modifies m_Event_base := {eventType := "presence"}
-
- template(value) Event m_Event_reg modifies m_Event_base := {eventType := "reg"}
-
- template(value) Event m_Event_cdiv modifies m_Event_base := {eventType := "comm-div-info"}
-
- template(value) Event m_Event_mcid := m_Event_cdiv;
-
- template(value) Expires m_Expires_base := {
- fieldName := EXPIRES_E,
- deltaSec := ""
- }
-
- template(value) Expires m_Expires_600000 modifies m_Expires_base := {deltaSec := "600000"}
-
- template(value) Expires m_Expires(
- template(value) charstring p_deltaSec
- ) modifies m_Expires_base := {
- deltaSec := p_deltaSec
- }
-
- template(present) Expires mw_Expires(
- template(present) charstring p_deltaSec := ?
- ) := {
- fieldName := EXPIRES_E,
- deltaSec := p_deltaSec
- }
-
- template(value) HistoryInfo m_HistoryInfo(
- template(value) HistoryInfo_List p_HistoryInfo_List
- ) := {
- fieldName := HISTORY_INFO_E,
- historyInfoList := p_HistoryInfo_List
- }
-
- template(present) HistoryInfo mw_HistoryInfo(
- template(present) HistoryInfo_List p_HistoryInfo_List := ?
- ) := {
- fieldName := HISTORY_INFO_E,
- historyInfoList := p_HistoryInfo_List
- }
-
- template(value) HistoryInfoEntry m_HistoryInfoEntry(
- template(value) SipUrl p_Url,
- template(omit) IntegerList p_index := omit,
- template(omit) SemicolonParam_List p_paramlist := omit
- ) := {
- nameAddr := m_NameAddr(omit, p_Url),
- hiIndex := p_index,
- hiExtention := p_paramlist
- }
-
- template(present) HistoryInfoEntry mw_HistoryInfoEntry(
- template(present) SipUrl p_Url := ?,
- template IntegerList p_index,
- template SemicolonParam_List p_paramlist
- ) := {
- nameAddr := mw_NameAddr(*, p_Url),
- hiIndex := p_index,
- hiExtention := p_paramlist
- }
-
- template(value) PAssertedID m_PAssertedID(
- template(value) Addr_Union p_pAssertedIDValue
- ) := {
- fieldName := P_ASSERTED_ID_E,
- pAssertedIDValueList := {p_pAssertedIDValue}
- }
-
- template(value) PAssertedID m_PAssertedID_2x(
- template(value) Addr_Union p_pAssertedIDValue,
- template(value) Addr_Union p_pAssertedIDValue2
- ) modifies m_PAssertedID := {
- pAssertedIDValueList := {p_pAssertedIDValue, p_pAssertedIDValue2}
- }
-
- template(present) PAssertedID mw_PAssertedID(
- template(present) PAssertedIDValue p_pAssertedIDValue := ?
- ) := {
- fieldName := P_ASSERTED_ID_E,
- pAssertedIDValueList := {p_pAssertedIDValue}
- }
-
- template(present) PAssertedIDValue mw_PAssertedIDValue(
- template(present) SipUrl p_SipUrl := ?
- ) := {
- nameAddr := {
- displayName := *,
- addrSpec := p_SipUrl
- }
- }
-
- template(value) PPreferredID m_PPreferredID(
- template(value) Addr_Union p_pPreferredIDValue
- ) := {
- fieldName := P_PREFERRED_ID_E,
- pPreferredIDValueList := {p_pPreferredIDValue}
- }
-
- template(value) Privacy m_Privacy(
- template(value) PrivacyValue p_privacy
- ) := {
- fieldName := PRIVACY_E,
- privValueList := {p_privacy}
- }
-
- template(present) Privacy mw_Privacy_Base(
- template(present) charstring p_value := ?
- ) := {
- fieldName := PRIVACY_E,
- privValueList := {*, p_value, *}
- }
-
- template(present) Privacy mw_Privacy_id := mw_Privacy_Base("id");
-
- template(present) Privacy mw_Privacy_user := mw_Privacy_Base("user");
-
- template(value) RAck m_RAck(
- integer p_responseNum,
- integer p_seqNumber,
- charstring p_method
- ) := {
- fieldName := RACK_E,
- responseNum := p_responseNum,
- seqNumber := p_seqNumber,
- method := p_method
- }
-
- template(value) Reason m_Reason(
- template(value) integer p_cause
- ) := {
- fieldName := REASON_E,
- reasonValues := {m_ReasonValue({tokenOrHost := int2str(valueof(p_cause))}, { tokenOrHost := "dummy"})}
- }
-
- template(value) Reason m_Reason21 := {
- fieldName := REASON_E,
- reasonValues := {m_ReasonValue({tokenOrHost := int2str(21)}, { tokenOrHost := "call reject"})}
- }
-
- template(present) Reason mw_Reason_Base := {
- fieldName := REASON_E,
- reasonValues := {}
- }
-
- template(present) Reason mw_Reason(
- template(value) GenValue p_cause
- ) modifies mw_Reason_Base := {
- reasonValues := {mw_ReasonValue(p_cause, ?)}
- }
-
- template(present) Reason mw_ReasonSIP(
- template(value) GenValue p_cause
- ) modifies mw_Reason_Base := {
- reasonValues := {mw_ReasonValueSIP(p_cause, ?)}
- }
-
- template(value) RecordRoute m_recordRoute_currIpAddr(
- template(value) SipUserProfile p_userprofile
- ) := {
- fieldName := RECORD_ROUTE_E,
- routeBody := {
- {
- nameAddr := {
- displayName := omit,
- addrSpec := {
- scheme := c_sipScheme, //* contains "sip"
- components := {
- sip := {
- userInfo := omit,
- hostPort := {
- host := p_userprofile.currIpaddr,
- portField := p_userprofile.currPort
- }
- }
- },
- urlParameters := omit,
- headers := omit
- }
- },
- rrParam := omit
- }
- }
- }
-
- template(value) RecordRoute m_recordRoute_currIpAddr_params(
- template(value) SipUserProfile p_userprofile,
- template(value) SemicolonParam_List p_urlParameters
- ) := {
- fieldName := RECORD_ROUTE_E,
- routeBody := {
- {
- nameAddr := {
- displayName := omit,
- addrSpec := {
- scheme := c_sipScheme, //* contains "sip"
- components := {
- sip := {
- userInfo := omit,
- hostPort := {
- host := p_userprofile.currIpaddr,
- portField := p_userprofile.currPort
- }
- }
- },
- urlParameters := p_urlParameters,
- headers := omit
- }
- },
- rrParam := omit
- }
- }
- }
-
- template(value) RouteBody m_routeBody_currIpAddr(
- template(value) SipUserProfile p_userprofile
- ) := {
- nameAddr := {
- displayName := omit,
- addrSpec := {
- scheme := c_sipScheme, //* contains "sip"
- components := {
- sip := {
- userInfo := omit,
- hostPort := {
- host := p_userprofile.homeDomain,
- portField := p_userprofile.currPort
- }
- }
- },
- urlParameters := omit,
- headers := omit
- }
- },
- rrParam := omit
- }
-
- template(value) ReferredBy m_ReferredBy_SipUrl(
- template(value) SipUrl p_sipUrl
- ) := {
- fieldName := REFERRED_BY_E,
- nameAddr :=
- m_NameAddr(
- // STF471 {displayName
- omit,
- // := omit,
- p_sipUrl // addrSpec:=p_sipUrl}
- ),
- referredbyIdParams := omit
- }
-
- template(value) ReferTo m_ReferTo_SipUrl(
- template(value) SipUrl p_sipUrl,
- template(value) GenValue p_method
- ) := {
- fieldName := REFER_TO_E,
- nameAddr :=
- m_NameAddr(
- // STF471 {displayName
- omit,
- // := omit,
- p_sipUrl // addrSpec:=p_sipUrl}
- ),
- referToParams := {
- {
- id := "method",
- paramValue := p_method
- }
- }
- }
-
- template(value) ReferSub m_ReferSub(
- template(value) boolean p_value
- ) := {
- fieldName := REFER_SUB_E,
- referSubValue := p_value,
- referSubParams := omit
- }
-
- template(value) Replaces m_Replaces(
- template(value) charstring p_callId,
- template(value) GenValue p_toTag,
- template(value) GenValue p_fromTag
- ) := {
- fieldName := REPLACES_E,
- callid := p_callId,
- replacesParams := {
- {
- id := "to-tag",
- paramValue := p_toTag
- },
- {
- id := "from-tag",
- paramValue := p_fromTag
- }
- }
- }
-
- template(value) Require m_Require_empty := {
- fieldName := REQUIRE_E,
- optionsTags := {""}
- }
-
- template(value) Require m_Require_replaces modifies m_Require_empty := {optionsTags := {c_replaces}}
-
- template(value) Require m_Require_100rel modifies m_Require_empty := {optionsTags := {c_tag100rel}}
-
- template(value) Require m_Require_prec modifies m_Require_empty := {optionsTags := {c_tagPrecond}}
-
- template(value) SubscriptionState m_SubscriptionState_active := {
- fieldName := SUBSCRIPTION_STATE_E,
- subState := "active",
- substateParams := {
- {
- id := "expires",
- paramValue := {tokenOrHost := "60000"}
- }
- }
- }
-
- template(value) Supported m_Supported_empty := {
- fieldName := SUPPORTED_E,
- optionsTags := {""}
- }
-
- template(value) Supported m_Supported_fromChange modifies m_Supported_empty := {optionsTags := {c_tagFromChange}}
-
- template(value) Supported m_Supported_prec modifies m_Supported_empty := {optionsTags := {c_tagPrecond}}
-
- template(value) Supported m_Supported_100rel modifies m_Supported_empty := {optionsTags := {c_tag100rel}}
-
- template(value) Supported m_Supported_100rel_prec modifies m_Supported_empty := {optionsTags := {c_tag100rel, c_tagPrecond}}
-
- template(value) GenericParam m_Text(
- template(value) GenValue p_text
- ) := {
- id := "text",
- paramValue := p_text
- }
-
- template(present) GenericParam mw_Text(
- template GenValue p_text
- ) := {
- id := "text",
- paramValue := p_text
- }
-
- template(value) GenericParam m_UserPhone := {
- id := "user",
- paramValue := { quotedString := "phone" }
- }
-
- template(value) GenericParam m_UserToUserEncodingHex := {
- id := "encoding",
- paramValue := { quotedString := "hex" }
- }
-
- template(value) UserToUser m_UserToUserData(
- template(value) UserToUser.uuiData p_U2UData
- ) := {
- fieldName := USER_TO_USER_E,
- uuiData := p_U2UData,
- uuiParam := m_UserToUserEncodingHex
- }
-
- template(value) To m_To(
- template(value) SipUrl p_sipUrl
- ) := {
- fieldName := TO_E,
- addressField := {
- nameAddr :=
- m_NameAddr(
- "ETSI Tester",
- //* optional charstring
- p_sipUrl //* SipUrl
- )
- }, //* end addressField
- toParams := omit
- }
-
- template(value) To m_To_SipUrl(
- template(value) SipUrl p_sipUrl
- ) modifies m_To := {
- addressField := {
- nameAddr := {
- displayName :=
- omit //* optional charstring
- }
- } //* end addressField
- }
-
- template(present) To mw_To_NameAddr_SipUrl(
- template charstring p_dn,
- template(present) charstring p_user := ?,
- template charstring p_host
- ) := {
- fieldName := TO_E,
- addressField := (mw_AddrUnion_Nameaddr(p_dn, p_user, p_host), mw_AddrUnion_SipUrl(p_user, p_host)),
- toParams := *
- }
-
- template(present) To mw_To(
- template(present) SipUrl p_sipUrl := ?
- ) := {
- fieldName := TO_E,
- addressField := {nameAddr := mw_NameAddr(*, p_sipUrl)},
- toParams := *
- }
-
- template(present) From mw_From(
- template(present) SipUrl p_sipUrl := ?
- ) := {
- fieldName := FROM_E,
- addressField := {nameAddr := mw_NameAddr(*, p_sipUrl)},
- fromParams := *
- }
-
- template(present) From mw_From_NameAddr_SipUrl(
- template charstring p_dn,
- template(present) charstring p_user := ?,
- template charstring p_host
- ) := {
- fieldName := FROM_E,
- addressField := (mw_AddrUnion_Nameaddr(p_dn, p_user, p_host), mw_AddrUnion_SipUrl(p_user, p_host)),
- fromParams := *
- }
- template(value) ViaBody m_ViaBody_currIpaddr(
- template(value) charstring p_branch_val,
- template(value) SipUserProfile p_userprofile
- ) := {
- sentProtocol := m_SentProtocol(PX_SIP_TRANSPORT),
- sentBy := {
- host := p_userprofile.currIpaddr,
- portField := p_userprofile.currPort
- },
- viaParams := {
- {
- id := c_branchId,
- paramValue := {
- tokenOrHost := p_branch_val
- }
- }
- }
- }
-
- template(present) ViaBody mw_ViaBody_interface(
- template(present) HostPort p_hostport := ?
- ) := {
- sentProtocol := m_SentProtocol(PX_SIP_TRANSPORT),
- sentBy := {
- host := p_hostport.host,
- portField := p_hostport.portField
- },
- viaParams := *
- }
-
- template(present) Via mw_Via(
- template(present) ViaBody p_viabody := ?
- ) := {
- fieldName := VIA_E,
- viaBody := {*, p_viabody, *} // superset(p_viabody)
- }
-
- template(present) CallId mw_CallId_any := {
- fieldName := CALL_ID_E,
- callid := ?
- }
-
- template(present) Require mw_Require_Base := {
- fieldName := REQUIRE_E,
- optionsTags := {}
- }
-
- template(present) Require mw_Require_not_100rel modifies mw_Require_Base := {optionsTags := superset(complement(c_tag100rel))}
-
- template(present) Require mw_require_100rel modifies mw_Require_Base := {optionsTags := superset(c_tag100rel)}
-
- template(present) RecordRoute mw_recordroute(
- template(present) RouteBody p_routeBody := ?
- ) := {
- fieldName := RECORD_ROUTE_E,
- routeBody := {*, p_routeBody, *} // superset(p_routeBody)
- }
-
- template(present) Route mw_route(
- template(present) RouteBody_List p_routeBody := ?
- ) := {
- fieldName := ROUTE_E,
- routeBody := p_routeBody
- }
-
- template(present) Supported mw_Supported_Base := {
- fieldName := SUPPORTED_E,
- optionsTags := {}
- }
-
- template(present) Supported mw_Supported_100rel_prec modifies mw_Supported_Base := {optionsTags := superset(c_tag100rel, c_tagPrecond)}
-
- template(present) Supported mw_Supported_100rel modifies mw_Supported_Base := {optionsTags := superset(c_tag100rel)}
-
- template(present) Supported mw_Supported_fromChange modifies mw_Supported_Base := {optionsTags := superset(c_tagFromChange)}
-
- template(present) UserToUser mw_UserToUserData(
- template(present) UserToUser.uuiData p_U2UData := ?
- ) := {
- fieldName := USER_TO_USER_E,
- uuiData := p_U2UData,
- uuiParam := ?
- }
-
- template(present) Contact mw_Contact_conference := {
- fieldName := CONTACT_E,
- contactBody := {
- contactAddresses := {
- {
- addressField := {
- nameAddr := {
- displayName := *,
- addrSpec := {
- scheme := ?,
- components := ?,
- urlParameters := {
- {
- "isfocus",
- *
- },
- *
- },
- headers := *
- }
- }
- },
- contactParams := *
- }
- }
- }
- }
-
- template(value) AlertInfo m_AlertInfo_Base := {
- fieldName := ALERT_INFO_E,
- alertInfoBody := {}
- }
-
- template(value) AlertInfo m_AlertInfo(
- template(value) charstring p_urn
- ) modifies m_AlertInfo_Base := {
- alertInfoBody := {
- {
- p_urn,
- omit
- }
- }
- }
-
- template(present) AlertInfo mw_AlertInfo(
- template(present) charstring p_urn := ?
- ) modifies m_AlertInfo_Base := {
- alertInfoBody :=
- superset(
- {
- p_urn,
- omit
- }
- )
- }
-
-
- } //* end of group HeaderFieldTemplates
-
-
- group MessageTemplates {
-
- group dummy_templates {
-
- group dummy_parameter_send {
-
- template(value) RequestLine m_requestLine_dummy(
- template(value) Method p_method
- ) := {
- method := p_method,
- requestUri := c_unavailableUri,
- sipVersion := c_sipNameVersion
- }
-
- template(value) MessageHeader m_msgHeader_dummy := {
- accept := omit,
- acceptContact := omit,
- acceptEncoding := omit,
- acceptLanguage := omit,
- alertInfo := omit,
- allow := omit,
- allowEvents := omit, //* RFC3265
- authenticationInfo := omit,
- authorization := omit,
- callId := c_empty_CallId,
- callInfo := omit,
- contact := omit,
- contentDisposition := omit,
- contentEncoding := omit,
- contentLanguage := omit,
- contentLength := {
- fieldName := CONTENT_LENGTH_E,
- len := 0
- },
- contentType := omit, //* if message body present m,
- //* else not present
- cSeq := c_empty_cSeq,
- date := omit,
- errorInfo := omit,
- event := omit, //* RFC3265
- expires := omit,
- fromField := c_empty_From,
- geolocation := omit,
- geolocationRouting := omit,
- historyInfo := omit, //* RFC4244
- inReplyTo := omit,
- maxForwards := c_maxForwards70,
- mimeVersion := omit,
- minExpires := omit,
- minSE := omit, //* RFC4028
- organization := omit,
- pAccessNetworkInfo := omit, //* RFC3455
- pAssertedID := omit,
- pAssertedService := omit,
- pAssociatedURI := omit,
- path := omit, //* RFC3327
- pCalledPartyID := omit, //* RFC3455
- pChargingFunctionAddresses := omit, //* RFC3455
- pChargingVector := omit, //* RFC3455
- pEarlyMedia := omit, //* RFC5009
- pMediaAuthorization := omit, //* RFC3313
- pPreferredID := omit,
- pPreferredService := omit,
- priority := omit,
- privacy := omit,
- proxyAuthenticate := omit,
- proxyAuthorization := omit,
- proxyRequire := omit,
- pVisitedNetworkID := omit, //* RFC3455
- rAck := omit,
- rSeq := omit,
- reason := omit,
- recordRoute := omit,
- requestDisposition := omit,
- referredBy := omit, //* RFC3892 - REFER method
- referTo := omit, //* RFC3515 - REFER method
- referSub := omit, //* RFC4488 - REFER method
- replaces := omit, //* RFC3891
- replyTo := omit,
- require := omit,
- retryAfter := omit,
- route := omit,
- securityClient := omit, //* RFC3329
- securityServer := omit, //* RFC3329
- securityVerify := omit, //* RFC3329
- server := omit,
- serviceRoute := omit, //* RFC3608
- sessionExpires := omit, //* RFC4028
- sessionId := omit,
- sipETag := omit,
- sipIfMatch := omit,
- subject := omit,
- subscriptionState := omit, //* RFC3265
- supported := omit,
- timestamp := omit,
- toField := c_empty_To,
- unsupported := omit,
- userToUser := omit,
- userAgent := omit,
- via := c_empty_Via,
- warning := omit,
- wwwAuthenticate := omit,
- undefinedHeader_List := omit
- }
-
-
- } //* group dummy_parameter_send
-
- group dummy_parameter_receive {
-
- template(present) RequestLine mw_requestLine_dummy(
- Method p_method
- ) := {
- method := p_method,
- requestUri := ?,
- sipVersion := c_sipNameVersion
- }
-
- template(present) MessageHeader mw_msgHeader_dummy := {
- accept := *,
- acceptContact := *,
- acceptEncoding := *,
- acceptLanguage := *,
- alertInfo := *,
- allow := *,
- allowEvents := *, //* RFC3265
- authenticationInfo := *,
- authorization := *,
- callId := ?,
- callInfo := *,
- contact := *,
- contentDisposition := *,
- contentEncoding := *,
- contentLanguage := *,
- contentLength := ?,
- contentType := *,
- cSeq := ?,
- date := *,
- errorInfo := *,
- event := *, //* RFC3265
- expires := *,
- fromField := ?,
- geolocation := *,
- geolocationRouting := *,
- historyInfo := *, //* RFC4244
- inReplyTo := *,
- maxForwards := *,
- mimeVersion := *,
- minExpires := *,
- minSE := *, //* RFC4028
- organization := *,
- pAccessNetworkInfo := *, //* RFC3455
- pAssertedID := *,
- pAssertedService := *,
- pAssociatedURI := *,
- path := *, //* RFC3327
- pCalledPartyID := *, //* RFC3455
- pChargingFunctionAddresses := *, //* RFC3455
- pChargingVector := *, //* RFC3455
- pEarlyMedia := *, //* RFC5009
- pMediaAuthorization := *, //* RFC3313
- pPreferredID := *,
- pPreferredService := *,
- priority := *,
- privacy := *,
- proxyAuthenticate := *,
- proxyAuthorization := *,
- proxyRequire := *,
- pVisitedNetworkID := *, //* RFC3455
- rAck := *,
- rSeq := *,
- reason := *,
- recordRoute := *,
- requestDisposition := *,
- referredBy := *, //* RFC3892 - REFER method
- referTo := *, //* RFC3515 - REFER method
- referSub := *, //* RFC4488 - REFER method
- replaces := *, //* RFC 3891
- replyTo := *,
- require := *,
- retryAfter := *,
- route := *,
- securityClient := *, //* RFC3329
- securityServer := *, //* RFC3329
- securityVerify := *, //* RFC3329
- server := *,
- serviceRoute := *, //* RFC3608
- sessionExpires := *, //* RFC4028
- sessionId := *,
- sipETag := *,
- sipIfMatch := *,
- subject := *,
- subscriptionState := *, //* RFC3265
- supported := *,
- timestamp := *,
- toField := ?,
- unsupported := *,
- userToUser := *,
- userAgent := *,
- via := ?,
- warning := *,
- wwwAuthenticate := *,
- undefinedHeader_List := *
- }
-
-
- } //* end group dummy_parameter_receive
-
- group dummy_request_templates_send {
-
- template(value) ACK_Request m_ACK_Dummy := {
- requestLine := m_requestLine_dummy(ACK_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) BYE_Request m_BYE_Dummy := {
- requestLine := m_requestLine_dummy(BYE_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) CANCEL_Request m_CANCEL_Dummy := {
- requestLine := m_requestLine_dummy(CANCEL_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) INFO_Request m_INFO_Dummy := {
- requestLine := m_requestLine_dummy(INFO_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) INVITE_Request m_INVITE_Dummy := {
- requestLine := m_requestLine_dummy(INVITE_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) MESSAGE_Request m_MESSAGE_Dummy := {
- requestLine := m_requestLine_dummy(MESSAGE_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) NOTIFY_Request m_NOTIFY_Dummy := {
- requestLine := m_requestLine_dummy(NOTIFY_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) OPTIONS_Request m_OPTIONS_Dummy := {
- requestLine := m_requestLine_dummy(OPTIONS_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) PRACK_Request m_PRACK_Dummy := {
- requestLine := m_requestLine_dummy(PRACK_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) PUBLISH_Request m_PUBLISH_Dummy := {
- requestLine := m_requestLine_dummy(PUBLISH_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) REGISTER_Request m_REGISTER_Dummy := {
- requestLine := m_requestLine_dummy(REGISTER_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) REFER_Request m_REFER_Dummy := {
- requestLine := m_requestLine_dummy(REFER_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) SUBSCRIBE_Request m_SUBSCRIBE_Dummy := {
- requestLine := m_requestLine_dummy(SUBSCRIBE_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
- template(value) UPDATE_Request m_UPDATE_Dummy := {
- requestLine := m_requestLine_dummy(UPDATE_E),
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
-
- } //* end group dummy_request_templates_send
- group dummy_request_templates_receive {
-
- template(present) ACK_Request mw_ACK_Dummy := {
- requestLine := mw_requestLine_dummy(ACK_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) BYE_Request mw_BYE_Dummy := {
- requestLine := mw_requestLine_dummy(BYE_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) CANCEL_Request mw_CANCEL_Dummy := {
- requestLine := mw_requestLine_dummy(CANCEL_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) INFO_Request mw_INFO_Dummy := {
- requestLine := mw_requestLine_dummy(INFO_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) INVITE_Request mw_INVITE_Dummy := {
- requestLine := mw_requestLine_dummy(INVITE_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) MESSAGE_Request mw_MESSAGE_Dummy := {
- requestLine := mw_requestLine_dummy(MESSAGE_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) OPTIONS_Request mw_OPTIONS_Dummy := {
- requestLine := mw_requestLine_dummy(OPTIONS_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) NOTIFY_Request mw_NOTIFY_Dummy := {
- requestLine := mw_requestLine_dummy(NOTIFY_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) PRACK_Request mw_PRACK_Dummy := {
- requestLine := mw_requestLine_dummy(PRACK_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) PUBLISH_Request mw_PUBLISH_Dummy := {
- requestLine := mw_requestLine_dummy(PUBLISH_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) REFER_Request mw_REFER_Dummy := {
- requestLine := mw_requestLine_dummy(REFER_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) REGISTER_Request mw_REGISTER_Dummy := {
- requestLine := mw_requestLine_dummy(REGISTER_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) SUBSCRIBE_Request mw_SUBSCRIBE_Dummy := {
- requestLine := mw_requestLine_dummy(SUBSCRIBE_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
- template(present) UPDATE_Request mw_UPDATE_Dummy := {
- requestLine := mw_requestLine_dummy(UPDATE_E),
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
-
- } //* end group dummy_request_templates_receive
-
- group dummy_response_templates_send {
-
- template(value) Response m_Response_Dummy := {
- statusLine := c_statusLine100,
- msgHeader := m_msgHeader_dummy,
- messageBody := omit,
- payload := omit
- }
-
-
- } //* group dummy_response_templates_send
-
- group dummy_response_templates_receive {
-
- template(present) Response mw_Response_Dummy := {
- statusLine := ?,
- msgHeader := mw_msgHeader_dummy,
- messageBody := *,
- payload := *
- }
-
-
- } //* group dummy_response_templates_receive
- }
-
- group base_templates {
-
- template(value) CSeq m_cSeq(
- template(value) integer p_seqNumber,
- template(value) charstring p_method
- ) := {
- fieldName := CSEQ_E,
- seqNumber := p_seqNumber,
- method := p_method
- }
-
- template(value) ContentLength m_contentLength(
- template(value) integer p_len
- ) := {
- fieldName := CONTENT_LENGTH_E,
- len := p_len
- }
-
- template(value) ContentType m_contentType(
- template(value) charstring p_mediaType
- ) := {
- fieldName := CONTENT_TYPE_E,
- mediaType := p_mediaType
- }
-
- template(present) ContentType mw_contentType(
- in template(present) charstring p_mediaType := ?
- ) := {
- fieldName := CONTENT_TYPE_E,
- mediaType := p_mediaType
- }
-
- group request_send {
-
- template(value) ACK_Request m_ACK_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_ACK_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := m_cSeq(p_cSeq.seqNumber, "ACK"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "ACK"},
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) ACK_Request m_ACK_Request_withRecordRoute(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Route p_route
- ) modifies m_ACK_Request_Base := {
- msgHeader := {
- route := p_route,
- contentLength := m_contentLength(0)
- }
- }
-
- template(value) BYE_Request m_BYE_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_BYE_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := p_cSeq,
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) CANCEL_Request m_CANCEL_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_CANCEL_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := p_cSeq,
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) INFO_Request m_INFO_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_INFO_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := p_cSeq,
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) INVITE_Request m_INVITE_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Contact p_contact
- ) modifies m_INVITE_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- contact := p_contact,
- cSeq := p_cSeq,
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) MESSAGE_Request m_MESSAGE_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_MESSAGE_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := p_cSeq,
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) NOTIFY_Request m_NOTIFY_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_NOTIFY_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := m_cSeq(p_cSeq.seqNumber, "NOTIFY"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "NOTIFY"},
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) OPTIONS_Request m_OPTIONS_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_OPTIONS_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := m_cSeq(p_cSeq.seqNumber, "OPTIONS"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "OPTIONS"},
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) PRACK_Request m_PRACK_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) RAck p_RAck
- ) modifies m_PRACK_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := m_cSeq(p_cSeq.seqNumber, "PRACK"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "PRACK"},
- fromField := p_from,
- rAck := p_RAck,
- toField := p_to,
- via := p_via
- },
- messageBody := omit
- }
-
- template(value) PUBLISH_Request m_PUBLISH_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Event p_event := omit,
- template(omit) RAck p_RAck := omit,
- template(value) MessageBody p_mb
- ) modifies m_PUBLISH_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(valueof(p_mb))},
- contentType := m_contentType(c_plainText), // STF471
- // {fieldName
- // :=
- // CONTENT_TYPE_E,
- // mediaType
- // :=
- // c_plainText/*c_sdp*/},
- cSeq := m_cSeq(p_cSeq.seqNumber, "PUBLISH"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "PUBLISH"},
- event := p_event,
- rAck := p_RAck,
- fromField := p_from,
- toField := p_to,
- via := p_via
- },
- messageBody := p_mb
- }
-
- template(value) REFER_Request m_REFER_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(omit) Contact p_contact := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) ReferTo p_referTo := omit,
- template(omit) ReferredBy p_referredBy := omit
- ) modifies m_REFER_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- contact := p_contact,
- cSeq := m_cSeq(p_cSeq.seqNumber, "REFER"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "REFER"},
- fromField := p_from,
- referTo := p_referTo,
- referredBy := p_referredBy,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) REFER_Request m_REFER_Request_replaces(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(omit) Contact p_contact := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) ReferTo p_referTo,
- template(value) ReferredBy p_referredBy,
- template(value) Replaces p_replaces,
- template(omit) Require p_require := omit
- ) modifies m_REFER_Request_Base := {
- msgHeader := {
- replaces := p_replaces,
- require := p_require
- }
- }
-
- template(value) REGISTER_Request m_REGISTER_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Contact p_contact := omit,
- template(omit) Authorization p_authorization := omit
- ) modifies m_REGISTER_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- authorization := p_authorization,
- callId := p_callId,
- contact := p_contact,
- cSeq := p_cSeq,
- fromField := p_from,
- toField := p_to,
- supported := {
- fieldName := SUPPORTED_E,
- optionsTags := {"path"}
- },
- via := p_via
- }
- }
-
- template(value) SUBSCRIBE_Request m_SUBSCRIBE_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_SUBSCRIBE_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- cSeq := m_cSeq(p_cSeq.seqNumber, "SUBSCRIBE"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "SUBSCRIBE"},
- fromField := p_from,
- toField := p_to,
- via := p_via
- }
- }
-
- template(value) UPDATE_Request m_UPDATE_Request_Base(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Contact p_contact := omit,
- template(value) MessageBody p_mb
- ) modifies m_UPDATE_Dummy := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- contact := p_contact,
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(valueof(p_mb))},
- contentType := m_contentType(c_sdpApplication), // STF471
- // {fieldName
- // :=
- // CONTENT_TYPE_E,
- // mediaType
- // :=
- // c_sdp},
- cSeq := m_cSeq(p_cSeq.seqNumber, "UPDATE"), // STF471
- // {fieldName:=CSEQ_E,
- // seqNumber:=
- // p_cSeq.seqNumber,
- // method:=
- // "UPDATE"},
- fromField := p_from,
- toField := p_to,
- via := p_via
- },
- messageBody := p_mb
- }
-
-
- } //* end of group message_send
-
- group request_receive {
-
- template(present) ACK_Request mw_ACK_Request_Base(
- template CallId p_callId
- ) modifies mw_ACK_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) BYE_Request mw_BYE_Request_Base(
- template CallId p_callId
- ) modifies mw_BYE_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) CANCEL_Request mw_CANCEL_Request_Base(
- template CallId p_callId
- ) modifies mw_CANCEL_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) INFO_Request mw_INFO_Request_Base(
- template CallId p_callId
- ) modifies mw_INFO_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) INVITE_Request mw_INVITE_Request_Base modifies mw_INVITE_Dummy := {requestLine := {method := INVITE_E}}
-
- template(present) MESSAGE_Request mw_MESSAGE_Request_Base modifies mw_MESSAGE_Dummy := {msgHeader := {contact := *}}
-
- template(present) NOTIFY_Request mw_NOTIFY_Request_Base(
- template CallId p_callId
- ) modifies mw_NOTIFY_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) OPTIONS_Request mw_OPTIONS_Request_Base(
- template CallId p_callId
- ) modifies mw_OPTIONS_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) PRACK_Request mw_PRACK_Request_Base(
- template CallId p_callId
- ) modifies mw_PRACK_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) PUBLISH_Request mw_PUBLISH_Request_Base(
- template CallId p_callId
- ) modifies mw_PUBLISH_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) REFER_Request mw_REFER_Request_Base(
- template CallId p_callId
- ) modifies mw_REFER_Dummy := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) REFER_Request mw_REFER_Request(
- template CallId p_callId,
- template(value) SipUrl p_requestUri,
- template(value) SipUrl p_referredBy
- ) modifies mw_REFER_Request_Base := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- referredBy := {
- fieldName := REFERRED_BY_E,
- nameAddr := mw_NameAddr(*, p_referredBy), // STF471
- // {displayName
- // :=
- // *,
- // addrSpec
- // :=
- // p_referredBy},
- referredbyIdParams := *
- }
- }
- }
-
- template(present) INVITE_Request mw_INVITE_Request(
- template Require p_require,
- template(value) SipUrl p_referredBy
- ) modifies mw_INVITE_Request_Base := {
- msgHeader := {
- require := p_require,
- referredBy := {
- fieldName := REFERRED_BY_E,
- nameAddr := mw_NameAddr(*, p_referredBy), // STF471
- // {displayName
- // :=
- // *,
- // addrSpec
- // :=
- // p_referredBy},
- referredbyIdParams := *
- }
- }
- }
-
- template(present) REGISTER_Request mw_REGISTER_Request_Base modifies mw_REGISTER_Dummy := {requestLine := {method := REGISTER_E}}
-
- template(present) SUBSCRIBE_Request mw_SUBSCRIBE_Request_Base modifies mw_SUBSCRIBE_Dummy := {requestLine := {method := SUBSCRIBE_E}}
-
- template(present) UPDATE_Request mw_UPDATE_Request_Base(template CallId p_callId) modifies mw_UPDATE_Dummy := {msgHeader := {callId := p_callId}}
-
-
- } //* end group request_receive
-
- group response_send {
-
- template(value) Response m_Response_Base(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via
- ) modifies m_Response_Dummy := {
- statusLine := p_statusLine,
- msgHeader := {
- callId := p_callId,
- cSeq := p_cSeq,
- fromField := p_from,
- maxForwards := omit,
- toField := p_to,
- via := p_via
- },
- messageBody := omit,
- payload := omit
- }
-
-
- } //* end group response_send
-
- group response_receive {
-
- template(present) Response mw_Response_Base(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_Dummy := {
- statusLine := p_statusLine,
- msgHeader := {
- callId := p_callId,
- contentLength := *,
- cSeq := p_cSeq,
- fromField := ?,
- maxForwards := *,
- toField := ?,
- via := ?
- }
- }
-
- template(present) Response mw_Response_StatusCode_Base(
- template(present) StatusLine.statusCode p_statusCode := ?,
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_Dummy := {
- statusLine := mw_statusLine(p_statusCode, ?),
- msgHeader := {
- callId := p_callId,
- contentLength := *,
- cSeq := p_cSeq,
- fromField := ?,
- maxForwards := *,
- toField := ?,
- via := ?
- }
- }
-
- template(present) Response mw_Response_1xx_Base(
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_Dummy := {
- statusLine := mw_statusLine1xx,
- msgHeader := {
- callId := p_callId,
- contentLength := *,
- cSeq := p_cSeq,
- fromField := ?,
- maxForwards := *,
- toField := ?,
- via := ?
- }
- }
-
- template(present) Response mw_Response_2xx_Base(
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_1xx_Base := {
- statusLine := mw_statusLine2xx
- }
-
- template(present) Response mw_Response_3xx_Base(
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_1xx_Base := {
- statusLine := mw_statusLine3xx
- }
-
- template(present) Response mw_Response_4xx_Base(
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_1xx_Base := {
- statusLine := mw_statusLine4xx
- }
-
- template(present) Response mw_Response_5xx_Base(
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_1xx_Base := {
- statusLine := mw_statusLine5xx
- }
-
- template(present) Response mw_Response_6xx_Base(
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_1xx_Base := {
- statusLine := mw_statusLine6xx
- }
-
- template(present) Response mw_Response_Algorithm(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template(present) CredentialsList p_credentialsList
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {
- authorization := {
- fieldName := AUTHORIZATION_E,
- body := p_credentialsList
- }
- }
- }
-
-
- } //* end group message_receive
-
-
- } //* end group full_templates
-
- group modified_templates {
-
- group request_send {
-
- template(value) ACK_Request m_ACK_Request_route(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Route p_route := omit
- ) modifies m_ACK_Request_Base := {
- msgHeader := {route := p_route}
- }
-
- template(value) ACK_Request m_ACK_Request_sdp(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) MessageBody p_mb
- ) modifies m_ACK_Request_Base := {
- msgHeader := {
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(valueof(p_mb))},
- contentType := m_contentType(c_sdpApplication)
- },
- messageBody := p_mb
- }
-
- template(value) BYE_Request m_BYE_Request_cause(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) integer p_cause
- ) modifies m_BYE_Request_Base := {
- msgHeader := {reason := m_Reason(p_cause)}
- }
-
- template(value) INVITE_Request m_INVITE_Request_sdp(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Contact p_contact,
- template(value) MessageBody p_mb
- ) modifies m_INVITE_Request_Base := {
- msgHeader := {
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(valueof(p_mb))},
- contentType := m_contentType(c_sdpApplication)
- },
- messageBody := p_mb
- }
-
- template(value) INVITE_Request m_INVITE_Request_ResourceList(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Contact p_contact,
- template(value) MessageBody p_mb
- ) modifies m_INVITE_Request_Base := {
- msgHeader := {
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(p_mb)},
- contentType := m_contentType(c_xmlresourcelistApplication), // STF471
- // {fieldName
- // :=
- // CONTENT_TYPE_E,
- // mediaType
- // :=
- // "application/resource-lists+xml"},
- contentDisposition := {
- fieldName := CONTENT_DISPOSITION_E,
- dispositionType := "recipient-list",
- dispositionParams := omit
- },
- require := {
- fieldName := REQUIRE_E,
- optionsTags := {"recipient-list-invite"}
- }
- },
- messageBody := p_mb
- }
-
- template(value) REFER_Request m_REFER_Request_route(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(omit) Contact p_contact := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) ReferTo p_referTo,
- template(value) ReferredBy p_referredBy,
- template(value) Route p_route
- ) modifies m_REFER_Request_Base := {
- msgHeader := {route := p_route}
- }
-
- template(value) REGISTER_Request m_REGISTER_Request_expires(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Contact p_contact := omit,
- template(omit) Authorization p_authorization := omit,
- template(value) charstring p_expires
- ) modifies m_REGISTER_Request_Base := {
- msgHeader := {
- authorization := p_authorization,
- expires := m_Expires(p_expires)
- }
- }
-
- template(value) NOTIFY_Request m_NOTIFY_Request_contact(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Contact p_contact := omit
- ) modifies m_NOTIFY_Request_Base := {
- msgHeader := {
- contact := p_contact,
- event := m_Event_reg,
- subscriptionState := m_SubscriptionState_active
- }
- }
-
- template(value) NOTIFY_Request m_NOTIFY_Request_sipfrag(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) charstring p_state,
- template(value) charstring p_sipfrag
- ) modifies m_NOTIFY_Request_Base := {
- requestLine := {
- method := NOTIFY_E,
- requestUri := {
- scheme := ?,
- components := {
- sip := {
- userInfo := *,
- hostPort := p_requestUri.components.sip.hostPort
- }
- }
- }
- },
- msgHeader := {
- contentLength := m_contentLength(lengthof(p_sipfrag)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // lengthof(p_sipfrag)},
- contentType := m_contentType(c_sipfragMessage), // STF471
- // {fieldName
- // :=
- // CONTENT_TYPE_E,
- // mediaType
- // :=
- // "message/sipfrag"},
- subscriptionState := {
- fieldName := SUBSCRIPTION_STATE_E,
- subState := p_state,
- substateParams := omit
- },
- event := m_Event_refer
- },
- messageBody := {sipfrag := p_sipfrag}
- }
-
- template(value) UPDATE_Request m_UPDATE_Request_route(
- template(value) SipUrl p_requestUri,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Contact p_contact := omit,
- template(value) MessageBody p_mb,
- template(value) Route p_route
- ) modifies m_UPDATE_Request_Base := {
- msgHeader := {route := p_route}
- }
-
-
- } //* end group request_send
-
-
- group request_receive {
-
- template(present) BYE_Request mw_BYE_Request_Reason(
- template CallId p_callId,
- template(value) GenValue p_cause
- ) modifies mw_BYE_Request_Base := {
- msgHeader := {reason := mw_Reason(p_cause)}
- }
-
- template(present) BYE_Request mw_BYE_Request_ReasonSIP(
- template CallId p_callId,
- template(value) GenValue p_cause
- ) modifies mw_BYE_Request_Base := {
- msgHeader := {reason := mw_ReasonSIP(p_cause)}
- }
-
- template(present) BYE_Request mw_BYE_Request_headerfieldlist(
- template CallId p_callId,
- template(present) SipUrl p_requestUri,
- template(present) To p_to := ?,
- template(present) From p_from := ?,
- template CSeq p_cSeq,
- template Route p_route,
- template RecordRoute p_recordRoute,
- template Reason p_reason
- ) modifies mw_BYE_Request_Base := {
- requestLine := {requestUri := p_requestUri},
- msgHeader := {
- callId := p_callId,
- toField := p_to,
- fromField := p_from,
- cSeq := p_cSeq,
- route := p_route,
- recordRoute := p_recordRoute,
- reason := p_reason
- }
- }
-
- template(present) BYE_Request mw_BYE_Request_UserToUser(
- template CallId p_callId
- ) modifies mw_BYE_Request_Base := {
- msgHeader := {userToUser := ?}
- }
-
-
- template(present) INVITE_Request mw_INVITE_Request_RequestURI(
- template(present) SipUrl p_sipUrl := ?
- ) modifies mw_INVITE_Dummy := {
- requestLine := {
- requestUri := p_sipUrl,
- sipVersion := c_sipNameVersion
- }
- }
-
- template(present) INFO_Request mw_INFO_Request_MB(
- template CallId p_callId,
- template MessageBody p_mb
- ) modifies mw_INFO_Request_Base := {
- messageBody := p_mb
- }
-
- template(present) INVITE_Request mw_INVITE_Request_expires modifies mw_INVITE_Request_Base := {msgHeader := {expires := ?}}
-
- template(present) INVITE_Request mw_INVITE_Request_callid(
- template CallId p_callId
- ) modifies mw_INVITE_Request_Base := {
- msgHeader := {callId := p_callId}
- }
-
- template(present) INVITE_Request mw_INVITE_Request_MB(
- template CallId p_callId,
- template MessageBody p_mb
- ) modifies mw_INVITE_Request_callid := {
- messageBody := p_mb
- }
-
- template(present) INVITE_Request mw_INVITE_Request_noPaccessNetworkInfo(
- template CallId p_callId
- ) modifies mw_INVITE_Request_callid := {
- msgHeader := {pAccessNetworkInfo := omit}
- }
-
- template(present) INVITE_Request mw_INVITE_Request_PaccessNetworkInfo(
- template CallId p_callId
- ) modifies mw_INVITE_Request_callid := {
- msgHeader := {pAccessNetworkInfo := ?}
- }
-
- template(present) INVITE_Request mw_INVITE_MSRP_Session(
- template(present) SDP_media_field p_media_MSRP := ?
- ) modifies mw_INVITE_Request_Base := {
- messageBody := {
- sdpMessageBody := {
- protocol_version := ?,
- origin := ?,
- session_name := ?,
- information := *,
- uri := *,
- emails := *,
- phone_numbers := *,
- connection := *,
- bandwidth := *,
- times := ?,
- timezone_adjustments := *,
- key := *,
- attributes := *,
- media_list := {
- {
- media_field := p_media_MSRP,
- information := *,
- connections := *,
- bandwidth := *,
- key := *,
- attributes := {
- {
- msrp := {
- attr_value :=
- pattern
- "path:msrp://*"
- }
- }
- }
- }
- }
- }
- }
- }
-
- template(present) REGISTER_Request mw_REGISTER_Request_ISC(
- template PAccessNetworkInfo p_access,
- template PVisitedNetworkID p_visited
- ) modifies mw_REGISTER_Request_Base := {
- msgHeader := {
- pAccessNetworkInfo := p_access,
- pVisitedNetworkID := p_visited
- }
- }
-
- template(present) UPDATE_Request mw_UPDATE_Request_SDP(
- template CallId p_callId,
- template MessageBody p_mb
- ) modifies mw_UPDATE_Request_Base := {
- messageBody := p_mb
- }
-
- template(present) NOTIFY_Request mw_NOTIFY_Request_MB(
- template CallId p_callId,
- template MessageBody p_mb
- ) modifies mw_NOTIFY_Request_Base := {
- messageBody := p_mb
- }
-
-
- } //* end group request_receive
-
- group response_send {
-
- template(value) Response m_Response_AlertInfo(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Contact p_contact,
- template(value) AlertInfo p_alertInfo
- ) modifies m_Response_Contact := {
- msgHeader := {alertInfo := p_alertInfo}
- }
-
- template(value) Response m_Response_Contact(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Contact p_contact := omit
- ) modifies m_Response_Base := {
- msgHeader := {contact := p_contact}
- }
-
- template(value) Response m_Response_ext(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Route p_route := omit,
- template(omit) RecordRoute p_recordroute := omit
- ) modifies m_Response_Base := {
- msgHeader := {
- route := p_route, // f_route(),
- recordRoute :=
- p_recordroute // f_recordroute()
- }
- }
-
- template(value) Response m_Response_mbody(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Route p_route := omit,
- template(omit) RecordRoute p_recordroute := omit,
- template(value) MessageBody p_mb
- ) modifies m_Response_ext := {
- msgHeader := {
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(valueof(p_mb))},
- contentType := m_contentType(c_sdpApplication)
- },
- messageBody := p_mb
- }
-
- template(value) Response m_Response_mbody_contact (
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(omit) Route p_route := omit,
- template(omit) RecordRoute p_recordroute := omit,
- template(value) MessageBody p_mb,
- template(value) Contact p_contact
- ) modifies m_Response_mbody := {
- msgHeader := {
- contact := p_contact
- }
- }
-
-
- template(value) Response m_Response_PAsserted_Privacy(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Route p_route,
- template(value) RecordRoute p_recordroute,
- template(value) PAssertedID p_pAssertedID,
- template(value) Privacy p_privacy
- ) modifies m_Response_ext := {
- msgHeader := {
- pAssertedID := p_pAssertedID,
- privacy := p_privacy
- }
- }
-
- template(present) Response mw_Response_PAsserted_Privacy_Supported(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template PAssertedID p_pAssertedID,
- template Privacy p_privacy,
- template Supported p_supported
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {
- pAssertedID := p_pAssertedID,
- privacy := p_privacy,
- supported := p_supported
- }
- }
-
- template(value) Response m_Response_PAsserted_Privacy_mbody(
- template(value) StatusLine p_statusLine,
- template(omit) CallId p_callId := omit,
- template(omit) CSeq p_cSeq := omit,
- template(value) From p_from,
- template(value) To p_to,
- template(value) Via p_via,
- template(value) Route p_route,
- template(value) RecordRoute p_recordroute,
- template(value) PAssertedID p_pAssertedID,
- template(value) Privacy p_privacy,
- template(value) MessageBody p_mb
- ) modifies m_Response_ext := {
- msgHeader := {
- contentLength := m_contentLength(f_MessageBodyLength(p_mb)), // STF471
- // {fieldName
- // :=
- // CONTENT_LENGTH_E,
- // len:=
- // f_MessageBodyLength(valueof(p_mb))},
- contentType := m_contentType(c_sdpApplication), // STF471
- // {fieldName
- // :=
- // CONTENT_TYPE_E,
- // mediaType
- // :=
- // c_sdpApplication
- // },
- pAssertedID := p_pAssertedID,
- privacy := p_privacy
- },
- messageBody := p_mb
- }
-
-
- } //* end group response_send
-
-
- group response_receive {
-
- template(present) Response mw_Response_Expires(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template(present) DeltaSec p_deltaSec := ?
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {expires := mw_Expires(p_deltaSec)}
- }
-
- template(present) Response mw_Response_PAsserted_Privacy(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template PAssertedID p_pAssertedID,
- template Privacy p_privacy
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {
- pAssertedID := p_pAssertedID,
- privacy := p_privacy
- }
- }
-
- template(present) Response mw_Response_Reason(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template(value) GenValue p_cause
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {reason := mw_Reason(p_cause)}
- }
-
- template(present) Response mw_Response_RecordRoute(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template RecordRoute p_recordRoute
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {recordRoute := p_recordRoute}
- }
-
- template(present) Response mw_Response_Via(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template(present) Via p_via := ?
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {via := p_via}
- }
-
- template(present) Response mw_Response_Contact(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template Contact p_contact
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {contact := p_contact}
- }
-
- template(present) Response mw_Response_AlertInfo(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template AlertInfo p_alertInfo
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {alertInfo := p_alertInfo}
- }
-
- template(present) Response mw_Response_HistoryInfo(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template HistoryInfo p_historyInfo
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {historyInfo := p_historyInfo}
- }
-
- template(present) Response mw_Response_messageBody(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template Require p_require,
- template MessageBody p_mb
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {require := p_require},
- messageBody := p_mb
- }
-
- template(present) Response mw_Response_Require(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template Require p_require
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {require := p_require}
- }
-
- template(present) Response mw_Response_Require_ifpresent(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template(present) Require p_require
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {require := p_require ifpresent}
- }
-
- template(present) Response mw_Response_Supported(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq,
- template Supported p_supported
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {supported := p_supported}
- }
-
- template(present) Response mw_Response_UserToUser(
- template(present) StatusLine p_statusLine := ?,
- template CallId p_callId,
- template CSeq p_cSeq
- ) modifies mw_Response_Base := {
- statusLine := mw_statusLine(p_statusLine.statusCode, ?),
- msgHeader := {userToUser := ?}
- }
-
-
- } //* end group response_receive
-
-
- } //* end group modified_templates
-
-
- } //* end group MessageTemplates
-
- group SDP_Templates {
-
- group SDP_Messages {
-
- group base_templates {
-
- template(value) SDP_Message m_SDP_base := {
- protocol_version := 0, //* v=0
- origin := {
- user_name := PX_SIP_SDP_USER_NAME,
- session_id := PX_SIP_SDP_SESSION_ID,
- session_version := "0",
- net_type := c_in,
- addr_type := c_ip4,
- addr := ""
- },
- //* o=voicesession 12345 12345 IN IP4 172.27.1.219
- session_name := "Voice Session", //* s=Voice Session
- information := omit,
- uri := omit,
- emails := omit,
- phone_numbers := omit,
- connection := omit,
- bandwidth := omit,
- times := {
- {
- time_field := {"0", "0"},
- time_repeat := omit
- }
- }, //* t=0 0
- timezone_adjustments := omit,
- key := omit,
- attributes := omit,
- media_list := omit
- }
-
- template(value) SDP_Message m_SDP(
- template(value) SDP_media_desc p_media,
- template(value) SipUserProfile p_userprofile
- ) modifies m_SDP_base := {
- origin := {
- addr := p_userprofile.contactIpaddr
- },
- //* o=voicesession 12345 12345 IN IP4 172.27.1.219
- connection := {
- net_type := c_in,
- addr_type := c_ip4,
- conn_addr := {
- addr := p_userprofile.bearerIpaddr,
- ttl := omit,
- num_of_addr := omit
- }
- }, //* c=IN
- //* IP4
- //* 172.27.1.219
- media_list := {p_media}
- }
-
- template(value) SDP_Message m_SDP_mediaList(
- template(value) SDP_media_desc_list p_media_list,
- template(value) SipUserProfile p_userprofile
- ) modifies m_SDP_base := {
- origin := {
- addr := p_userprofile.contactIpaddr
- },
- //* o=voicesession 12345 12345 IN IP4 172.27.1.219
- connection := {
- net_type := c_in,
- addr_type := c_ip4,
- conn_addr := {
- addr := p_userprofile.bearerIpaddr,
- ttl := omit,
- num_of_addr := omit
- }
- }, //* c=IN
- //* IP4
- //* 172.27.1.219
- media_list := p_media_list
- }
-
- template(value) SDP_Message m_SDP_media_attr_preconditions(
- template(value) SDP_media_desc p_media,
- template(value) SipUserProfile p_userprofile,
- template(value) SDP_attribute_list p_attribute_list
- ) modifies m_SDP := {
- media_list := {
- {
- media_field := {
- media := c_audio,
- ports := {
- port_number := 8500,
- num_of_ports := omit
- },
- transport := c_rtpAvp,
- fmts := {"0"}
- }, //* m=audio
- //* 8500
- //* RTP/AVP
- //* 0
- information := omit,
- connections := omit,
- bandwidth := omit,
- key := omit,
- attributes := p_attribute_list
- }
- }
- }
-
- template(value) SDP_Message m_SDP_attribute(
- template(value) SDP_media_desc p_media,
- template(value) SipUserProfile p_userprofile,
- template(value) SDP_attribute p_loc_attribute
- ) modifies m_SDP := {
- attributes := {p_loc_attribute}
- }
-
- template(present) SDP_Message mw_SDP := {
- protocol_version := 0, //* v=0
- origin := ?,
- session_name := ?,
- information := omit,
- uri := omit,
- emails := omit,
- phone_numbers := omit,
- connection := ?,
- bandwidth := omit,
- times := {
- {
- time_field := {"0", "0"},
- time_repeat := omit
- }
- }, //* t=0 0
- timezone_adjustments := omit,
- key := omit,
- attributes := omit,
- media_list := ?
- }
-
-
- } //* end group base_templates
-
- group modified_templates {
- template(value) SDP_Message m_SDP_bandwidth(
- template(value) SDP_media_desc p_media,
- template(value) SipUserProfile p_userprofile
- ) modifies m_SDP := {
- bandwidth := {
- {
- PX_SIP_SDP_B_MODIFIER,
- PX_SIP_SDP_B_BANDWIDTH
- }
- }
- }
-
- template(value) SDP_Message m_SDP_unacceptable(
- template(value) SDP_media_desc p_media,
- template(value) SipUserProfile p_userprofile
- ) modifies m_SDP := {
- protocol_version := 1, //* v=1 unacceptable version of
- //* SDP
- bandwidth := {
- {
- PX_SIP_SDP_B_MODIFIER,
- PX_SIP_SDP_B_BANDWIDTH
- }
- }
- }
-
- template(value) SDP_Message m_SDP_encrypted(
- template(value) SDP_media_desc p_media,
- template(value) SipUserProfile p_userprofile
- ) modifies m_SDP := {
- bandwidth := {
- {
- PX_SIP_SDP_B_MODIFIER,
- PX_SIP_SDP_B_BANDWIDTH
- }
- },
- key := {
- method := "base64", // prompt
- key := "blablabla"
- }
- }
-
-
- } //* end group modified_templates
-
-
- } //* end group SDP_Messages
-
- group SDP_Fields {
-
- template(value) SDP_media_desc m_media(template(value) SDP_media_field p_mf) := {
- media_field := p_mf,
- information := omit,
- connections := omit,
- bandwidth := omit,
- key := omit,
- attributes := omit
- }
-
- template(value) SDP_media_desc m_mediaFieldBandwdthAttributes(
- template(value) SDP_media_field p_mf,
- template(omit) SDP_bandwidth_list p_bw_l := omit,
- template(omit) SDP_attribute_list p_attributes := omit
- ) := {
- media_field := p_mf,
- information := omit,
- connections := omit,
- bandwidth := p_bw_l,
- key := omit,
- attributes := p_attributes
- }
-
- template(value) SDP_media_desc m_media_dynPT(
- template(value) charstring p_payloadType,
- template(value) charstring p_encoding,
- template(value) charstring p_clockrate,
- template(omit) charstring p_parameters := omit,
- template(omit) SDP_key p_sdpKey := omit
- ) := {
- media_field := {
- media := c_audio, //* "audio",
- ports := {
- port_number := 8500,
- num_of_ports := omit
- },
- transport := c_rtpAvp, //* "RTP/AVP",
- fmts := { p_payloadType }
- }, //* m=audio 8500 RTP/AVP 8
- information := omit,
- connections := omit,
- bandwidth := omit,
- key := p_sdpKey,
- attributes := {{rtpmap := {
- payload_type := p_payloadType,
- codec := {
- encoding := p_encoding,
- clockrate := p_clockrate,
- parameters := p_parameters
- }
- }
- }} //* a=rtpmap:8 PCMA/8000
- }
-
- /**
- * @desc send template with specific media transport and attribute values
- * @param p_mediaAttribute parameter for SDP media transport supported by the IUT
- * former PX_SIP_SDP_media_transport
- * @param p_mediaAttribute parameter for SDP media attribute supported by the IUT,
- * former PX_SIP_SDP_media_attribute_Exp & PX_SIP_SDP_media_transport_Exp
- * @param p_mediaType parameter for SDP media type supported by the IUT,
- * former PX_SIP_SDP_MEDIA_VIDEO
- */
- template(value) SDP_media_desc m_media_unsupported(
- template(value) charstring p_mediaTransport,
- template(value) SDP_attribute_rtpmap p_mediaAttribute,
- template(value) charstring p_mediaType := "video"
- ) := {
- media_field := {
- media := p_mediaType,
- ports := {
- port_number := 11500,
- num_of_ports := omit
- },
- transport := p_mediaTransport,
- fmts := {"99"}
- }, //* m=audio 8500 RTP/AVP 0
- information := omit,
- connections := omit,
- bandwidth := omit,
- key := omit,
- attributes := {{rtpmap := p_mediaAttribute}}
- }
-
- template(value) SDP_bandwidth m_bandwidth(
- template(value) charstring p_loc_m,
- template(value) integer p_loc_b
- ) := {
- modifier := p_loc_m,
- bandwidth := p_loc_b
- }
-
- template(value) SDP_bandwidth m_bandwidth_as_64 := {
- modifier := "AS",
- bandwidth := 64
- }
-
- template(present) SDP_bandwidth mw_bandwidth_rs := {
- modifier := "RS",
- bandwidth := ?
- }
-
- template(present) SDP_bandwidth mw_bandwidth_rr := {
- modifier := "RR",
- bandwidth := ?
- }
-
- template(value) SDP_media_field m_media_field(
- template(value) charstring p_media,
- template(value) integer p_portNum,
- template(value) charstring p_transport,
- template(value) charstring p_fmts
- ) := {
- media := p_media,
- ports := {
- port_number := p_portNum,
- num_of_ports := omit
- },
- transport := p_transport,
- fmts := {p_fmts}
- }
-
- template(present) SDP_media_field mw_media_PCMU := {
- media := c_audio,
- ports := {
- port_number := ?,
- num_of_ports := *
- },
- transport := c_rtpAvp,
- fmts := {"0"}
- }
-
- template(present) SDP_media_field mw_media_PCMA := {
- media := c_audio,
- ports := {
- port_number := 8500,
- num_of_ports := omit
- },
- transport := c_rtpAvp,
- fmts := {"8"}
- }
-
- template(present) SDP_media_field mw_media_PCMA_U_DPT := {
- media := c_audio,
- ports := {
- port_number := ?,
- num_of_ports := *
- },
- transport := c_rtpAvp,
- fmts := {*}
- }
-
- template(present) SDP_media_field mw_media_T38 := {
- media := c_image,
- ports := {
- port_number := ?,
- num_of_ports := *
- },
- transport := pattern "*ptl", //* udptl,tcptl
- fmts := {"t38"}
- }
-
- template(present) SDP_media_field mw_media_G722 := {
- media := c_audio,
- ports := {
- port_number := ?,
- num_of_ports := *
- },
- transport := "RTP/AVP",
- fmts := {"9"}
- }
-
- template(present) SDP_media_field mw_media_AMR_DPT := {
- media := c_audio,
- ports := {
- port_number := ?,
- num_of_ports := *
- },
- transport := c_rtpAvp,
- fmts := {*}
- }
-
- template(present) SDP_media_field mw_media_MSRP := {
- media := c_msrp,
- ports := {
- port_number := ?,
- num_of_ports := omit
- },
- transport := c_msrpTcp,
- fmts := {*}
- }
-
- template(value) SDP_attribute m_attribute_sendonly := {sendonly := {}}
- template(present) SDP_attribute mw_attribute_sendonly := {sendonly := {}}
- // MRO
- template(value) SDP_attribute m_attribute_recvonly := {recvonly := {}}
- template(present) SDP_attribute mw_attribute_recvonly := {recvonly := {}}
- // MRO
- template(value) SDP_attribute m_attribute_sendrecv := {sendrecv := {}}
- template(present) SDP_attribute mw_attribute_sendrecv := {sendrecv := {}}
- // MRO
- template(value) SDP_attribute m_attribute_inactive := {inactive := {}}
- template(present) SDP_attribute mw_attribute_inactive := {inactive := {}}
- // MRO
- template(present) SDP_attribute mw_attribute_sendonly_inactive := (mw_attribute_sendonly, mw_attribute_inactive);
- template SDP_attribute mw_attribute_sendrecv_recvonly_omit := (mw_attribute_sendrecv, mw_attribute_recvonly, omit);
- template(value) SDP_attribute m_attribute_base(
- template(value) SDP_attribute_rtpmap p_attr_value
- ) := {
- rtpmap := p_attr_value
- }
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_DYN & " " & PX_SIP_SDP_MEDIA_TRANSPORT_AMR
- */
- template(value) SDP_attribute m_attribute_AMR_DPT(//"0 AMR"
- template(value) SDP_attribute_rtpmap p_attr_value := {"0", {"AMR", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_DYN & " " & PX_SIP_SDP_MEDIA_TRANSPORT_CLE
- */
- template(value) SDP_attribute m_attribute_CLEARMODE_DPT(//"0 CLEARMODE/8000"
- template(value) SDP_attribute_rtpmap p_attr_value := {"0", {"CLEARMODE", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_ENCODING_ATTRIBUTE_G222
- */
- template(value) SDP_attribute m_attribute_G722(//"9 G722/8000"
- template(value) SDP_attribute_rtpmap p_attr_value := {"9", {"G722", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_ENCODING_ATTRIBUTE_PCMU
- */
- template(value) SDP_attribute m_attribute_PCMU(//"0 PCMU/8000"
- template(value) SDP_attribute_rtpmap p_attr_value := {"0", {"PCMU", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_DYN & " " & PX_SIP_SDP_MEDIA_TRANSPORT_PCMU
- */
- template(value) SDP_attribute m_attribute_PCMU_DPT(//"0 PCMU/8000"
- template(value) SDP_attribute_rtpmap p_attr_value := {"0", {"PCMU", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_ENCODING_ATTRIBUTE_PCMA
- */
- template(value) SDP_attribute m_attribute_PCMA(//"8 PCMA/8000"
- template(value) SDP_attribute_rtpmap p_attr_value := {"8", {"PCMA", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
- /**
- * @desc send template for a specific media attribute
- * @param attribte value, former PX_SIP_SDP_DYN & " " & PX_SIP_SDP_MEDIA_TRANSPORT_PCMA
- */
- template(value) SDP_attribute m_attribute_PCMA_DPT(//"0 PCMA/8000"
- template(value) SDP_attribute_rtpmap p_attr_value := {"0", {"PCMA", "8000", omit}}
- ) := m_attribute_base(p_attr_value);
-
- template(present) SDP_attribute mw_attribute_T38 := {
- unknown := {
- name := ?,
- attr_value := pattern "*t38*"
- }
- }
-
- template(value) SDP_attribute m_attribute_curr(
- template(value) charstring p_preconditionType,
- template(value) charstring p_statusType,
- template(value) charstring p_direction
- ) := {
- curr := {
- preconditionType := p_preconditionType,
- statusType := p_statusType,
- direction := p_direction
- }
- }
-
- template(present) SDP_attribute mw_attribute_curr := {curr := ?}
-
- template(value) SDP_attribute m_attribute_des(
- template(value) charstring p_preconditionType,
- template(value) charstring p_strength,
- template(value) charstring p_statusType,
- template(value) charstring p_direction
- ) := {
- des := {
- preconditionType := p_preconditionType,
- strength := p_strength,
- statusType := p_statusType,
- direction := p_direction
- }
- }
-
- template(present) SDP_attribute mw_attribute_des := {des := ?}
-
- template(value) SDP_attribute m_attribute_conf(
- template(value) charstring p_preconditionType,
- template(value) charstring p_statusType,
- template(value) charstring p_direction
- ) := {
- conf := {
- preconditionType := p_preconditionType,
- statusType := p_statusType,
- direction := p_direction
- }
- }
-
-
- } //* end group SDP_Fields
-
-
- } //* end group SDP_Templates
-
- group SimpleMsgSummary_Templates {
-
- template(value) SimpleMsgSummary m_SMS(
- template(value) Msg_summary_line_list p_summaryLineList,
- template(value) charstring p_uri
- ) := {
- msg_status_line := m_msgStatusLine_yes,
- msg_account := m_msgAccount(p_uri),
- msg_summary_line_list := p_summaryLineList,
- opt_msg_headers := omit
- }
-
- template(present) SimpleMsgSummary mw_SMS := {
- msg_status_line := ?,
- msg_account := *,
- msg_summary_line_list := *,
- opt_msg_headers := *
- }
-
- template(present) SimpleMsgSummary mw_SMS_yes modifies mw_SMS := {
- msg_status_line := mw_msgStatusLine_yes
- }
-
- template(present) SimpleMsgSummary mw_SMS_yesUri modifies mw_SMS_yes := {
- msg_account := mw_msgAccount
- }
-
- template(present) SimpleMsgSummary mw_SMS_yesVoice modifies mw_SMS_yes := {
- msg_summary_line_list := {mw_msgSummaryLine(c_voiceMessage)}
- }
-
- template(present) SimpleMsgSummary mw_SMS_yesUriVoice modifies mw_SMS_yesUri := {
- msg_summary_line_list := {mw_msgSummaryLine(c_voiceMessage)}
- }
-
- template(value) Msg_status_line m_msgStatusLine_yes := {
- msg_type := c_messageWaiting,
- msg_status := "yes"
- }
-
- template(present) Msg_status_line mw_msgStatusLine_yes := {
- msg_type := c_messageWaiting,
- msg_status := "yes"
- }
-
- template(value) Msg_account m_msgAccount(
- template(value) charstring p_uri
- ) := {
- msg_type_account := c_messageAccount,
- account_URI :=
- p_uri // m_SipUrl_NumberHostParam(PX_IMS_SUT_UE2_PUBLIC_USER,PX_IMS_SUT_UE2_HOME_DOMAIN,omit)
- }
-
- template(present) Msg_account mw_msgAccount := {
- msg_type_account := c_messageAccount,
- account_URI := ?
- }
-
- template(value) Msg_summary_line m_msgSummaryLine(
- template(value) charstring p_msgContexClass,
- template(value) charstring p_msgs,
- template(value) charstring p_urgent_msgs
- ) := {
- msg_context_class := p_msgContexClass,
- msgs := p_msgs,
- urgent_msgs := p_urgent_msgs
- }
-
- template(present) Msg_summary_line mw_msgSummaryLine(
- template(present) charstring p_msgContexClass := ?
- ) := {
- msg_context_class := p_msgContexClass,
- msgs := ?,
- urgent_msgs := *
- }
-
-
- } // end group Templates_SMS
-
- group MessageBodies {
-
- template(value) MessageBody m_MBody_SDP(
- template(value) SDP_Message p_SDP
- ) := {
- sdpMessageBody := p_SDP
- }
-
- template(value) MessageBody m_MBody_XML(
- template(value) XmlBody p_xmlBody
- ) := {
- xmlBody := p_xmlBody
- }
-
- template(value) MessageBody m_mBody_SMS(
- template(value) SimpleMsgSummary p_SMS
- ) := {
- simpleMsgSummary := p_SMS
- }
-
- template(value) MessageBody m_MBody_longPlainText := {textplain := c_longMessageContent_1300Bytes}
-
- template(value) MessageBody m_mBody_plainText(
- template(value) charstring p_plaitext
- ) := {
- textplain := p_plaitext
- }
-
- template(value) MessageBody m_MBody_sipfrag(
- template(value) charstring p_sipfrag
- ) := {
- sipfrag := p_sipfrag
- }
-
- template(value) MessageBody m_MBody_MIMESdpXml(
- template(value) SDP_Message p_sdp,
- template(value) XmlBody p_xmlBody
- ) := {
- mimeMessageBody := {
- boundary := "--" & PX_SIP_MIME_BOUNDARY,
- mimeEncapsulatedList := {
- {
- content_type := c_sdpApplication,
- content_disposition := omit,
- mime_encapsulated_part := {sdpMessageBody := p_sdp}
- },
- {
- content_type := c_ims3gppCwApplication,
- content_disposition := omit,
- mime_encapsulated_part := {xmlBody := p_xmlBody}
- }
- }
- }
- }
-
- template(value) MessageBody m_MBody_MIMESdpEncrypted(
- template(value) SDP_Message p_sdp
- ) := {
- mimeMessageBody := {
- boundary := "--" & PX_SIP_MIME_BOUNDARY,
- mimeEncapsulatedList := {
- {
- content_type := "application/sdp",
- content_disposition := "attachment;handling=required;filename=smime.p7",
- mime_encapsulated_part := {sdpMessageBody := p_sdp}
- }
- }
- }
- }
-
- template(present) MessageBody mw_MBody_SDP(
- template(present) SDP_Message p_SDP := ?
- ) := {
- sdpMessageBody := p_SDP
- }
-
- template(present) MessageBody mw_MBody_XML(
- template(present) XmlBody p_xmlBody := ?
- ) := {
- xmlBody := p_xmlBody
- }
-
- template(present) MessageBody mw_mBody_SMS(
- template(present) SimpleMsgSummary p_SMS := ?
- ) := {
- simpleMsgSummary := p_SMS
- }
-
- template(present) MessageBody mw_MBody_MIMESdpXml(
- template(present) SDP_Message p_sdp := ?,
- template(present) XmlBody p_xmlBody := ?
- ) := {
- mimeMessageBody := {
- boundary := ?,
- mimeEncapsulatedList := {
- {
- content_type := ?,
- content_disposition := *,
- mime_encapsulated_part := {sdpMessageBody := p_sdp}
- },
- {
- content_type := ?,
- content_disposition := *,
- mime_encapsulated_part := {xmlBody := p_xmlBody}
- }
- }
- }
- }
-
- template(present) MessageBody mw_MBody_MIME_Ims3gpp(
- template charstring p_disposition,
- template(present) Ims_3gpp p_ims3gpp := ?
- ) := {
- mimeMessageBody := {
- boundary := ?,
- mimeEncapsulatedList := {
- *,
- {
- content_type := c_ims3gppApplication,
- content_disposition := p_disposition,
- mime_encapsulated_part := {xmlBody := {ims3gpp := p_ims3gpp}}
- },
- *
- }
- }
- }
-
- template(present) MessageBody mw_MBody_MIME_Ims3gppCW(
- template charstring p_disposition,
- template(present) Ims_3gpp p_ims3gpp := ?
- ) := {
- mimeMessageBody := {
- boundary := ?,
- mimeEncapsulatedList := {
- *,
- {
- content_type := c_ims3gppCwApplication,
- content_disposition := p_disposition,
- mime_encapsulated_part := {xmlBody := {ims3gpp := p_ims3gpp}}
- },
- *
- }
- }
- }
-
- }
- /*
- *
- * @desc group TemplatePreparationFunctions contain functions which are used for templates
- */
- group TemplatePreparationFunctions {
-
- group MessageBody_Calculation {
-
- /**
- * @desc Calculation of Message Body length
- * @param p_mb_par contain message body part
- * @return message body length
- */
- function f_MessageBodyLength(
- template(value) MessageBody p_mb_par
- ) return integer {
-
- var integer v_result := 0;
- if (PX_MB_LENGTH_FROM_ENCVAL) {
- // by default it is set to true
- // in case the codec encodes the variant selector, this
- // needs to be changed to ischosen...
- v_result := lengthof(encvalue(p_mb_par)) / 8; // length
- // in
- // bytes,
- // let get
- // length
- // of
- // encoded
- // value
- }
- else {
-
- // assume SDP_Message ONLY in the message body
- if (ischosen(p_mb_par.sdpMessageBody)) {
- v_result := f_SDPlength(valueof(p_mb_par.sdpMessageBody));
- }
-
- // assume XML_Body ONLY in the message body
- if (ischosen(p_mb_par.xmlBody)) {
- v_result := f_XMLBody_Length(valueof(p_mb_par.xmlBody), PX_USE_FX_FOR_XML_LENGTH);
- }
-
- // assume simpleMsgSummary_Body ONLY in the message body
- if (ischosen(p_mb_par.simpleMsgSummary)) {
- v_result := f_simpleMsgSummaryBody_Length(valueof(p_mb_par.simpleMsgSummary));
- }
-
- // assume MIME_Message in the message body
- if (ischosen(p_mb_par.mimeMessageBody)) {
- v_result := f_MIMElength(valueof(p_mb_par.mimeMessageBody));
- }
-
- // assume sipfrag in the message body
- if (ischosen(p_mb_par.sipfrag)) {
- v_result := f_TextPlainLength(p_mb_par); // same
- // function
- // due to
- // same
- // type
- // with
- // textplain
- }
-
- // assume textplain in the message body
- if (ischosen(p_mb_par.textplain)) {
- v_result := f_TextPlainLength(p_mb_par);
- }
- }
-
- return v_result;
- }
-
-
- group SDP_Len_calculation {
- /**
- * @desc Calculation of SDP length
- * @param p_mb contain sdp message
- * @return sdp_lenght
- */
- function f_SDPlength(
- SDP_Message p_mb
- ) return integer {
- var integer i, j, k, v_len_con0, v_len_con1, v_len_con2, v_len_attr;
- var integer v_result := 2;
- //* due to empty line beginning of message body
- var charstring v_auxstring;
-
- v_result := 2 + c_CRlen + lengthof(int2str(p_mb.protocol_version)); //* "v="
- v_auxstring := p_mb.origin.user_name & " " & p_mb.origin.session_id & " " & p_mb.origin.session_version & " " & p_mb.origin.net_type & " " & p_mb.origin.addr_type & " " & p_mb.origin.addr;
- v_result := v_result + 2 + c_CRlen + lengthof(v_auxstring); //* "o="
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.session_name); //* "s="
- if (isvalue(p_mb.information)) {
- v_auxstring := valueof(p_mb.information);
- v_result := v_result + 2 + c_CRlen + lengthof(v_auxstring);
- } //* "i= "
- if (isvalue(p_mb.uri)) {
- v_auxstring := valueof(p_mb.uri);
- v_result := v_result + 2 + c_CRlen + lengthof(v_auxstring);
- } //* "u="
- if (isvalue(p_mb.emails)) {
- for (i := 0; i < lengthof(p_mb.emails); i := i + 1) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.emails[i].addr_or_phone); //* "e="
- if (isvalue(p_mb.emails[i].disp_name)) {
- v_auxstring := valueof(p_mb.emails[i].disp_name);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
- }
- }
-
- if (isvalue(p_mb.phone_numbers)) {
- for (i := 0; i < lengthof(p_mb.phone_numbers); i := i + 1) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.phone_numbers[i].addr_or_phone); //* "p=
- //* "
- if (isvalue(p_mb.phone_numbers[i].disp_name)) {
- v_auxstring := valueof(p_mb.phone_numbers[i].disp_name);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
- }
- }
-
- if (isvalue(p_mb.connection)) {
- v_len_con0 := f_SDPlength_connection(valueof(p_mb.connection));
- v_result := v_result + v_len_con0;
- } //* "c="
- if (isvalue(p_mb.bandwidth)) {
- for (i := 0; i < lengthof(p_mb.bandwidth); i := i + 1) {
- //* "b= "
- v_auxstring := p_mb.bandwidth[i].modifier & " ";
- v_result := v_result + 2 + c_CRlen + lengthof(v_auxstring) + lengthof(int2str(p_mb.bandwidth[i].bandwidth));
- }
- }
-
- for (i := 0; i < lengthof(p_mb.times); i := i + 1) {
- v_auxstring := p_mb.times[i].time_field.start_time & " " & p_mb.times[i].time_field.stop_time;
- v_result := v_result + 2 + c_CRlen + lengthof(v_auxstring); //* "t="
- if (isvalue(p_mb.times[i].time_repeat)) {
- for (j := 0; j < lengthof(p_mb.times[i].time_repeat); j := j + 1) {
- v_result := v_result + 2 + c_CRlen + lengthof(int2str(p_mb.times[i].time_repeat[j].repeat_interval.time)); //* "r="
- if (isvalue(p_mb.times[i].time_repeat[j].repeat_interval.unit)) {
- v_auxstring := valueof(p_mb.times[i].time_repeat[j].repeat_interval.unit);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
-
- v_result := v_result + 1 + lengthof(int2str(p_mb.times[i].time_repeat[j].active.time));
- if (isvalue(p_mb.times[i].time_repeat[j].active.unit)) {
- v_auxstring := valueof(p_mb.times[i].time_repeat[j].active.unit);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
-
- for (k := 0; k < lengthof(p_mb.times[i].time_repeat[j].offsets); k := k + 1) {
- v_result := v_result + 1 + lengthof(int2str(p_mb.times[i].time_repeat[j].offsets[k].time));
- if (isvalue(p_mb.times[i].time_repeat[j].offsets[k].unit)) {
- v_auxstring := valueof(p_mb.times[i].time_repeat[j].offsets[k].unit);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
- }
- }
- }
- }
-
- if (isvalue(p_mb.timezone_adjustments)) {
- log("*** " & __SCOPE__ & ": INFO: timezone adjustments have not been considered in SDP length calculation yet ***");
- } //* "z="
- if (isvalue(p_mb.key)) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.key.method); //* "k=
- //* "
- if (isvalue(p_mb.key.key)) {
- v_auxstring := valueof(p_mb.key.key);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
- }
- if (isvalue(p_mb.attributes)) {
- for (i := 0; i < lengthof(p_mb.attributes); i := i + 1) {
-
-
- //* "a= "
- v_len_con1 := f_SDPlength_attribute(p_mb.attributes[i]);
- v_result := v_result + v_len_con1;
- }
- } //* "a="
- if (isvalue(p_mb.media_list)) {
- for (i := 0; i < lengthof(p_mb.media_list); i := i + 1) {
- //* "m= "
- //* for each media_field
- //* log("p_mb.media_list[i ] ",p_mb.media_list[i
- //* ] );
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.media_list[i].media_field.media) + 1 + lengthof(int2str(p_mb.media_list[i].media_field.ports.port_number));
-
-
- if (isvalue(p_mb.media_list[i].media_field.ports.num_of_ports)) {
- v_result := v_result + 1 + lengthof(int2str(valueof(p_mb.media_list[i].media_field.ports.num_of_ports)));
- }
- v_result := v_result + 1 + lengthof(p_mb.media_list[i].media_field.transport);
- for (j := 0; j < lengthof(p_mb.media_list[i].media_field.fmts); j := j + 1) {
- v_result := v_result + 1 + lengthof(p_mb.media_list[i].media_field.fmts[j]);
- }
-
- if (isvalue(p_mb.media_list[i].information)) {
- v_auxstring := valueof(p_mb.media_list[i].information);
- v_result := v_result + 2 + c_CRlen + lengthof(v_auxstring); //* "i= "
- }
- if (isvalue(p_mb.media_list[i].connections)) {
- for (j := 0; j < lengthof(p_mb.media_list[i].connections); j := j + 1) {
- v_len_con2 := f_SDPlength_connection(p_mb.media_list[i].connections[j]);
- v_result := v_result + v_len_con2;
- } //* end for
- }
- if (isvalue(p_mb.media_list[i].bandwidth)) {
- //* "b= "
- for (j := 0; j < lengthof(p_mb.media_list[i].bandwidth); j := j + 1) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.media_list[i].bandwidth[j].modifier) + 1 + lengthof(int2str(p_mb.media_list[i].bandwidth[j].bandwidth));
- } //* end for
- }
- if (isvalue(p_mb.media_list[i].key)) {
- //* "k= "
- v_result := v_result + 1 + lengthof(p_mb.media_list[i].key.method);
- if (isvalue(p_mb.media_list[i].key.key)) {
- v_auxstring := valueof(p_mb.media_list[i].key.key);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
- }
- if (isvalue(p_mb.media_list[i].attributes)) {
- for (j := 0; j < lengthof(p_mb.media_list[i].attributes); j := j + 1) {
-
- //* "a= "
- v_len_attr := f_SDPlength_attribute(p_mb.media_list[i].attributes[j]);
- v_result := v_result + v_len_attr;
- } //* end for j
- }
- } //* end for i
- } //* end if media_list
- return v_result;
- }
- //* end function f_SDPlength
- function f_SDPlength_connection(
- SDP_connection p_element
- ) return integer {
- //* "c="
- var integer v_result := 0;
- v_result := v_result + 2 + c_CRlen + lengthof(p_element.net_type & " " & p_element.addr_type & " " & p_element.conn_addr.addr);
- if (isvalue(p_element.conn_addr.ttl) and p_element.conn_addr.ttl > 0) {
- v_result := v_result + 1 + lengthof(int2str(valueof(p_element.conn_addr.ttl)));
- }
- if (isvalue(p_element.conn_addr.num_of_addr) and p_element.conn_addr.num_of_addr > 0) {
- v_result := v_result + 1 + lengthof(int2str(valueof(p_element.conn_addr.num_of_addr)));
- }
- return v_result;
- } //* f_SDPlength_connection
-
- function f_SDPlength_attribute(
- SDP_attribute p_element
- ) return integer {
- //* "a="
- var integer v_result := 0;
- if (ischosen(p_element.cat)) {
- v_result := v_result + 2 + c_CRlen + lengthof("cat:" & p_element.cat.attr_value);
- }
- if (ischosen(p_element.keywds)) {
- v_result := v_result + 2 + c_CRlen + lengthof("keywds:" & p_element.keywds.attr_value);
- }
- if (ischosen(p_element.tool)) {
- v_result := v_result + 2 + c_CRlen + lengthof("tool:" & p_element.tool.attr_value);
- }
- if (ischosen(p_element.ptime)) {
- v_result := v_result + 2 + c_CRlen + lengthof("ptime:" & p_element.ptime.attr_value);
- }
- if (ischosen(p_element.recvonly)) {
- v_result := v_result + c_CRlen + lengthof("recvonly");
- }
- if (ischosen(p_element.sendrecv)) {
- v_result := v_result + c_CRlen + lengthof("sendrecv");
- }
- if (ischosen(p_element.sendonly)) {
- v_result := v_result + c_CRlen + lengthof("sendonly");
- }
- if (ischosen(p_element.inactive)) {
- v_result := v_result + c_CRlen + lengthof("inactive");
- }
- if (ischosen(p_element.orient)) {
- v_result := v_result + 2 + c_CRlen + lengthof("orient:" & p_element.orient.attr_value);
- }
- if (ischosen(p_element.sdp_type)) {
- v_result := v_result + 2 + c_CRlen + lengthof("type:" & p_element.sdp_type.attr_value);
- }
- if (ischosen(p_element.charset)) {
- v_result := v_result + 2 + c_CRlen + lengthof("charset" & p_element.charset.attr_value);
- }
- if (ischosen(p_element.sdplang)) {
- v_result := v_result + 2 + c_CRlen + lengthof("sdplang:" & p_element.sdplang.attr_value);
- }
- if (ischosen(p_element.lang)) {
- v_result := v_result + 2 + c_CRlen + lengthof("lang:" & p_element.lang.attr_value);
- }
- if (ischosen(p_element.framerate)) {
- v_result := v_result + 2 + c_CRlen + lengthof("framerate:" & p_element.framerate.attr_value);
- }
- if (ischosen(p_element.quality)) {
- v_result := v_result + 2 + c_CRlen + lengthof("quality:" & p_element.quality.attr_value);
- }
- if (ischosen(p_element.fmtp)) {
- v_result := v_result + 2 + c_CRlen + lengthof("fmtp:" & p_element.fmtp.format & " " & f_fmtpparams_to_charstring(p_element.fmtp.params));
- }
- if (ischosen(p_element.curr)) {
- v_result := v_result + 2 + c_CRlen + lengthof("curr:" & p_element.curr.preconditionType & " " & p_element.curr.statusType & " " & p_element.curr.direction);
- }
- if (ischosen(p_element.des)) {
- v_result := v_result + 2 + c_CRlen + lengthof("des:" & p_element.des.preconditionType & " " & p_element.des.strength & " " & p_element.des.statusType & " " & p_element.des.direction);
- }
- if (ischosen(p_element.conf)) {
- v_result := v_result + 2 + c_CRlen + lengthof("conf:" & p_element.conf.preconditionType & " " & p_element.conf.statusType & " " & p_element.conf.direction);
- }
- if (ischosen(p_element.rtpmap)) {
- v_result := v_result + 2 + c_CRlen + lengthof("rtpmap:" & f_rtpmap_to_charstring(p_element.rtpmap));
- }
- if (ischosen(p_element.rtcp)) {
- v_result := v_result + 2 + c_CRlen + lengthof("rtcp:" & f_rtcp_to_charstring(p_element.rtcp));
- }
- if (ischosen(p_element.unknown)) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_element.unknown.name);
- if (isvalue(p_element.unknown.attr_value)) {
- v_result := v_result + lengthof(":" & p_element.unknown.attr_value);
- }
- }
- //* log("axr: length attribute=", v_result);
- return v_result;
- } //* f_SDPlength_attribute
-
- function f_fmtpparams_to_charstring(
- SDP_attribute_fmtp_format_specific_params p_params
- ) return charstring {
- var charstring v_result := "";
- if(ischosen(p_params.unstructured)){
- v_result := p_params.unstructured;
- }
- else
- {
- for(var integer v_idx := 0; v_idx < lengthof(p_params.paramList); v_idx := v_idx + 1) {
- if(v_idx != 0)
- {
- v_result := v_result & "; "
- }
- v_result := v_result & p_params.paramList[v_idx].id;
- if(ispresent(p_params.paramList[v_idx].paramValue)){
- if(ischosen(p_params.paramList[v_idx].paramValue.tokenOrHost))
- {
- v_result := v_result & "=" & p_params.paramList[v_idx].paramValue.tokenOrHost;
- }
- else
- {
- v_result := v_result & "=""" & p_params.paramList[v_idx].paramValue.quotedString & """";
- }
- }
- }
- }
- return v_result;
- }
-
- function f_rtpmap_to_charstring(
- SDP_attribute_rtpmap p_rtpmap
- ) return charstring {
- var charstring v_result := "";
- v_result := p_rtpmap.payload_type & " " & p_rtpmap.codec.encoding & "/" & p_rtpmap.codec.clockrate;
- if(ispresent(p_rtpmap.codec.parameters))
- {
- v_result := v_result & "/" & p_rtpmap.codec.parameters;
- }
- return v_result;
- }
-
- function f_rtcp_to_charstring(
- SDP_attribute_rtcp p_rtcp
- ) return charstring {
- var charstring v_result := int2str(p_rtcp.portnumber);
- if(ispresent(p_rtcp.connection))
- {
- v_result := v_result & " " & p_rtcp.connection.net_type & " " & p_rtcp.connection.addr_type & " " & p_rtcp.connection.conn_addr.addr;
- if(ispresent(p_rtcp.connection.conn_addr.ttl))
- {
- v_result := v_result & "/" & int2str(p_rtcp.connection.conn_addr.ttl);
- if(ispresent(p_rtcp.connection.conn_addr.num_of_addr))
- {
- v_result := v_result & "/" & int2str(p_rtcp.connection.conn_addr.num_of_addr);
- }
- }
- }
- return v_result;
- }
-
- } //* group SDPlen_calculation
-
- group XML_Len_calculation {
-
- /**
- * @desc Declaration of external functions to calculate length of message bodies switching of internal or external functions are made by boolean module parameter/PIXIT USE_FX_FOR_XML_LENGTH declared at top of this module
- */
- external function fx_calculateXMLBodyLen(
- XmlBody p_mb
- ) return integer;
-
- /**
- * @desc Calculation of XML body length
- * @param p_mb contain XML body
- * @return xml_length
- */
- function f_XMLBody_Length(
- XmlBody p_mb,
- boolean p_ext_func
- ) return integer {
- var integer v_result := 0;
-
- if (p_ext_func) {
- v_result := fx_calculateXMLBodyLen(p_mb);
- }
- else {
- // assume ConferenceInfo ONLY in the XML message
- // body
- if (ischosen(p_mb.conference)) {
- v_result := f_XMLBody_ConferenceInfo_Length(p_mb.conference);
- }
-
- // assume CUG ONLY in the XML message body
- if (ischosen(p_mb.cug)) {
- v_result := f_XMLBody_Cug_Length(p_mb.cug);
- }
-
- // assume MCID ONLY in the XML message body
- if (ischosen(p_mb.mcid)) {
- v_result := f_XMLBody_Mcid_Length(p_mb.mcid);
- }
-
- // assume CW ONLY in the XML message body
- if (ischosen(p_mb.cw)) {
- v_result := f_XMLBody_Cw_Length(p_mb.cw);
- }
-
- // assume CDIV ONLY in the XML message body
- if (ischosen(p_mb.cdivn)) {
- v_result := f_XMLBody_Cdivn_Length(p_mb.cdivn);
- }
-
- // assume PSTNTransit ONLY in the XML message body
- if (ischosen(p_mb.pstnTransit)) {
- v_result := f_XMLBody_PSTNTransit_Length(p_mb.pstnTransit);
- }
-
- // assume Simservs ONLY in the XML message body
- if (ischosen(p_mb.simservs)) {
- v_result := f_XMLBody_Simservs_Length(p_mb.simservs);
- }
-
- // assume ResourceLists ONLY in the XML message body
- if (ischosen(p_mb.resourceLists)) {
- v_result := f_XMLBody_ResourceList_Length(p_mb.resourceLists);
- }
-
- // assume Ims3GPP ONLY in the XML message body
- if (ischosen(p_mb.ims3gpp)) {
- v_result := f_XMLBody_Ims3GPP_Length(p_mb.ims3gpp);
- }
- /**
- * Add aditional checks regarding to new variants, also implement appropriate function for calculation
- */
- }
- return v_result;
- } //* f_XMLBodyLength
-
- group XMLBodies_calculation {
-
- /**
- * @desc Calculation of XML ConferenceInfo element length
- * @param p_mb contain XML ConfInfo body
- * @return xml_length
- */
- function f_XMLBody_ConferenceInfo_Length(
- template(value) Conference_type p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
- return v_result;
- } //* f_XMLBody_ConferenceInfo_Length
-
- /**
- * @desc Calculation of XML CUG element length
- * @param p_mb contain XML CUG body
- * @return xml_length
- */
- function f_XMLBody_Cug_Length(
- template(value) Cug p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
- return v_result;
- } //* f_XMLBody_Cug_Length
-
- /**
- * @desc Calculation of XML MCID element length
- * @param p_mb contain XML MCID body
- * @return xml_length
- */
- function f_XMLBody_Mcid_Length(
- template(value) Mcid p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
-
- return v_result;
- } //* f_XMLBody_Mcid_Length
-
- /**
- * @desc Calculation of XML CW element length
- * @param p_mb contain XML CW body
- * @return xml_length
- */
- function f_XMLBody_Cw_Length(
- template(value) Ims_cw p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
-
- return v_result;
- } //* f_XMLBody_Cw_Length
-
- /**
- * @desc Calculation of XML CDIVN element length
- * @param p_mb contain XML CDIVN body
- * @return xml_length
- */
- function f_XMLBody_Cdivn_Length(
- template(value) Comm_div_info_type p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
-
- return v_result;
- } //* f_XMLBody_Cdivn_Length
-
- /**
- * @desc Calculation of XML PSTNTransit element length
- * @param p_mb contain XML PSTNTransit body
- * @return xml_length
- */
- function f_XMLBody_PSTNTransit_Length(
- template(value) PSTN_transit p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
- return v_result;
- } //* f_XMLBody_PSTNTransit_Length
-
- /**
- * @desc Calculation of XML Simservs element length
- * @param p_mb contain XML Simservs body
- * @return xml_length
- */
- function f_XMLBody_Simservs_Length(
- template(value) Simservs p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
- return v_result;
- } //* f_XMLBody_Simservs_Length
-
- /**
- * @desc Calculation of XML ResourceList length
- * @param p_mb contain XML ResourceList body
- * @return xml_length
- */
- function f_XMLBody_ResourceList_Length(
- template(value) Resource_lists p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
- return v_result;
- } //* f_XMLBody_ResourceList_Length
-
- /**
- * @desc Calculation of XML Ims3GPP length
- * @param p_mb contain XML Ims3GPP body
- * @return xml_length
- */
- function f_XMLBody_Ims3GPP_Length(
- template(value) TIMS3GPP p_mb
- ) return integer {
- var integer v_result := lengthof(encvalue(p_mb)) / 8;
- return v_result;
- } //* f_XMLBody_Ims3GPP_Length
-
-
- } //* XMLBodies_calculation
-
-
- } //* group XMLlen_calculation
-
- group simpleMsgSummaryBody_Length {
-
- function f_simpleMsgSummaryBody_Length(
- SimpleMsgSummary p_mb
- ) return integer {
- var integer i;
- var integer v_result := 2;
-
-
- //* due to empty line beginning of message body
- var charstring v_auxstring;
-
- v_result := 2 + lengthof(p_mb.msg_status_line.msg_type) + 2 + lengthof(p_mb.msg_status_line.msg_status) + c_CRlen; //* "Message-Waiting:
- //* yes"
- if (isvalue(p_mb.msg_account))
- //* "Message-Account"
- {
- v_result := v_result + 2 + lengthof(p_mb.msg_account.msg_type_account) + 2 + lengthof(p_mb.msg_account.account_URI) + c_CRlen;
- }
- if (isvalue(p_mb.msg_summary_line_list)) {
- for (i := 0; i < lengthof(p_mb.msg_summary_line_list); i := i + 1) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.msg_summary_line_list[i].msg_context_class) + 2 + lengthof(p_mb.msg_summary_line_list[i].msgs);
- if (isvalue(p_mb.msg_summary_line_list[i].urgent_msgs)) {
- v_auxstring := valueof(p_mb.msg_summary_line_list[i].urgent_msgs);
- v_result := v_result + 1 + lengthof(v_auxstring);
- }
- }
- }
- if (isvalue(p_mb.opt_msg_headers)) {
- for (i := 0; i < lengthof(p_mb.opt_msg_headers); i := i + 1) {
- v_result := v_result + 2 + c_CRlen + lengthof(p_mb.opt_msg_headers[i]);
- }
- }
- return v_result;
- }
- }
-
- group MIME_Len_calculation {
- /**
- * @desc Calculation of MIME length
- * @param p_mb contain MIME message
- * @return xml_length
- */
- function f_MIMElength(
- MIME_Message p_mb
- ) return integer {
- var integer i;
- var integer v_result := 2;
- // 0d0a
- v_result := v_result + lengthof(p_mb.boundary) + 2 /*0d0a*/;
-
- for (i := 0; i < lengthof(p_mb.mimeEncapsulatedList); i := i + 1) {
-
- v_result := v_result + lengthof("Content-Type: ") + lengthof(p_mb.mimeEncapsulatedList[i].content_type) + 2 /*0d0a*/;
-
- if (isvalue(p_mb.mimeEncapsulatedList[i].content_disposition)) {
- v_result := v_result + lengthof("Content-Disposition: ") + lengthof(p_mb.mimeEncapsulatedList[i].content_disposition) + 2 /*0d0a*/;
- }
-
- // v_result := v_result +2/*0d0a*/; ??? to check
- // assume SDP_Message ONLY in the message body
- if (ischosen(p_mb.mimeEncapsulatedList[i].mime_encapsulated_part.sdpMessageBody)) {
- v_result := v_result + f_SDPlength(p_mb.mimeEncapsulatedList[i].mime_encapsulated_part.sdpMessageBody);
- }
-
- // assume XML_Body ONLY in the message body
- if (ischosen(p_mb.mimeEncapsulatedList[i].mime_encapsulated_part.xmlBody)) {
- v_result := v_result + f_XMLBody_Length(p_mb.mimeEncapsulatedList[i].mime_encapsulated_part.xmlBody, PX_USE_FX_FOR_XML_LENGTH);
- }
- // //assume XML_Message ONLY in the message body
- // if (ischosen(p_mb.mimeEncapsulatedList[i ]
- // .mime_encapsulated_part.xmlMessage))
- // {
- // v_result := v_result +
- // f_XMLlength(p_mb.mimeEncapsulatedList[i ]
- // .mime_encapsulated_part.xmlMessage,
- // USE_FX_FOR_XML_LENGTH );
- // };
- // v_result := v_result +2/*0d0a*/; ??? to check
- }
-
- // v_result := v_result +2/*0d0a*/; ??? to check
- return v_result;
- } //* f_MIMElength
-
-
- } //* group MIMElen_calculation
-
- group TextPlain_Len_calculation {
- /**
- * @desc Calculation of messagebody-textplain type length
- * @param p_mb contain textplain message
- * @return lenght
- */
- function f_TextPlainLength(
- template(value) MessageBody p_mb
- ) return integer {
- var integer v_result := 0;
-
- v_result := v_result + lengthof(p_mb.textplain);
-
- return v_result;
- } //* end function f_TextPlainLength
-
-
- } //* end group TextPlainLen_calculation
-
-
- } //* group MessageBody_Calculation
-
-
- group GiveHeaders {
- /**
- * @desc Return component variable of recordRoute header if vc_boo_recordRoute is true
- * @return component variable of recordRoute header
- */
- function f_recordroute(
- ) runs on SipComponent
- return template(omit) RecordRoute {
- var template(omit) RecordRoute v_recordRoute := omit;
- if (vc_boo_recordRoute) {
- return vc_recordRoute;
- }
- else {
- return (v_recordRoute);
- }
- }
-
- /**
- * @desc Return component variable of Route header if vc_boo_route is true
- * @return component variable of recordRoute header
- */
- function f_route(
- ) runs on SipComponent
- return template(omit) Route {
- var template(omit) Route v_route := omit;
- if (vc_boo_route) {
- return vc_route;
- }
- else {
- return (v_route);
- }
- }
-
-
- } //* end group GiveHeaders
-
- group others {
-
- /*
- *
- * @desc function combines two comma parameter lists
- * @param p_list1 first list
- * @param p_list2 second list
- * @return comma parameter list that contains parameters from both input lists
- * @verdict
- */
- function f_merge_CommaParam_List(
- template(value) CommaParam_List p_list1,
- template(value) CommaParam_List p_list2
- ) return template(value) CommaParam_List {
- var template(value) CommaParam_List p_result;
- var integer i, v_limit1 := lengthof(p_list1);
- for (i := 0; i < v_limit1; i := i + 1) {
- p_result[i] := p_list1[i];
- }
- for (i := 0; i < lengthof(p_list2); i := i + 1) {
- p_result[i + v_limit1] := p_list2[i];
- }
- return p_result;
- }
-
-
- } //* end group others
-
-
- } //* group TemplatePreparationFunctions
-} //* end module LibSip_Templates
/v3/ttcn/LibSip_Templates.ttcn
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/ttcn/LibSip_SMSFunctions.ttcn3
===================================================================
--- v3/ttcn/LibSip_SMSFunctions.ttcn3 (revision 634)
+++ v3/ttcn/LibSip_SMSFunctions.ttcn3 (nonexistent)
@@ -1,48 +0,0 @@
-/**
- * @author STF 435, 471
- * @version $Id$
- * @desc This module provides the functions used by the test component
- * for SIP-SMS over IMS as specified in 3GPP 24-341 tests.
- * This module is part of LibSipV3.
- */
-module LibSip_SMSFunctions {
- import from LibSip_SMSTypesAndValues all;
-
- function f_IA5_2oct(
- charstring p_ASCII_String
- ) return octetstring {
- var integer i;
- var integer j;
- var integer v_Length := lengthof(p_ASCII_String);
- var integer v_Temp;
- var octetstring v_Noctets := ''O;
- var bitstring v_TempBitSrc := ''B;
- var bitstring v_TempBitDes := ''B;
-
- if ((v_Length <= 0) or (v_Length > 160) or (((v_Length * 7) mod 8) != 0)) {
- log("*** " & __SCOPE__ & "INFO: Invalid value of input string length ***");
- }
-
- for (i := 0; i < v_Length; i := i + 1) {
- v_Temp := char2int(p_ASCII_String[i]);
- v_TempBitSrc := int2bit(v_Temp, 8);
-
- for (j := 1; j <= 7; j := j + 1) {
-
- v_TempBitDes := v_TempBitSrc[8 - j] & v_TempBitDes;
-
- if (((7 * i + j) mod 8) == 0) {
-
- v_Noctets := v_Noctets & bit2oct(v_TempBitDes);
- v_TempBitDes := ''B;
- }
- }
- }
-
- return v_Noctets;
- } // f_IA5_2oct
-
- external function fx_GetSC_TimeStamp(
- integer p_TimeZone
- ) return TP_ServiceCentreTimeStamp_Type;
-} // End of module LibSip_SMSFunctions
\ No newline at end of file
Index: v3/ttcn/LibSip_PIXITS.ttcn
===================================================================
--- v3/ttcn/LibSip_PIXITS.ttcn (revision 634)
+++ v3/ttcn/LibSip_PIXITS.ttcn (nonexistent)
@@ -1,137 +0,0 @@
-/**
- * @author STF 346, STF366, STF368, STF369, STF450, STF471
- * @version $Id$
- * @desc This module provides module parameters used within the SIP
- * protocol for timers, SDP formats etc.
- * This module is part of LibSipV3.
- */
-module LibSip_PIXITS {
- // LibCommon
- import from LibCommon_BasicTypesAndValues all;
- import from LibCommon_DataStrings all;
-
- // ____________________________ PIXIT-S_______________________________
- group SIP_PIXITparameters {
- group SDPParameter {
-
- /**
- * @desc charstring for SDP user name
- */
- modulepar charstring PX_SIP_SDP_USER_NAME := "voicesession";
-
- /**
- * @desc charstring for SDP session identifier
- */
- modulepar charstring PX_SIP_SDP_SESSION_ID := "30000";
-
- /**
- * @desc charstring for SDP dynamic port
- */
- modulepar charstring PX_SIP_SDP_DYN := "0";
-
- /**
- * @desc charstring for SDP bandwidth modifier
- */
- modulepar charstring PX_SIP_SDP_B_MODIFIER := "AS";
-
- /**
- * @desc integer for SDP bandwidth value
- */
- modulepar integer PX_SIP_SDP_B_BANDWIDTH := 64;
-
- /**
- * @desc charstring for SDP media attribute encoding supported by the IUT
- */
- modulepar charstring PX_SIP_SDP_ENCODING := "PCMU";
-
- /**
- * @desc charstring for SDP media attribute encoding clockrate supported by the IUT
- */
- modulepar charstring PX_SIP_SDP_CLOCKRATE := "8000";
-
- } // group SDP Parameter
- group XMLCOnfiguration{
-
- /**
- * @desc boolean for MessageBody length calculation based on encvalue operation result
- */
- modulepar boolean PX_MB_LENGTH_FROM_ENCVAL := true;
-
- /**
- * @desc boolean for MessageBody length calculation to be performed by external function
- */
- modulepar boolean PX_USE_FX_FOR_XML_LENGTH := false;
- }
-
- group SupportedOptions {
-
- /**
- * @desc charstring for Used Transport in upper case "UDP"/"TCP"
- */
- modulepar charstring PX_SIP_TRANSPORT := "UDP";
-
-
- } // group SupportedOptions{
-
- group RegistrationParameters {
-
- /**
- * @desc boolean for the SIP user if it have to register itself before executing a test case
- */
- modulepar boolean PX_SIP_REGISTRATION := false;
-
- /**
- * @desc charstring for PX_AUTH_ALGORITHM security algorithm Possible values: MD5 or AKAv1-MD5
- */
- modulepar charstring PX_AUTH_ALGORITHM := "AKAv1-MD5";
-
-
- } // group Registration parameters
-
- group SwitchToEnableAuthentication {
- /**
- * @desc boolean for option controlling if authentication is enabled/disabled for REGISTER messages
- */
- modulepar boolean PX_SIP_REGISTER_AUTHENTICATION_ENABLED := true;
-
- /**
- * @desc boolean for option controlling if authentication is enabled/disabled for INVITE messages
- */
- modulepar boolean PX_SIP_INVITE_AUTHENTICATION_ENABLED := false;
-
-
- } // group SwitchToEnableAuthentication
-
- group SIP_Timers {
- /**
- * @desc float for TWait default value for waiting an operator action
- */
- modulepar float PX_SIP_TWAIT := 30.0;
-
- /**
- * @desc float for TAck default value for waiting an acknowledgement
- */
- modulepar float PX_SIP_TACK := 8.0;
-
- /**
- * @desc float for TResp default value for waiting for a response from the IUT
- */
- modulepar float PX_SIP_TRESP := 15.0;
-
- /**
- * @desc float for TNoAct default value for waiting no message from the IUT Value given for PX_TNOACT should be less than value of SHORT_REGISTRATION constant (which is currently "3" (seconds))
- */
- modulepar float PX_SIP_TNOACT := 1.0;
-
- } // group SIP_Timers
-
- group MimePart {
- /**
- * @desc charstring for delimiter value used in mime multipart message to separate message body parts
- */
- modulepar charstring PX_SIP_MIME_BOUNDARY := "boundary1";
-
- } // group MimePart
-
- } // group SIP_PIXITparameters
-} // end module LibSip_PIXITS
/v3/ttcn/LibSip_PIXITS.ttcn
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/ttcn/LibSip_Interface.ttcn
===================================================================
--- v3/ttcn/LibSip_Interface.ttcn (revision 634)
+++ v3/ttcn/LibSip_Interface.ttcn (nonexistent)
@@ -1,208 +0,0 @@
-/**
- * @author STF 346, STF366, STF368, STF369, STF450, STF471
- * @version $Id$
- * @desc This module provides the types used by the test component
- * for SIP-IMS tests. Module become from STF306 and STF334-336
- * This module is part of LibSipV3.
- */
-module LibSip_Interface {
- // LibCommon
- import from LibCommon_Sync all;
- import from LibCommon_AbstractData all;
- import from LibCommon_BasicTypesAndValues all;
- import from LibCommon_DataStrings all;
- // LibSip
- import from LibSip_SIPTypesAndValues all;
- import from LibSip_SDPTypes all;
- import from LibSip_XMLTypes all;
-
- import from LibSip_PIXITS all;
-
- group AdressTypes {
- type record Address4SIP {
- // HostPort
- charstring host optional,
- // hostname, IPv4 or IPv6
- integer portField
- optional // represented as an integer
- } with {
- encode "LibSip V3";
- }
-
- type Address4SIP address;
-
-
- } // end group AdressTypes
-
- type port SipPort message {
- inout Request, REGISTER_Request, INVITE_Request, OPTIONS_Request, BYE_Request, CANCEL_Request, ACK_Request, PRACK_Request, NOTIFY_Request, SUBSCRIBE_Request, PUBLISH_Request, UPDATE_Request, REFER_Request, MESSAGE_Request, INFO_Request, Response, Raw;
- }
- with {
- extension "address";
- }
-
- signature s_SIP_conversation(
- in charstring p_text,
- out boolean p_answer
- ) ;
- signature s_SIP_ringing(
- in charstring p_text,
- out boolean p_answer
- ) ;
- signature s_SIP_announcementA(
- in charstring p_text,
- out boolean p_answer
- ) ;
- signature s_SIP_announcementB(
- in charstring p_text,
- out boolean p_answer
- ) ;
- signature s_SIP_announcement(
- in charstring p_text,
- out boolean p_answer
- ) ;
- signature s_SIP_voiceMessage(
- in charstring p_text,
- out boolean p_answer
- ) ;
- signature s_SIP_mediastopped(
- in charstring p_text,
- out boolean p_answer
- ) ;
- type port OperatorPort procedure {
- inout s_SIP_conversation;
- inout s_SIP_ringing;
- inout s_SIP_announcementA;
- inout s_SIP_announcementB;
- inout s_SIP_announcement;
- inout s_SIP_voiceMessage;
- inout s_SIP_mediastopped;
- }
-
- // Solution for building error problem. (Important for validation)
- // type component ImsComponent extends SipComponent need to be located in LibIms_Interface and not in LibSip_Interface module
- // With this solution TAU compiler error.
- // type component ImsComponent extends SipComponent
- // {
- // // general variables
- // var ImsInterfaceProfile vc_interfaceprofile
- // } // end ImsComponent
- type component SipComponent extends SelfSyncComp {
- // port
- port SipPort SIPP;
- // used for communication with the operator
- port OperatorPort opPort;
-
- // current address to send TCP/UDP messages
- var SipUserProfile vc_userprofile; // PIXIT userinformation
- var address vc_sent_label; // removed because this value is predefined and used to open socket := {host := PX_SIP_SUT_IPADDR, portField := PX_SIP_SUT_PORT};
- // last incoming message
- var Response vc_response; // last incoming response message
- var boolean vc_boo_response := false; // to check if response received or not
- var Request vc_request; // last incoming request message
- var boolean vc_boo_request := false; // to check if request received or not
- var Request vc_requestFor407; // last INVITE request to be authorized if 407/401 received from Proxy
- var SipUrl vc_requestUri := c_empty_RequestUri;
- var SipUrl vc_requestUri2 := c_empty_RequestUri; // MRO
- var charstring vc_branch := "";
- var charstring vc_branch_ICSCF := "";
- var charstring vc_branch_SCSCF := "";
-
- // SIP message header fields (for building next message)
- var template(omit) CallId vc_callId := c_empty_CallId;
- var template(omit) CallId vc_callIdReg := c_empty_CallId;
- var template(omit) CallId vc_callIdSub := c_empty_CallId;
- var From vc_from := c_empty_From;
- var To vc_to := c_empty_To;
- var To vc_cancel_To := c_empty_To; // used for next CANCEL
- var Via vc_via := c_empty_Via;
- var Via vc_via_REG := c_empty_Via; // via used in last REGISTER
- var ContentType vc_contentType := c_empty_ContentType; // MRO
- var template(omit) RecordRoute vc_recordRoute; // value of RecordRoute header
- var boolean vc_boo_recordRoute := false; // boolean indicates valid recordRoute
- var template(omit) Route vc_route; // value of Route header
- var template(omit) Route vc_route_REG; // value of Route header from registration ServiceRoute header for initial Requests
- var
- UrnUriComponents
- vc_reqUrnUri := {
- namespaceId := "",
- namespaceSpecificString := ""
- };
- var boolean vc_boo_route := false; // boolean indicates valid Route
- var template(omit) Contact vc_contact; // value of Contact header
- var CSeq vc_cSeq := c_empty_cSeq; // value of CSeq header
- var template(value)
- RAck
- vc_rAck := {
- fieldName := RACK_E,
- responseNum := 1,
- seqNumber := 1,
- method := "INVITE"
- }; // value of RAck header
-
- // address to send request
- var HostPort vc_reqHostPort := {//STF471 removed PIXIT assignment, should be performed in specific ATS
- host := "127.0.0.1", // former PX_SIP_SUT_IPADDR value
- portField := 5060 //former PX_SIP_SUT_PORT value
- };
- var template(omit) Privacy vc_privacy;
- var HistoryInfo_List vc_historyInfoList := {}; // value of history list according to RFC4244
- var SipUrl vc_confURI; // conference URI according to TS124147 ch. 5.3.1.3.2
- var SDP_Message vc_sdp_remote; // incoming SDP offers
- var SDP_Message vc_sdp_local; // SDP values to be sent
- var XmlBody vc_xml_remote; // incoming XML value
- var template XmlBody vc_xml_local; // SDP values to be sent
- var template(omit) CSeq vc_iut_CSeq := c_empty_cSeq; // value of last CSeq header used by the IUT in request
- // To/From header-fields to be used if the callee will release the session
- var To vc_callee_To := c_empty_To;
- var From vc_callee_From := c_empty_From;
- // To/From header-fields to be used if the caller will release the session
- var To vc_caller_To := c_empty_To;
- var From vc_caller_From := c_empty_From;
- var Authorization vc_authorization;
-
- // variables for storing default references
- var default vc_default;
- var default vc_def_catchSyncStop;
-
- // general timers
- timer tc_T1 := 0.5;//STF471 default value, should be set in specific ATS, former PX_SIP_T1
- timer tc_Tf := 32.0;//STF471 default value, should be set in specific ATS, former PX_SIP_TF
- timer tc_wait := PX_SIP_TWAIT;
- timer tc_ack := PX_SIP_TACK;
- timer tc_resp := PX_SIP_TRESP;
- timer tc_noAct := PX_SIP_TNOACT; // time for SUT to get idle state
- // timer TRept;
- // timer TSync := 10.0; //STF471 default value, should be set in specific ATS, former PX_SIP_TSYNC
- timer tc_guard := 120.0; //STF471 default value, should be set in specific ATS, former PX_SIP_TGUARD
- timer tc_tDelay := 32.0;
-
- var float vc_tcRESP := PX_SIP_TRESP; // standard value for TRESP (may be modified in particular tests)
- // indicators set/used parameter status or state handling in default
- var boolean vc_sdp_remote_is_valid := false; // true if there is a value in v_SDP_remote
- var boolean vc_history_is_valid := false; // true if there is a HistoryList in response message
- var boolean vc_send_SDP := false; // send SDP in the next outgoing message
- var boolean vc_ignore_bye := false; // enable ignore of repeated bye in default
- var boolean vc_ignore_invite := false; // enable ignore invite in default
- var boolean vc_ignore_subscribe := false; // enable ignore subscribe in default
- var boolean vc_ignore181 := false; // enable ignore of 181 in default
- var boolean vc_ignore484 := false; // enable ignore of 484 in default
- var boolean vc_ignore4xx := false; // enable ignore of 4xx in default
- var boolean vc_ignore200OKinv := false; // enable ignore of 200OKinv in default
- var boolean vc_ignore_notify := false; // enable ignore of notify in default
- var boolean vc_supported_100rel := false; // true if the received invite contains 100rel
- var boolean vc_supported_precondition := false; // true if the received invite contains precondition
- var boolean vc_MESSAGEreceived := false; // true if MESSAGE received during altstep
- var boolean vc_first_recv := false; // true after receipt of first incomming SIP message
- var boolean vc_firstREGISTER_sent := false; // true after sent of first REGISTER message
- var boolean vc_DeregDone := false; // true after first DeREGISTRATION trail (avoid loop)
- var boolean vc_interface_isc := false; // true if isc interface is in use
- var boolean vc_white_space := false; // MRO
- var boolean vc_subscribed := false;
- // ETS address
- var address vc_ets_label; //This value should be initialized in specific ATS
-
- // // used for communication with the operator
- // port OperatorPort_SIP opPort;
- } // end SipComponent
-} // end module LibSip_Interface
/v3/ttcn/LibSip_Interface.ttcn
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/ttcn/LibSip_SimpleMsgSummaryTypes.ttcn
===================================================================
--- v3/ttcn/LibSip_SimpleMsgSummaryTypes.ttcn (revision 634)
+++ v3/ttcn/LibSip_SimpleMsgSummaryTypes.ttcn (nonexistent)
@@ -1,57 +0,0 @@
-/**
- * @author STF 406, 471
- * @version $Id: LibSip_SimpleMsgSummaryTypes.ttcn 488 2010-11-08 10:17:19Z pintar $
- * @desc This module provides the SMS type system for SIP tests.
- * This module is part of LibSipV3.
-*/
-module LibSip_SimpleMsgSummaryTypes {
- // RFC 3842
- group SMSConstants {
-
- // IMS ETSI name MWI application
- const charstring c_imsEtsiMwiApplication := "application/simple-message-summary";
-
- // msg_status line := "Message-Waiting"
- const charstring c_messageWaiting := "Message-Waiting";
-
- // msg_status line := "Message-Account"
- const charstring c_messageAccount := "Message-Account";
-
- // msg_summary line := "Voice-Message"
- const charstring c_voiceMessage := "Voice-Message";
-
- }
-
- group SMSTypes {
- type record SimpleMsgSummary {
- // Simple_message_summary
- Msg_status_line msg_status_line,
- Msg_account msg_account optional,
- Msg_summary_line_list msg_summary_line_list optional,
- Opt_msg_headers opt_msg_headers optional
- }
-
- type record Msg_status_line {
- charstring msg_type,
- charstring msg_status
- }
-
- type record Msg_account {
- charstring msg_type_account,
- charstring account_URI
- }
-
- type set of Msg_summary_line Msg_summary_line_list;
-
- type record Msg_summary_line {
- charstring msg_context_class,
- charstring msgs,
- charstring urgent_msgs optional
- }
-
- type set of charstring Opt_msg_headers;
-
-
- // type integer msgcount length(1); //msgs and urgent_msgs can be dividet into subtypes
- }
-}
\ No newline at end of file
Index: v3/ttcn/LibSip_SIPTypesAndValues.ttcn
===================================================================
--- v3/ttcn/LibSip_SIPTypesAndValues.ttcn (revision 634)
+++ v3/ttcn/LibSip_SIPTypesAndValues.ttcn (nonexistent)
@@ -1,1941 +0,0 @@
-/**
- * @author STF 346, STF366, STF368, STF369, STF450, STF471
- * @version $Id$
- * @desc This module defines message, header, structured and simple SIP
- * types as well constants used by LipSip constructs. <br>
- * Note that any changes made to the definitions in this module
- * may be overwritten by future releases of this library
- * End users are encouraged to contact the distributers of this
- * module regarding their modifications or additions
- * This module is part of LibSipV3.
- * @remark Adding of new message and header types is ok; Adding of new optional header fields in
- * @see MessageHeader type is ok but should be done at same time as dummy template updates; Existing message or header types shall not be changed or removed - change requests shall be made to http://t-ort.etsi.org
- */
-module LibSip_SIPTypesAndValues {
- import from LibSip_MessageBodyTypes all;
- import from LibSip_PIXITS all;
-
- group Constants {
- group SimpleConstants {
- // SIP name protocol plus version
- const charstring c_sipNameVersion := "SIP/2.0";
-
- // SIP name protocol
- const charstring c_sipName := "SIP";
-
- // SIP version
- const charstring c_sipVersion := "2.0";
-
- // SIP scheme
- const charstring c_sipScheme := "sip";
-
- // TEL scheme
- const charstring c_telScheme := "tel";
-
- // URN schema
- const charstring c_urnScheme := "urn";
-
- // TAG_ID
- const charstring c_tagId := "tag";
-
- // BRANCH_ID
- const charstring c_branchId := "branch";
-
- // BRANCH_COOKIE
- const charstring c_branchCookie := "z9hG4bK";
-
- // EXPIRES_ID
- const charstring c_expiresId := "expires";
-
- // MADDR_ID
- const charstring c_maddrId := "maddr";
-
- // METHOD_ID
- const charstring c_methodId := "method";
-
- // RECEIVED_ID
- const charstring c_receivedId := "received";
-
- // TTL_ID
- const charstring c_ttlId := "ttl";
-
- // USER_ID
- const charstring c_userId := "user";
-
- // SDP name application
- const charstring c_sdpApplication := "application/sdp";
-
- // XML name application
- const charstring c_xmlApplication := "application/xml";
-
- // XML name application
- const charstring c_xmlreginfoApplication := "application/reginfo+xml";
-
- // XML name resource-list
- const charstring c_xmlresourcelistApplication := "application/resource-lists+xml";
-
- // MIME name application
- const charstring c_mimeMultipart := "multipart/mixed;boundary=""" & PX_SIP_MIME_BOUNDARY & """";
-
- // IMS 3GPP name application
- const charstring c_ims3gppApplication := "application/3gpp-ims+xml";
-
- // IMS 3GPP name CW application
- const charstring c_ims3gppCwApplication := "application/vnd.3gpp.cw+xml";
-
- // IMS ETSI name MCID application
- const charstring c_imsEtsiMcidApplication := "application/vnd.etsi.mcid+xml";
-
- // IMS ETSI name CUG application
- const charstring c_imsEtsiCugApplication := "application/vnd.etsi.cug+xml";
-
- // IMS ETSI name Simservs application(TIP/TIR, ACR, CDIV, OIP/OIR, CUG)
- const charstring c_imsEtsiSimservsApplication := "application/vnd.etsi.simservs+xml";
-
- // OCTET-STREAM name application
- const charstring c_octetApplication := "application/octet-stream";
-
- // PLAIN-TEXT name application
- const charstring c_plainText := "text/plain";
-
- // SIP fragment message
- const charstring c_sipfragMessage := "message/sipfrag";
-
- // text content of 1300 bytes for messages with message body
- const charstring c_longMessageContent_1300Bytes :=
- "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" &
- "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" & oct2char('0D'O) & oct2char('0A'O);
- // CRLF
- // Default SIP port number : 5060
- const integer c_defaultSipPort := 5060;
-
- // Default SIP protocol : UDP
- const charstring c_defaultSipProt := "UDP";
-
- // Fixed IP multicast address
- const charstring c_mcastSipIpaddr := "224.0.1.75";
-
- // Short delta-second used in expires parameter to acknowledge a registration
- const charstring c_shortRegistration := "3600";
-
- // ([RFC3891 ] Sec 6.1)
- const charstring c_earlyFlag := "early-only";
-
- // option tag replaces ([RFC3261 ] )
- const charstring c_replaces := "replaces";
-
- // option tag 100rel (reliable provisional response [RFC3262 ] )
- const charstring c_tag100rel := "100rel";
-
- // option tag from-change ([RFC4916 ] )
- const charstring c_tagFromChange := "from-change";
-
- // option tag precondition (ch.11 [RFC3312 ] )
- const charstring c_tagPrecond := "precondition";
-
- // due to problem with TAU compiler because hardcoded return statement constant is created
- const HostPort c_hostport_dummy := {
- host := "",
- portField := c_defaultSipPort
- };
-
- // CLIP/CLIR information
- const PrivacyValue c_privacy_none := "none";
- const PrivacyValue c_privacy_id := "id";
- const PrivacyValue c_privacy_header := "header";
- const PrivacyValue c_privacy_user := "user";
- const PrivacyValue c_privacy_critical := "critical";
- const PrivacyValue c_privacy_session := "session";
-
- //
- const charstring c_AT := "@";
- // MRO
- const charstring c_SP := oct2char('20'O);
- const charstring c_SLASH := oct2char('2F'O);
- const charstring c_LT := oct2char('3C'O);
- const charstring c_GT := oct2char('3E'O);
-
- // * (wildchard) sign
- const charstring c_WILDCARD := "*";
-
- const integer c_CRlen := 2;
- // length of new line (0d0a)
- const GenericParam c_Integrity_protected_yes := {"integrity-protected", {tokenOrHost := "yes"}};
- const GenericParam c_Integrity_protected_no := {"integrity-protected", {tokenOrHost := "no"}};
- const GenericParam c_Integrity_protected_ip_assoc_pending := {"integrity-protected", {tokenOrHost := "ip-assoc-pending"}};
-
- const charstring c_algorithm := "MD5";
-
- } // end group SimpleConstants
-
- group AuthorizationConstants {
-
- const charstring c_ik := "";
- const charstring c_ck := "";
- const charstring c_nonce := "";
- const charstring c_nonce_value := "0edff6c521cc3f407f2d9e01cf6ed82b";
-
-
- } // end group AuthorizationConstants
-
- group PChargingVectorConstants {
-
- const charstring c_icid := "icid-value";
- const charstring c_icid_value := "123abc";
- const charstring c_icid_generated_at := "icid-generated-at";
- const charstring c_orig_ioi := "orig-ioi";
- const charstring c_term_ioi := "term-ioi";
- const charstring c_access_network_charging_info := "access-network-charging-info";
-
-
- } // end group PChargingVectorConstants
-
- group HeaderFieldConstants {
-
- const CallId c_empty_CallId := {
- fieldName := CALL_ID_E,
- callid := ""
- };
-
- const ContentType c_empty_ContentType := {
- fieldName := CONTENT_TYPE_E,
- mediaType := ""
- };
-
- const CSeq c_empty_cSeq := {
- fieldName := CSEQ_E,
- seqNumber := 0,
- method := "EMPTY"
- };
-
- const From c_empty_From := {
- fieldName := FROM_E,
- addressField := {
- nameAddr := {
- displayName := omit,
- addrSpec := {
- scheme := c_sipScheme,
- components := {
- sip := {
- userInfo := omit,
- hostPort := {
- host := "127.0.0.1",
- portField := c_defaultSipPort
- }
- }
- },
- urlParameters := omit,
- headers := omit
- }
- }
- },
- fromParams := omit
- };
-
- const MaxForwards c_maxForwards70 := {
- fieldName := MAX_FORWARDS_E,
- forwards := 70
- };
-
- const SipUrl c_empty_RequestUri := {
- scheme := c_sipScheme,
- components := {
- sip := {
- userInfo := omit,
- hostPort := {
- host := "127.0.0.1",
- portField := c_defaultSipPort
- }
- }
- },
- urlParameters := omit,
- headers := omit
- };
-
- const SipUrl c_unavailableUri := {
- scheme := c_sipScheme,
- components := {
- sip := {
- userInfo := {
- userOrTelephoneSubscriber := "unavailable",
- password := omit
- },
- hostPort := {
- host := "anonymous.invalid",
- portField := c_defaultSipPort
- }
- }
- },
- urlParameters := omit,
- headers := omit
- };
-
- const To c_empty_To := {
- // value of To header
- fieldName := TO_E,
- addressField := {
- nameAddr := {
- displayName := omit,
- addrSpec := {
- scheme := c_sipScheme,
- components := {
- sip := {
- userInfo := omit,
- hostPort := {
- host := "127.0.0.1",
- portField := c_defaultSipPort
- }
- }
- },
- urlParameters := omit,
- headers := omit
- }
- }
- },
- toParams := omit
- };
-
- const Via c_empty_Via := {
- fieldName := VIA_E,
- viaBody := {
- {
- sentProtocol := {
- protocolName := c_sipName,
- protocolVersion := c_sipVersion,
- transport := c_defaultSipProt
- },
- sentBy := {
- host := "127.0.0.1",
- portField := c_defaultSipPort
- },
- viaParams := omit
- }
- }
- };
-
-
- }
-
-
- group UserProfileConstants {
- // number of user profile from 1-10 for SIP profile
- const integer c_userProfile_SIP1_home := 1;
- const integer c_userProfile_SIP2_home := 2;
-
-
- } // end group UserProfileConstants
-
- group StatusLines {
- const StatusLine c_statusLine100 := {c_sipNameVersion, 100, "Trying"};
- const StatusLine c_statusLine180 := {c_sipNameVersion, 180, "Ringing"};
- const StatusLine c_statusLine181 := {c_sipNameVersion, 181, "Call Is Being Forwarded"};
- const StatusLine c_statusLine182 := {c_sipNameVersion, 182, "Queued"};
- const StatusLine c_statusLine183 := {c_sipNameVersion, 183, "Session Progress"};
-
- const StatusLine c_statusLine200 := {c_sipNameVersion, 200, "OK"};
- const StatusLine c_statusLine202 := {c_sipNameVersion, 202, "Accepted"};
-
- const StatusLine c_statusLine300 := {c_sipNameVersion, 300, "Multiple Choices"};
- const StatusLine c_statusLine301 := {c_sipNameVersion, 301, "Moved Permanently"};
- const StatusLine c_statusLine302 := {c_sipNameVersion, 302, "Moved Temporarily"};
- const StatusLine c_statusLine305 := {c_sipNameVersion, 305, "Use Proxy"};
- const StatusLine c_statusLine380 := {c_sipNameVersion, 380, "Alternative Service"};
-
- const StatusLine c_statusLine400 := {c_sipNameVersion, 400, "Bad Request"};
- const StatusLine c_statusLine401 := {c_sipNameVersion, 401, "Unauthorized"};
- const StatusLine c_statusLine402 := {c_sipNameVersion, 402, "Payment Required"};
- const StatusLine c_statusLine403 := {c_sipNameVersion, 403, "Forbidden"};
- const StatusLine c_statusLine404 := {c_sipNameVersion, 404, "Not Found"};
- const StatusLine c_statusLine405 := {c_sipNameVersion, 405, "Method Not Allowed"};
- const StatusLine c_statusLine406 := {c_sipNameVersion, 406, "Not Acceptable"};
- const StatusLine c_statusLine407 := {c_sipNameVersion, 407, "Proxy Authentication Required"};
- const StatusLine c_statusLine408 := {c_sipNameVersion, 408, "Request Timeout"};
- const StatusLine c_statusLine410 := {c_sipNameVersion, 410, "Gone"};
- const StatusLine c_statusLine413 := {c_sipNameVersion, 413, "Request Entity Too Large"};
- const StatusLine c_statusLine414 := {c_sipNameVersion, 414, "Request-URI Too Long"};
- const StatusLine c_statusLine415 := {c_sipNameVersion, 415, "Unsupported Media Type"};
- const StatusLine c_statusLine416 := {c_sipNameVersion, 416, "Unsupported URI Scheme"};
- const StatusLine c_statusLine420 := {c_sipNameVersion, 420, "Bad Extension"};
- const StatusLine c_statusLine421 := {c_sipNameVersion, 421, "Extension Required"};
- const StatusLine c_statusLine422 := {c_sipNameVersion, 422, "Session Interval Too Small"};
- const StatusLine c_statusLine423 := {c_sipNameVersion, 423, "Interval Too Brief"};
- const StatusLine c_statusLine433 := {c_sipNameVersion, 433, "Anonymity Disallowed"};
- const StatusLine c_statusLine480 := {c_sipNameVersion, 480, "Temporarily Unavailable"};
- const StatusLine c_statusLine481 := {c_sipNameVersion, 481, "Call/Transaction Does Not Exist"};
- const StatusLine c_statusLine482 := {c_sipNameVersion, 482, "Loop Detected"};
- const StatusLine c_statusLine483 := {c_sipNameVersion, 483, "Too Many Hops"};
- const StatusLine c_statusLine484 := {c_sipNameVersion, 484, "Address Incomplete"};
- const StatusLine c_statusLine485 := {c_sipNameVersion, 485, "Ambiguous"};
- const StatusLine c_statusLine486 := {c_sipNameVersion, 486, "Busy Here"};
- const StatusLine c_statusLine487 := {c_sipNameVersion, 487, "Request Terminated"};
- const StatusLine c_statusLine488 := {c_sipNameVersion, 488, "Not Acceptable Here"};
- const StatusLine c_statusLine493 := {c_sipNameVersion, 493, "Undecipherable"};
- const StatusLine c_statusLine500 := {c_sipNameVersion, 500, "Server Internal Error"};
- const StatusLine c_statusLine501 := {c_sipNameVersion, 501, "Not implemented"};
- const StatusLine c_statusLine502 := {c_sipNameVersion, 502, "Bad Gateway"};
- const StatusLine c_statusLine503 := {c_sipNameVersion, 503, "Service Unavailable"};
- const StatusLine c_statusLine504 := {c_sipNameVersion, 504, "Server Time-out"};
- const StatusLine c_statusLine505 := {c_sipNameVersion, 505, "Version Not Supported"};
- const StatusLine c_statusLine513 := {c_sipNameVersion, 513, "Message Too Large"};
- const StatusLine c_statusLine580 := {c_sipNameVersion, 580, "Precondition Failure"};
- const StatusLine c_statusLine600 := {c_sipNameVersion, 600, "Busy Everywhere"};
- const StatusLine c_statusLine603 := {c_sipNameVersion, 603, "Decline"};
- const StatusLine c_statusLine604 := {c_sipNameVersion, 604, "Does Not Exist Anywhere"};
- const StatusLine c_statusLine606 := {c_sipNameVersion, 606, "Not Acceptable"};
-
-
- } // end StatusLines
-
- group SIPSyncPointNames {
- const charstring c_Ringing := "Ringing";
- const charstring c_uPlane := "uPlane";
- const charstring c_sync1 := "sync1";
- const charstring c_sync2 := "sync2";
- const charstring c_sync3 := "sync3";
- const charstring c_sync4 := "sync4";
- const charstring c_uPlaneStop := "uPlaneStop";
- const charstring c_annoucA := "announcementA";
- const charstring c_annoucB := "announcementB";
- const charstring c_annouc := "announcement";
- const charstring c_voicem := "voiceMessage";
- }
-
-
- } // end group Constants
-
- group Types {
- group SubTypes {
- // Subtypes
- group TokenTypes // TokensTypes
- {
- // [20 ]
- type enumerated FieldName {
- ACCEPT_E,
- ACCEPT_ENCODING_E,
- ACCEPT_LANGUAGE_E,
- ALERT_INFO_E,
- ALLOW_E,
- AUTHENTICATION_INFO_E,
- AUTHORIZATION_E,
- CALL_ID_E,
- CALL_INFO_E,
- CONTACT_E,
- CONTENT_DISPOSITION_E,
- CONTENT_ENCODING_E,
- CONTENT_LANGUAGE_E,
- CONTENT_LENGTH_E,
- CONTENT_TYPE_E,
- CSEQ_E,
- DATE_E,
- ERROR_INFO_E,
- EXPIRES_E,
- FROM_E,
- IN_REPLY_TO_E,
- MAX_FORWARDS_E,
- MIME_VERSION_E,
- MIN_EXPIRES_E,
- ORGANIZATION_E,
- PRIORITY_E,
- PROXY_AUTHENTICATE_E,
- PROXY_AUTHORIZATION_E,
- PROXY_REQUIRE_E,
- RECORD_ROUTE_E,
- REPLY_TO_E,
- REQUIRE_E,
- RETRY_AFTER_E,
- ROUTE_E,
- SERVER_E,
- SUBJECT_E,
- SUPPORTED_E,
- TIMESTAMP_E,
- TO_E,
- UNSUPPORTED_E,
- USER_AGENT_E,
- VIA_E,
- WARNING_E,
- WWW_AUTHENTICATE_E,
- // [3262/7.1 ]
- RACK_E,
- RSEQ_E,
- // [3265/7.2 ]
- ALLOW_EVENTS_E,
- EVENT_E,
- SUBSCRIPTION_STATE_E,
- // [3313 ]
- P_MEDIA_AUTHORIZATION_E,
- // [3323 ]
- PRIVACY_E,
- // [3325 ]
- P_ASSERTED_ID_E,
- P_PREFERRED_ID_E,
- P_PREFERRED_SERVICE_E,
- // [3326 ]
- REASON_E,
- // [3515 ] - REFER method
- REFER_TO_E,
- // [4488 ] - REFER method
- REFER_SUB_E,
- // [3891 ]
- REPLACES_E,
- // [3892 ] - REFER method
- REFERRED_BY_E,
- // [4244 ]
- HISTORY_INFO_E,
- // [3313 ]
- P_MEDIA_AUTH_E,
- // [3327 ]
- PATH_E,
- // [3329 ]
- SECURITY_CLIENT_E,
- SECURITY_SERVER_E,
- SECURITY_VERIFY_E,
- // [3455 ]
- P_ACCESS_NETWORK_INFO_E,
- P_ASSOCIATED_URI_E,
- P_CALLED_PARTY_E,
- P_CHARGING_FUNCTION_ADDRESSES_E,
- P_CHARGING_VECTOR_E,
- P_VISITED_NETWORK_E,
- // [3608 ]
- SERVICE_ROUTE_E,
- // [3841 ]
- ACCEPT_CONTACT_E,
- REQUEST_DISPOSITION_E,
- // [4028 ]
- MIN_SE_E,
- SESSION_EXPIRES_E,
- P_ASSERTED_SERVICE_E,
- // [5009 ]
- P_EARLY_MEDIA_E,
- // http://tools.ietf.org/html/draft-johnston-sipping-cc-uui-07
- // Transporting User to User Call Control Information in SIP for ISDN Interworking
- USER_TO_USER_E,
- // [6442 ] /*
- // @sic R5-133151 update of header fields [email protected] */
- GEOLOCATION_E,
- GEOLOCATION_ROUTING_E,
- SESSION_ID_E,
- SIP_ETAG_E,
- SIP_IF_MATCH_E,
- FEATURE_CAPS_E
- }
-
- // [7.1 ]
- type enumerated Method {
- ACK_E,
- BYE_E,
- CANCEL_E,
- INVITE_E,
- OPTIONS_E,
- REGISTER_E,
- PRACK_E // Note: this element is not defined in [5 ]
- ,
- SUBSCRIBE_E,
- NOTIFY_E // [3265 ]
- ,
- PUBLISH_E // [3903/12 ]
- ,
- REFER_E // [3515 ]
- ,
- UPDATE_E // [3311 ]
- ,
- MESSAGE_E // [3428 ]
- ,
- INFO_E // [2976 ]
- ,
- UNKNOWN_METHOD_E
- }
-
- type union GenValue {
- charstring tokenOrHost,
- charstring quotedString
- }
-
- // [20.1, 20.3, 20.4, 20.7, 20.9, 20.10, 20.11, 20.18, 20.20, 20.27, 20.28, 20.30, 20.31,
- // 20.33, 20.34, 20.39, 20.42, 20.44 ]
- type record GenericParam {
- charstring id,
- GenValue paramValue optional
- }
-
- // [? ]
- type set of GenericParam SemicolonParam_List;
-
- // [? ]
- type set of GenericParam AmpersandParam_List;
-
- // [? ]
- type set of GenericParam CommaParam_List;
-
- type set length (1..infinity) of charstring Charstring_List;
-
- // [20.10, 20.20, 20.30, 20.31, 20.34, 20.39, 20.42, 20.43 ]
- type record HostPort {
- charstring host optional,
- // hostname, IPv4 or IPv6
- integer portField
- optional // represented as an integer
- }
-
- // [20.10, 20.20, 20.30, 20.31, 20.34, 20.39 ]
- /**
- * @desc identifier for user or telephone subscriber
- * @member userOrTelephoneSubscriber provides the username or a phone name identifying the subscriber
- * @member password related password information
- */
- type record UserInfo {
- charstring userOrTelephoneSubscriber,
- charstring password optional
- }
-
- // [19.1.1 ;used in: 20.10, 20.20, 20.30, 20.31, 20.34, 20.39 ]
- /**
- * @desc Uniform Resource Identifier (URI)
- * @member scheme distinguishes call types, e.g. voice, fax etc. or related address scheme, e.g. tel, sip
- * @member userInfo Contains user information (also in non-SIP URLs) with optional parameter as passwords
- * @member hostPort Hostname or IP address information and port identifier of the target
- * @member urlParameters Contains either SIP or TEL URL parameters, separated by semicolons, e.g. transport=tcp or user=phone
- * @member headers Additional information added after the parameters, e.g. priority=urgent
- */
- type record SipUriComponents {
- // sip-uri acc. to RFC 3261 cl. 19.1
- UserInfo userInfo optional,
- HostPort hostPort
- }
-
- type record TelUriComponents {
- // tel-uri acc. to RFC 3966
- charstring subscriber
- }
-
- type record UrnUriComponents {
- // urn-uri acc. to RFC 2141
- charstring namespaceId,
- // e.g. "service" as acc. to RFC 5031
- charstring
- namespaceSpecificString // e.g. "sos"
- }
-
- type union UriComponents {
- SipUriComponents sip,
- // scheme: "sip" or sips"
- TelUriComponents tel,
- // scheme: "tel"
- UrnUriComponents urn,
- // scheme: "urn"
- charstring
- other // scheme: none of the above schemes
- }
-
- type record SipUrl {
- charstring scheme,
- // e.g "sip" or "tel"
- UriComponents components,
- // corresponding to the scheme
- SemicolonParam_List urlParameters optional,
- AmpersandParam_List headers optional
- }
-
- // [20.1, RFC2616 14.1 ]
- type record AcceptBody {
- charstring mediaRange,
- SemicolonParam_List acceptParam optional
- }
-
- // [20.1, RFC2616 14.1 ]
- type set of AcceptBody AcceptBody_List;
-
- // [20.4 ]
- type record AlertInfoBody {
- charstring url,
- // any URI
- SemicolonParam_List genericParams optional
- }
-
- // [20.4 ]
- type set of AlertInfoBody AlertInfoBody_List;
-
- // [20.8 ]
- type charstring CallidString;
- // token ["
- // [20.8 ]
- type set of CallidString CallidString_List;
-
- // [20.9 ]
- type record CallInfoBody {
- charstring url,
- // any URI
- SemicolonParam_List infoParams optional
- }
-
- // [20.9 ]
- type set of CallInfoBody CallInfoBody_List;
-
- // [20.27, 20.44, .......10.32, 10.48; RFC2616 14.33, 14.47; RFC2617 1.2 ]
- type union Challenge {
- CommaParam_List digestCln,
- OtherAuth otherChallenge
- }
-
- // [20.10, 20.20, 20.30, 20.31, 20.34, 20.39 ]
- type record NameAddr {
- charstring displayName optional,
- SipUrl addrSpec
- }
-
- // [20.10, 20.20, 20.31, 20.39 ]
- type union Addr_Union {
- NameAddr nameAddr,
- SipUrl
- addrSpecUnion // STS: "Union" added to filed name to avoid dangerous name equivalence with 2nd NameAddr field
- }
-
- // [20.10 ]
- type record ContactAddress {
- Addr_Union addressField,
- SemicolonParam_List contactParams optional
- }
-
- // [20.10 ]
- type set of ContactAddress ContactAddress_List;
- // 1 or more elements
- // [20.10 ]
- type union ContactBody {
- charstring wildcard,
- ContactAddress_List contactAddresses
- }
-
- // [20.2, 20.12; RFC2616 14.3, 14.11 ]
- type charstring ContentCoding;
-
- // [20.2, 20.12; RFC2616 14.3, 14.11 ]
- type set of ContentCoding ContentCoding_List;
-
- // [20.7, 20.28; RFC2616 14.35 RFC2617 1.2 ]
- type union Credentials {
- CommaParam_List digestResponse,
- OtherAuth otherResponse
- }
-
- // allow multiple Authorization headers due to RFC3261 ch. 20.7 and 20.28
- type record of Credentials CredentialsList;
-
- // [20.19, 20.23, 20.33 ]
- type charstring DeltaSec;
- // an external operation can handle this field
- // [20.18 ]
- type record ErrorInfoBody {
- charstring uri,
- // any URI
- SemicolonParam_List genericParams optional
- }
-
- // [20.18 ]
- type set of ErrorInfoBody ErrorInfoBody_List;
-
- // [20.3 RFC2616 14.4 ]
- type record LanguageBody {
- charstring languageRange,
- SemicolonParam_List acceptParam optional
- }
-
- // [20.3 RFC2616 14.4 ]
- type set of LanguageBody LanguageBody_List;
-
- // [20.13; RFC2616 14.12 ]
- type charstring LanguageTag;
-
- // [20.13; RFC2616 14.12 ]
- type set of LanguageTag LanguageTag_List;
-
- // [20.5 ]
- type set of charstring Method_List;
-
-
- // [20.29, 20.32, 20.37, 20.40 ]
- type charstring OptionTag;
-
- // [20.29, 20.32, 20.37, 20.40 ]
- type set of OptionTag OptionTag_List;
-
-
- // [20.7, 20.27, 20.28, 20.44 ; RFC2616 14.33, 14.47; RFC2617 1.2 ]
- type record OtherAuth {
- charstring authScheme,
- CommaParam_List authParams
- }
-
- type record Payload {
- integer payloadlength,
- charstring payloadvalue
- }
-
- // [20.30,20.34 ]
- type record RouteBody {
- NameAddr nameAddr,
- SemicolonParam_List rrParam optional
- }
-
- // [20.30,20.34 ]
- type record of RouteBody RouteBody_List;
-
- // [20.42 ]
- type record SentProtocol {
- charstring protocolName,
- charstring protocolVersion,
- charstring transport
- }
-
- // [20.35, 20.41; RFC2616 14.43 ]
- type charstring ServerVal;
-
- // [20.35, 20.41; RFC2616 14.43 ]
- type set of ServerVal ServerVal_List;
-
- // [20.38 ]
- type record TimeValue {
- integer majorDigit,
- // represented as an integer
- integer minorDigit
- optional // represented as an integer
- }
-
- // [20.42 ]
- type record ViaBody {
- SentProtocol sentProtocol,
- HostPort sentBy,
- SemicolonParam_List viaParams optional
- }
-
- // [20.42 ]
- type record of ViaBody ViaBody_List;
-
- // [20.43 ]
- type union WarnAgent {
- HostPort hostPort,
- charstring pseudonym
- }
-
- // [20.43 ]
- type record WarningValue {
- integer warnCode,
- // represented as an integer
- WarnAgent warnAgent,
- charstring warnText
- }
-
- // [20.43 ]
- type set of WarningValue WarningValue_List;
-
- type Addr_Union PAssertedIDValue;
-
- type record of PAssertedIDValue PAssertedIDValue_List;
-
- type charstring PAssertedServiceValue;
-
- type Addr_Union PPreferredIDValue;
-
- type record of PPreferredIDValue PPreferredIDValue_List;
-
- type charstring PrivacyValue;
-
- type record of PrivacyValue PrivacyValue_List;
-
- type set of FcValue FcValue_List;
- type record FcValue {
- charstring wildcard(c_WILDCARD),
- SemicolonParam_List fcParams optional
- }
-
-
- } // end group TokensType
-
-
- group HeaderFieldTypes // Header Fields
- {
- group CommonHeaderFieldTypes {
- // [20.1, RFC2616 14.1 ]
- type record Accept {
- FieldName fieldName (ACCEPT_E) ,
- AcceptBody_List acceptArgs optional
- }
-
- // [20.2, RFC2616 14.3 ]
- type record AcceptEncoding {
- FieldName fieldName (ACCEPT_ENCODING_E) ,
- ContentCoding_List contentCoding optional
- }
-
- // [20.3, RFC2616 14.4 ]
- type record AcceptLanguage {
- FieldName fieldName (ACCEPT_LANGUAGE_E) ,
- LanguageBody_List languageBody optional
- }
-
- // [20.4 ]
- type record AlertInfo {
- FieldName fieldName (ALERT_INFO_E) ,
- AlertInfoBody_List alertInfoBody optional
- }
-
- // [20.5 ]
- type record Allow {
- FieldName fieldName (ALLOW_E) ,
- Method_List methods optional
- }
-
- // [20.6 ]
- type record AuthenticationInfo {
- FieldName fieldName (AUTHENTICATION_INFO_E) ,
- CommaParam_List ainfo
- }
-
- // [20.7 RFC2617 3.2.2 ]
- type record Authorization {
- FieldName fieldName (AUTHORIZATION_E) ,
- CredentialsList
- body // changed from Credentials to allow multiple Authorization headers
- }
-
- // [20.8 ]
- type record CallId {
- FieldName fieldName (CALL_ID_E) ,
- CallidString callid
- }
-
- // [20.9 ]
- type record CallInfo {
- FieldName fieldName (CALL_INFO_E) ,
- CallInfoBody_List callInfoBody optional
- }
-
- // [20.10 ]
- type record Contact {
- FieldName fieldName (CONTACT_E) ,
- ContactBody contactBody
- }
-
- // [20.11 ]
- type record ContentDisposition {
- FieldName fieldName (CONTENT_DISPOSITION_E) ,
- charstring dispositionType,
- SemicolonParam_List dispositionParams optional
- }
-
- // [20.12 RFC2616 14.11 ]
- type record ContentEncoding {
- FieldName fieldName (CONTENT_ENCODING_E) ,
- ContentCoding_List contentCoding
- }
-
- // [20.13 RFC2616 14.12 ]
- type record ContentLanguage {
- FieldName fieldName (CONTENT_LANGUAGE_E) ,
- LanguageTag_List languageTag
- }
-
- // [20.14 ]
- type record ContentLength {
- FieldName fieldName (CONTENT_LENGTH_E) ,
- integer
- len // this field is represented as an integer
- }
-
- // [20.15 ]
- type record ContentType {
- FieldName fieldName (CONTENT_TYPE_E) ,
- charstring mediaType
- }
-
- // [20.16 ]
- type record CSeq {
- FieldName fieldName (CSEQ_E) ,
- integer seqNumber,
- // this field is represented as an integer
- charstring method
- }
-
- // [20.17 ]
- type record Date {
- FieldName fieldName (DATE_E) ,
- charstring sipDate
- }
-
- // [20.18 ]
- type record ErrorInfo {
- FieldName fieldName (ERROR_INFO_E) ,
- ErrorInfoBody_List errorInfo optional
- }
-
- // [20.19 ]
- type record Expires {
- FieldName fieldName (EXPIRES_E) ,
- DeltaSec deltaSec
- }
-
- //[6809]
- type record FeatureCaps {
- FieldName fieldName(FEATURE_CAPS_E),
- FcValue_List fcValues
- }
-
- // [20.20 ]
- type record From {
- FieldName fieldName (FROM_E) ,
- Addr_Union addressField,
- SemicolonParam_List fromParams optional
- }
-
- // [20.21 ]
- type record InReplyTo {
- FieldName fieldName (IN_REPLY_TO_E) ,
- CallidString_List callids
- }
-
- // [20.22 ]
- type record MaxForwards {
- FieldName fieldName (MAX_FORWARDS_E) ,
- integer
- forwards // this field is represented as an integer
- }
-
- // [20.23 ]
- type record MinExpires {
- FieldName fieldName (MIN_EXPIRES_E) ,
- DeltaSec deltaSec
- }
-
- // [20.24 RFC2616 19.4.1 ]
- type record MimeVersion {
- FieldName fieldName (MIME_VERSION_E) ,
- integer majorNumber,
- // this field is represented as an integer
- integer
- minorNumber // this field is represented as an integer
- }
-
- // [20.25 ]
- type record Organization {
- FieldName fieldName (ORGANIZATION_E) ,
- charstring organization
- }
-
- // [20.26 ]
- type record Priority {
- FieldName fieldName (PRIORITY_E) ,
- charstring priorityValue
- }
-
- // [20.27 RFC2616 14.33 RFC2617 1.2 ]
- type record ProxyAuthenticate {
- FieldName fieldName (PROXY_AUTHENTICATE_E) ,
- Challenge challenge
- }
-
- // [20.28 RFC2616 14.35 RFC2617 1.2 ]
- type record ProxyAuthorization {
- FieldName fieldName (PROXY_AUTHORIZATION_E) ,
- CredentialsList
- credentials // changed from Credentials to allow multiple Authorization headers
- }
-
- // [20.29 ]
- type record ProxyRequire {
- FieldName fieldName (PROXY_REQUIRE_E) ,
- OptionTag_List optionsTags
- }
-
- // [20.30 ]
- type record RecordRoute {
- FieldName fieldName (RECORD_ROUTE_E) ,
- RouteBody_List routeBody
- }
-
- // [20.31 ]
- type record ReplyTo {
- FieldName fieldName (REPLY_TO_E) ,
- Addr_Union addressField,
- SemicolonParam_List replyToParams optional
- }
-
- // [20.32 ]
- type record Require {
- FieldName fieldName (REQUIRE_E) ,
- OptionTag_List optionsTags
- }
-
- // [20.33 ]
- type record RetryAfter {
- FieldName fieldName (RETRY_AFTER_E) ,
- DeltaSec deltaSec,
- charstring comment optional,
- SemicolonParam_List retryParams optional
- }
-
- // [20.34 ]
- type record Route {
- FieldName fieldName (ROUTE_E) ,
- RouteBody_List routeBody
- }
-
- // [20.35 RFC2616 14.38 ]
- type record Server {
- FieldName fieldName (SERVER_E) ,
- ServerVal_List serverBody
- }
-
- // [20.36 ]
- type record Subject {
- FieldName fieldName (SUBJECT_E) ,
- charstring summary
- }
-
- // [20.37 ]
- type record Supported {
- FieldName fieldName (SUPPORTED_E) ,
- OptionTag_List optionsTags optional
- }
-
- // [20.38 ]
- type record Timestamp {
- FieldName fieldName (TIMESTAMP_E) ,
- TimeValue timeValue optional,
- TimeValue delay optional
- }
-
- // [20.39 ]
- type record To {
- FieldName fieldName (TO_E) ,
- Addr_Union addressField,
- SemicolonParam_List toParams optional
- }
-
- // [20.40 ]
- type record Unsupported {
- FieldName fieldName (UNSUPPORTED_E) ,
- OptionTag_List optionsTags
- }
-
- // Undefined header field
- type record UndefinedHeader {
- charstring headerName,
- charstring headerValue
- }
-
- type set of UndefinedHeader UndefinedHeader_List;
-
- // [20.41 RFC2616 14.43 ]
- type record UserAgent {
- FieldName fieldName (USER_AGENT_E) ,
- ServerVal_List userAgentBody
- }
-
- // [20.42 ]
- type record Via {
- FieldName fieldName (VIA_E) ,
- ViaBody_List viaBody
- }
-
- // [20.43 ]
- type record Warning {
- FieldName fieldName (WARNING_E) ,
- WarningValue_List warningValue
- }
-
- // [20.44 RFC2616 14.47 RFC2617 1.2 ]
- type record WwwAuthenticate {
- FieldName fieldName (WWW_AUTHENTICATE_E) ,
- Challenge challenge
- }
-
- } // end group CommonHeaderFieldTypes
- group RFC3262HeaderFieldTypes {
- // [3262/7.1 ]
- type record RSeq {
- FieldName fieldName (RSEQ_E) ,
- integer responseNum
- }
-
- // [3262/7.2 ]
- type record RAck {
- FieldName fieldName (RACK_E) ,
- integer responseNum,
- integer seqNumber,
- charstring method
- }
-
- } // end group RFC3262HeaderFieldTypes
-
- group RFC3265HeaderFieldTypes {
- // [3265/7.2 ]
- type record AllowEvents {
- FieldName fieldName (ALLOW_EVENTS_E) ,
- EventType_List eventTypes
- }
-
- type set of EventType EventType_List;
- type charstring EventType;
-
- // [3265/7.2 ]
- type record Event {
- FieldName fieldName (EVENT_E) ,
- EventType eventType,
- SemicolonParam_List eventParams optional
- }
-
- // [3265/7.2 ]
- type record SubscriptionState {
- FieldName fieldName (SUBSCRIPTION_STATE_E) ,
- SubState subState,
- SemicolonParam_List substateParams optional
- }
-
- type charstring SubState;
-
- } // end group RFC3265HeaderFieldTypes
-
- group RFC3313HeaderFieldTypes {
- // [3313/5 ]
- type record PMediaAuthorization {
- FieldName fieldName (P_MEDIA_AUTHORIZATION_E) ,
- PMediaAuthorization_List pMediaAuthorizations
- }
-
- type charstring PMediaAuthValue;
- // HEXDIG "0"-"9", "A"-"F"
- type record of PMediaAuthValue PMediaAuthorization_List;
-
-
- } // end group RFC3265HeaderFieldTypes
-
- group RFC3323HeaderFieldTypes {
- // [3323 ]
- type record Privacy {
- FieldName fieldName (PRIVACY_E) ,
- PrivacyValue_List privValueList
- }
-
- } // end group RFC3323HeaderFieldTypes
-
- group RFC3325HeaderFieldTypes {
- // [3325 ]
- type record PAssertedID {
- FieldName fieldName (P_ASSERTED_ID_E) ,
- PAssertedIDValue_List pAssertedIDValueList
- }
-
- // [3325 ]
- type record PPreferredID {
- FieldName fieldName (P_PREFERRED_ID_E) ,
- PPreferredIDValue_List pPreferredIDValueList
- }
- // draft-drage-sipping-service-identification-01 (July 2007)
- type record PPreferredService {
- FieldName fieldName (P_PREFERRED_SERVICE_E) ,
- charstring serviceId
- }
-
-
- } // end group RFC3325HeaderFieldTypes
-
- group RFC3326HeaderFieldTypes {
- // [3326 ]
- type record of ReasonValue ReasonValues;
-
- type record ReasonValue {
- charstring token,
- SemicolonParam_List reasonParams optional
- }
-
- type record Reason {
- FieldName fieldName (REASON_E) ,
- ReasonValues reasonValues
- }
-
- } // end group RFC3326HeaderFieldTypes
-
- group RFC3327HeaderFieldTypes {
- // [3327 ]
- type record Path {
- FieldName fieldName (PATH_E) ,
- PathValues pathValues
- }
-
- type record of PathValue PathValues;
-
- type record PathValue {
- NameAddr nameAddr,
- SemicolonParam_List rrParam optional
- }
-
- } // end group RFC3515HeaderFieldTypes
-
-
- group RFC4488HeaderFieldTypes {
- // [4488 ]
- type record ReferSub {
- FieldName fieldName (REFER_SUB_E) ,
- boolean referSubValue,
- SemicolonParam_List referSubParams optional
- }
-
- } // end group RFC4488HeaderFieldTypes
-
- group RFC3329HeaderFieldTypes {
- // [RFC3329/2.2 ]
- type record SecurityMechanism {
- charstring mechName,
- SemicolonParam_List mechParams optional
- }
-
- type set of SecurityMechanism SecurityMechanism_List;
-
- type record SecurityClient {
- FieldName fieldName (SECURITY_CLIENT_E) ,
- SecurityMechanism_List securityMech
- }
-
- type record SecurityServer {
- FieldName fieldName (SECURITY_SERVER_E) ,
- SecurityMechanism_List securityMech
- }
-
- type record SecurityVerify {
- FieldName fieldName (SECURITY_VERIFY_E) ,
- SecurityMechanism_List securityMech
- }
-
- } // end group RFC3329HeaderFieldTypes
-
- group RFC3455HeaderFieldTypes {
- type record of NameAddrParam NameAddrParam_List;
-
- type record NameAddrParam {
- NameAddr nameAddr,
- SemicolonParam_List genericParams optional
- }
- // [3455/5.1 ]
- type record PAssociatedURI {
- FieldName fieldName (P_ASSOCIATED_URI_E) ,
- NameAddrParam_List nameAddrList
- }
- // [3455/5.2 ]
- type record PCalledPartyID {
- FieldName fieldName (P_CALLED_PARTY_E) ,
- NameAddrParam nameAddParams
- }
-
- type record of VnetworkSpec VnetworkSpec_List;
-
- type record VnetworkSpec {
- charstring vNetworkSpecToken,
- SemicolonParam_List genericParams optional
- }
-
- // [3455/5.3 ]
- type record PVisitedNetworkID {
- FieldName fieldName (P_VISITED_NETWORK_E) ,
- VnetworkSpec_List vNetWorkSpec
- }
-
- // [3455/5.4 ]
- type record PAccessNetworkInfo {
- FieldName fieldName (P_ACCESS_NETWORK_INFO_E) ,
- charstring accessType,
- SemicolonParam_List genericParams optional
- }
-
- // [3455/5.5 ]
- type record PChargingFunctionAddresses {
- FieldName fieldName (P_CHARGING_FUNCTION_ADDRESSES_E) ,
- SemicolonParam_List chargeAddrParams optional
- }
-
- // [3455/5.6 ]
- type record PChargingVector {
- FieldName fieldName (P_CHARGING_VECTOR_E) ,
- charstring icidValue,
- SemicolonParam_List chargeParams optional
- }
-
- } // end group RFC33455HeaderFieldTypes
-
- group RFC3515HeaderFieldTypes {
- // [3515 ]
- type record ReferTo {
- FieldName fieldName (REFER_TO_E) ,
- NameAddr nameAddr,
- SemicolonParam_List referToParams optional
- }
-
- } // end group RFC3515HeaderFieldTypes
-
- group RFC3608HeaderFieldTypes {
- // [3608 ]
- type record ServiceRoute {
- FieldName fieldName (SERVICE_ROUTE_E) ,
- RouteBody_List routeBody
- }
-
- } // end group RFC33608HeaderFieldTypes
-
-
- group RFC3841HeaderFieldTypes {
- // [3841 ]
- type record AcceptContact {
- FieldName fieldName (ACCEPT_CONTACT_E) ,
- AcRcValue_List acValues
- }
-
- type set of AcRcValue AcRcValue_List;
-
- type record AcRcValue {
- charstring wildcard (c_WILDCARD) ,
- SemicolonParam_List acRcParams optional
- }
- // [RFC 3841 ]
- type charstring Directive;
- type set of Directive Directive_List;
- type record RequestDisposition {
- FieldName fieldName (REQUEST_DISPOSITION_E) ,
- Directive_List directives
- }
-
-
- } // end group RFC3841HeaderFieldTypes
-
- group RFC3891HeaderFieldTypes {
- // [3891 ]
- type record Replaces {
- FieldName fieldName (REPLACES_E) ,
- CallidString callid,
- SemicolonParam_List replacesParams optional
- }
-
- } // end group RFC3891HeaderFieldTypes
-
- group RFC3892HeaderFieldTypes {
- // [3892 ]
- type record ReferredBy {
- FieldName fieldName (REFERRED_BY_E) ,
- NameAddr nameAddr,
- SemicolonParam_List referredbyIdParams optional
- }
-
- } // end group RFC3892HeaderFieldTypes
-
- group RFC4028HeaderFieldTypes {
- // [4028 ]
- type record MinSE {
- FieldName fieldName (MIN_SE_E) ,
- DeltaSec deltaSec,
- SemicolonParam_List minSeParam optional
- }
- // [4028 ]
- type record SessionExpires {
- FieldName fieldName (SESSION_EXPIRES_E) ,
- DeltaSec deltaSec,
- SemicolonParam_List seParam optional
- }
-
- } // end group RFC4028HeaderFieldTypes
-
- group RFC4244HeaderFieldTypes {
- // [4244 ]
- type record HistoryInfo {
- FieldName fieldName (HISTORY_INFO_E) ,
- HistoryInfo_List historyInfoList
- }
-
- type record of HistoryInfoEntry HistoryInfo_List;
-
- type record of integer IntegerList;
-
- type record HistoryInfoEntry {
- NameAddr nameAddr,
- IntegerList hiIndex optional,
- SemicolonParam_List hiExtention optional
- }
-
- type record of charstring StringList;
-
- } // end group RFC4244HeaderFieldTypes
-
- group RFC5009PEarlyMediaHeader {
- // [5009 ]
- type record PEarlyMedia {
- FieldName fieldName (P_EARLY_MEDIA_E) ,
- EM_List em_param
- }
- type record of charstring EM_List;
-
- } // end group RFC5009PEarlyMediaHeader
-
- // http://tools.ietf.org/html/draft-johnston-sipping-cc-uui-07, expires 16.Aug.2009
- // Transporting User to User Call Control Information in SIP for ISDN Interworking
- // type definition of SIP header mechanism
- group UserToUser_PreliminaryRFCDraft {
- type record UserToUser {
- FieldName fieldName (USER_TO_USER_E) ,
- charstring uuiData length(256),
- /*length limitation due to ISDN, max of allowed 128 hex digits are represented by 256 characters*/
- GenericParam uuiParam
- }
-
-
- } // end group UserToUser_PreliminaryRFCDraft
-
- type record PAssertedService {
- FieldName fieldName (P_ASSERTED_SERVICE_E) ,
- PAssertedServiceValue pAssertedServiceValue
- }
-
- group RFC6442GeolocationConveyance {
- /* @sic R5-133151 update of header fields [email protected] */
- // [6442 ]
- type record Geolocation {
- // RFC6442 clause 4.1
- FieldName fieldName (GEOLOCATION_E) ,
- SipUrl addrSpec,
- SemicolonParam_List geolocParam optional
- }
- type enumerated GeolocationRoutingState {
- GEOLOCATION_ROUTING_YES_E, GEOLOCATION_ROUTING_NO_E, GEOLOCATION_ROUTING_OTHER_E
- }
- type record GeolocationRouting {
- // RFC6442 clause 4.2
- FieldName fieldName (GEOLOCATION_ROUTING_E) ,
- GeolocationRoutingState state,
- GenericParam genericValue optional
- }
-
- } // end group RFC6442GeolocationConveyance
-
- type charstring SessIdString length(32);
-
- type record SessionId {
- FieldName fieldName (SESSION_ID_E) ,
- SessIdString sessid,
- GenericParam sessidParam optional
- }
-
- type charstring EntityTag;
-
- type record SIP_ETag {
- FieldName fieldName (SIP_ETAG_E) ,
- EntityTag entityTag
- }
-
- type record SIP_If_Match {
- FieldName fieldName (SIP_IF_MATCH_E) ,
- EntityTag entityTag
- }
-
-
- } // end group HeaderFieldTypes
-
- group MessageHeaderTypes {
-
- // Message-Header for all SIP requests and responses [20 ]
- type set MessageHeader {
- Accept accept optional,
- AcceptContact acceptContact optional,
- AcceptEncoding acceptEncoding optional,
- AcceptLanguage acceptLanguage optional,
- AlertInfo alertInfo optional,
- Allow allow optional,
- AllowEvents allowEvents optional,
- // 3265/7.2
- AuthenticationInfo authenticationInfo optional,
- // only in responses
- Authorization authorization optional,
- // only in requests
- CallId callId optional,
- // optional only in Invalid test cases mandatory otherwise
- CallInfo callInfo optional,
- Contact contact optional,
- // optional in response and all requests except INVITE where mandatory
- ContentDisposition contentDisposition optional,
- ContentEncoding contentEncoding optional,
- ContentLanguage contentLanguage optional,
- ContentLength contentLength optional,
- // optional in responses and all requests except ACK where mandatory
- ContentType contentType optional,
- CSeq cSeq optional,
- // optional only in Invalid test cases mandatory otherwise
- Date date optional,
- ErrorInfo errorInfo optional,
- // only in responses
- Event event optional,
- // 3265/7.2
- Expires expires optional,
- From fromField,
- Geolocation geolocation optional,
- // 6442
- GeolocationRouting geolocationRouting optional,
- // 6442
- // @sic R5-133151 update of header fields [email protected]
- HistoryInfo historyInfo optional,
- // 4244
- InReplyTo inReplyTo optional,
- // only in requests
- MaxForwards maxForwards optional,
- // mandatory in requests not required in responses!
- MimeVersion mimeVersion optional,
- MinExpires minExpires optional,
- // only in responses
- MinSE minSE optional,
- // 4028
- Organization organization optional,
- PAccessNetworkInfo pAccessNetworkInfo optional,
- // 3455
- PAssertedID pAssertedID optional,
- // 3325
- PAssertedService pAssertedService optional,
- PAssociatedURI pAssociatedURI optional,
- // 3455
- Path path optional,
- // 3327
- PCalledPartyID pCalledPartyID optional,
- // 3455
- PChargingFunctionAddresses pChargingFunctionAddresses optional,
- // 3455
- PChargingVector pChargingVector optional,
- // 3455
- PEarlyMedia pEarlyMedia optional,
- // 5009
- PMediaAuthorization pMediaAuthorization optional,
- // 3313
- PPreferredID pPreferredID optional,
- // 3325
- PPreferredService pPreferredService optional,
- // draft-drage-sipping-service-identification-01 (July 2007)
- Priority priority optional,
- // only in requests
- Privacy privacy optional,
- // 3323
- ProxyAuthenticate proxyAuthenticate optional,
- // only in responses
- ProxyAuthorization proxyAuthorization optional,
- // only in requests
- ProxyRequire proxyRequire optional,
- // only in requests
- PVisitedNetworkID pVisitedNetworkID optional,
- // 3455
- RAck rAck optional,
- // 3262/7.1
- RSeq rSeq optional,
- // 3262/7.1
- Reason reason optional,
- // 3326
- RecordRoute recordRoute optional,
- RequestDisposition requestDisposition optional,
- // 3841
- ReferredBy referredBy optional,
- // 3892 - REFER method
- ReferTo referTo optional,
- // 3515 - REFER method
- ReferSub referSub optional,
- // 4488 - REFER method
- Replaces replaces optional,
- // 3891
- ReplyTo replyTo optional,
- // optional in responses and INVITE requests
- Require require optional,
- RetryAfter retryAfter optional,
- // only in responses
- Route route optional,
- // only in requests
- SecurityClient securityClient optional,
- // 3329
- SecurityServer securityServer optional,
- // 3329
- SecurityVerify securityVerify optional,
- // 3329
- Server server optional,
- // only in responses
- ServiceRoute serviceRoute optional,
- // 3608
- SessionExpires sessionExpires optional,
- // 4028
- SessionId sessionId optional,
- SIP_ETag sipETag optional,
- SIP_If_Match sipIfMatch optional,
- Subject subject optional,
- // only in requests
- SubscriptionState subscriptionState optional,
- // 3265/7.2
- Supported supported optional,
- Timestamp timestamp optional,
- To toField,
- Unsupported unsupported optional,
- // only in responses
- UserToUser userToUser optional,
- UserAgent userAgent optional,
- Via via,
- Warning warning optional,
- // only in responses
- WwwAuthenticate wwwAuthenticate optional,
- // only in responses
- UndefinedHeader_List undefinedHeader_List optional
- }
-
-
- } // end group MessageHeaderTypes
-
- group StartLineTypes {
- // Request-Line [7.1 ]
- type record RequestLine {
- Method method,
- SipUrl requestUri,
- charstring sipVersion
- }
-
- // Status-Line [7.2 ]
- type record StatusLine {
- charstring sipVersion,
- integer statusCode,
- charstring reasonPhrase
- }
-
-
- } // end group StartLineTypes
-
-
- group otherTypes {
-
- type record SipUserProfile {
- /**
- * @desc integer for the userprofile identifier
- */
- integer id,
- /**
- * @desc integer for Port number to exchange SIP messages
- */
- integer currPort,
- /**
- * @desc charstring for IP address to exchange SIP messages
- */
- charstring currIpaddr,
- /**
- * @desc integer for Port number to exchange SIP messages
- */
- integer contactPort,
- /**
- * @desc charstring for IP address to exchange SIP messages
- */
- charstring contactIpaddr,
- /**
- * @desc charstring for IP address used by the TS to exchange media streams
- */
- charstring bearerIpaddr,
- /**
- * @desc charstring for identity of the tester local domain
- */
- charstring homeDomain,
- /**
- * @desc charstring for identity of the tester local user
- */
- charstring publUsername,
- /**
- * @desc charstring for RFC 2617 3.2.1 qop options: Quoted string of one or more tokens indicating the "quality of protection" values supported by the server. The value "auth" indicates authentication; the value "auth-int" indicates authentication with integrity protection.
- */
- charstring qop,
- /**
- * @desc charstring for RFC 2617 3.2.2 username for authentication The name of user in the specified realm
- */
- charstring privUsername,
- /**
- * @desc charstring for RFC 2617 3.2.2.2 passwd: A known shared secret, the password of user of the specified username
- */
- charstring passwd,
- /**
- * @desc charstring for registrar domain for authentication and request line
- */
- charstring registrarDomain
- }
-
-
-
- } // end group otherTypes
-
-
- } // end group Subtypes
-
-
-
- group MSGtypes {
-
- group RequestTypes {
- // [7.1 ]
- /**
- * @desc generic type of a SIP request message
- * @member statusLine contains a method name, a Request-URI, and the protocol version
- * @member msgHeader include all possible header fields that are allowed to be present according to RFCs and other standards
- * @member messageBody depends on the request method, includes e.g. SDP message.
- * @member payload contains the whole message as it has been received in its text format
- */
- type record Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- // Note: the introduction of the following specific types is to enable better means for logging
- // on the other side the generic type is useful for functions dealing with multiple SIP message types
- type record REGISTER_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record INVITE_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record OPTIONS_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record BYE_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record CANCEL_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record ACK_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- // [3262/7.1 ]
- type record PRACK_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- // [3265/7.1 ]
- type record NOTIFY_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- // [3265/7.1 ]
- type record SUBSCRIBE_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- // [3903/11.1 ]
- type record PUBLISH_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- // [3311/7 ]
- type record UPDATE_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record REFER_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record MESSAGE_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type record INFO_Request {
- RequestLine requestLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- type union RequestUnion {
- REGISTER_Request Register,
- INVITE_Request Invite,
- OPTIONS_Request Options,
- BYE_Request Bye,
- CANCEL_Request Cancel,
- ACK_Request Ack,
- PRACK_Request Prack,
- NOTIFY_Request Notify,
- SUBSCRIBE_Request Subscribe,
- PUBLISH_Request Publish,
- UPDATE_Request Update,
- REFER_Request Refer,
- MESSAGE_Request Message
- }
-
- } // end group RequestTypes
-
- group ResponseTypes {
- // [7.2 ]
- /**
- * @desc generic type of a SIP response message
- * @member statusLine consists of the protocol version followed by a numeric Status-Code and its associated textual phrase
- * @member msgHeader include all possible header fields that are allowed to be present according to RFCs and other standards
- * @member messageBody depends on the response method, includes e.g. SDP message.
- * @member payload contains the whole message as it has been received in its text format
- */
- type record Response {
- StatusLine statusLine,
- MessageHeader msgHeader,
- MessageBody messageBody optional,
- Payload payload optional
- }
-
- } // end group ResponseTypes
-
- // This MSG type is defined for sending synctactic variations, ans syntactically
- // erroneous messages, and receving messages failed parsing.
- group SyntacticTypes {
- type charstring Raw;
-
- } // end group SyntacticTypes
-
-
- // This type is defined for particular SIP message body types like SDP
- } // end group MSGTypes
-
- } // end group Types
-}
-with {
- encode "LibSip V3";
-} // end module LibSip_TypesAndValues
/v3/ttcn/LibSip_SIPTypesAndValues.ttcn
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/ttcn/LibSip_SMSTemplates.ttcn3
===================================================================
--- v3/ttcn/LibSip_SMSTemplates.ttcn3 (revision 634)
+++ v3/ttcn/LibSip_SMSTemplates.ttcn3 (nonexistent)
@@ -1,304 +0,0 @@
-/**
- * @author STF 435, STF 471
- * @version $Id$
- * @desc This module provides the types used by the test component
- * for SIP-SMS over IMS as specified in 3GPP 24-341 tests.
- * This module is part of LibSipV3.
- */
-module LibSip_SMSTemplates {
- import from LibCommon_DataStrings all;
- import from LibSip_SMSTypesAndValues all;
- import from LibSip_SMSFunctions all;
-
- group SMS_Templates_Group {
-
- /* Non-SMS Type Constraints */
- template(present) TypeOfNumberingPlan mw_TypeOfNumberingPlanAny := {
- extBit := ?,
- typeOfNumber := ?,
- numberingPlanId := ?
- }
-
- template(value) TypeOfNumberingPlan m_TypeOfNumberingPlan := {
- extBit := '1'B,
- typeOfNumber := '001'B, // international number
- numberingPlanId :=
- '0001'B // ISDN/telephony numbering plan (Rec. E.164/E.163)
- }
-
- template(present) TypeOfNumberingPlan mw_TypeOfNumberingPlan := mw_TypeOfNumberingPlanAny;
-
- /* End Non-SMS Type Constraints */
- template(value) RP_OriginatorAddress_dl m_RP_OriginatorAddress_dl := {
- spare := omit,
- iei := omit,
- iel := '06'O, // 6 semi-octets
- typeOfNumberingPlan := m_TypeOfNumberingPlan,
- digits := '001122'O
- }
-
- template(present) RP_OriginatorAddress_ul mw_RP_OriginatorAddress_ul := {
- spare := omit,
- iei := omit,
- iel := '00'O
- }
-
- template(present) RP_DestinationAddress_ul mw_RP_DestinationAddress_ul := {
- spare := omit,
- iei := omit,
- iel := ?,
- typeOfNumberingPlan := mw_TypeOfNumberingPlan,
- digits := ?
- }
- template(omit) RP_DestinationAddress_dl m_RP_DestinationAddress_dl := {
- spare := omit,
- iei := omit,
- iel := '00'O
- }
-
- template(omit) RP_UserData m_RP_UserData_DELIVER(
- octetstring p_Digits
- ) := {
- spare := omit,
- iei := omit,
- iel := int2oct((153 + lengthof(p_Digits)), 1),
- tP_PDU := {SMS_DELIVER := m_SMS_DELIVER(p_Digits)}
- }
-
- template(value) RP_UserData m_RP_UserData_SUBMIT_REPORT := {
- spare := '0'B,
- iei := c_IEI_RP_UserData,
- iel := '0A'O, // the TPDU data length is 10 octets
- tP_PDU := {SMS_SUBMIT_REPORT := m_SMS_SUBMIT_REPORT}
- }
- template(value) RP_UserData m_RP_UserData_STATUS_REPORT(
- template(value) TP_MessageReference_Type p_MessageRef,
- template(value) TP_Address_Type p_RecipientAddress,
- template(value) TP_ServiceCentreTimeStamp_Type p_SCTP
- ) modifies m_RP_UserData_SUBMIT_REPORT := {
- tP_PDU := {SMS_STATUS_REPORT := m_SMS_STATUS_REPORT(p_MessageRef, p_RecipientAddress, p_SCTP)}
- }
-
- template(present) RP_UserData mw_RP_UserData_SUBMIT := {
- spare := omit,
- iei := omit,
- iel := ?,
- tP_PDU := {SMS_SUBMIT := mw_SMS_SUBMIT_VPF_REF}
- }
-
- template(present) RP_UserData mw_RP_UserData_DELIVER_REPORT := {
- spare := '0'B,
- iei := c_IEI_RP_UserData,
- iel := ?,
- tP_PDU := {SMS_DELIVER_REPORT := mw_SMS_DELIVER_REPORT}
- }
-
- /* End SM-RP Type Constraints */
- /* SM-RP PDU Constraints */
- template(value) RP_DATA_dl_Type m_RP_DATA_dl_base := {
- spare5 := '00000'B,
- rP_MessageTypeIndicator := c_MT_RP_DATA_dl,
- rP_MessageReference := '00'O,
- rP_OriginatorAddress := m_RP_OriginatorAddress_dl,
- rP_DestinationAddress := m_RP_DestinationAddress_dl,
- rP_UserData := m_RP_UserData_DELIVER('0000'O)
- }
-
- template(value) RP_DATA_dl_Type m_RP_DATA_dl_DELIVER(
- octetstring p_Digits
- ) modifies m_RP_DATA_dl_base := {rP_UserData := m_RP_UserData_DELIVER(p_Digits)}
-
- template(value) RP_DATA_dl_Type m_RP_DATA_dl_STATUS_REPORT(
- template(value) TP_MessageReference_Type p_MessageRef,
- template(value) TP_Address_Type p_RecipientAddress,
- template(value) TP_ServiceCentreTimeStamp_Type p_SCTP
- ) modifies m_RP_DATA_dl_base := {
- rP_UserData := m_RP_UserData_STATUS_REPORT(p_MessageRef, p_RecipientAddress, p_SCTP)
- }
-
-
- template(present) RP_DATA_ul_Type mw_RP_DATA_ul_SUBMIT := {
- spare5 := '00000'B,
- rP_MessageTypeIndicator := c_MT_RP_DATA_ul,
- rP_MessageReference := ?,
- rP_OriginatorAddress := mw_RP_OriginatorAddress_ul,
- rP_DestinationAddress := mw_RP_DestinationAddress_ul,
- rP_UserData := mw_RP_UserData_SUBMIT
- }
-
- template(value) RP_ACK_Type m_RP_ACK_SUBMIT_REPORT(
- template(value) Oct1 p_msgReference := '00'O
- ) := {
- spare5 := '00000'B,
- rP_MessageTypeIndicator := c_MT_RP_ACK_dl,
- rP_MessageReference := p_msgReference,
- rP_UserData := m_RP_UserData_SUBMIT_REPORT
- }
-
- template(present) RP_ACK_Type mw_RP_ACK_DELIVER_REPORT := {
- spare5 := '00000'B,
- rP_MessageTypeIndicator := c_MT_RP_ACK_ul,
- rP_MessageReference := ?,
- rP_UserData := mw_RP_UserData_DELIVER_REPORT
- }
-
- /* End SM-RP PDU Constraints */
- /* SM-TP Type Constraints */
- template(value) TP_ProtocolIdentifier_Type mw_TP_ProtocolIdentifier := {
- pidType := '01'B,
- interworking := '0'B,
- pidValue := '00000'B
- }
-
- template(value) TP_ProtocolIdentifier_Type m_TP_ProtocolIdentifier := {
- pidType := '01'B,
- interworking := '0'B,
- pidValue := '00000'B
- }
-
- template(value) TP_DataCodingScheme_Type m_TP_DataCodingScheme := {
- codingGroup := '0000'B,
- codeValue := '0000'B
- }
-
- template(present) TP_Address_Type mw_TP_AddressAny := {
- iel := ?,
- typeOfNumberingPlan := mw_TypeOfNumberingPlanAny,
- digits := *
- }
-
- template(value) TP_Address_Type m_TP_Address(
- octetstring p_Digits
- ) := {
- iel := int2oct(2 * lengthof(p_Digits), 1),
- // length is number of useful semi-octets
- // as p_digits is declared as octetstring the number must be even
- typeOfNumberingPlan := m_TypeOfNumberingPlan,
- digits := p_Digits
- }
-
- template(value) TP_ParameterIndicator_Type m_TP_ParameterIndicator := {
- extBit1 := '0'B,
- spare4 := '0000'B,
- tP_UDL := '0'B,
- tP_DCS := '0'B,
- tP_PID := '1'B
- }
-
- /* End SM-TP Type Constraints */
- /* SM-TP PDU Constraints */
- template(value) SMS_DELIVER_Type m_SMS_DELIVER(
- octetstring p_Digits
- ) := {
- tP_ReplyPath := '0'B,
- tP_UserDataHeaderIndicator := '0'B,
- tP_StatusReportIndication := '1'B,
- spare2 := '00'B,
- tP_MoreMessagesToSend := '0'B,
- tP_MessageTypeIndicator := c_MT_SMS_DELIVER,
- tP_OriginatingAddress := m_TP_Address(p_Digits),
- tP_ProtocolIdentifier := m_TP_ProtocolIdentifier,
- tP_DataCodingScheme_Type := m_TP_DataCodingScheme,
- tP_ServiceCentreTimeStamp := fx_GetSC_TimeStamp(0), // Time Zone 0 assumed
- tP_UserDataLength := int2oct(160, 1),
- tP_UserData := f_IA5_2oct(c_Fox)
- }
-
- template(present) SMS_DELIVER_REPORT_Type mw_SMS_DELIVER_REPORT := {
- spare1 := '0'B,
- tP_UserDataHeaderIndicator := '0'B,
- spare4 := '0000'B,
- tP_MessageTypeIndicator := c_MT_SMS_DELIVER_REPORT,
- tP_FailureCause := omit,
- tP_ParameterIndicator := ?,
- tP_ProtocolIdentifier := mw_TP_ProtocolIdentifier,
- tP_DataCodingScheme_Type := *,
- tP_UserDataLength := *,
- tP_UserData := *
- }
-
- template(present) SMS_SUBMIT_Type mw_SMS_SUBMIT := {
- tP_ReplyPath := '0'B,
- tP_UserDataHeaderIndicator := '0'B,
- tP_StatusReportRequest := '1'B,
- tP_ValidityPeriodFormat := '??'B,
- tP_RejectDuplicates := '0'B,
- tP_MessageTypeIndicator := c_MT_SMS_SUBMIT,
- tP_MessageReference := ?,
- tP_DestinationAddress := mw_TP_AddressAny,
- tP_ProtocolIdentifier := mw_TP_ProtocolIdentifier,
- tP_DataCodingScheme_Type := ?,
- tP_ValidityPeriod := *,
- tP_UserDataLength := int2oct(160, 1),
- tP_UserData :=
- ? // any data will do: 140 octets
- }
-
- template(present) SMS_SUBMIT_Type mw_SMS_SUBMIT_VPF_NP modifies mw_SMS_SUBMIT := {
- tP_ValidityPeriodFormat := '00'B,
- tP_ValidityPeriod := omit
- }
-
- template(present) SMS_SUBMIT_Type mw_SMS_SUBMIT_VPF_REF modifies mw_SMS_SUBMIT := {
- tP_ValidityPeriodFormat := '10'B,
- tP_ValidityPeriod := ?
- }
-
- template(present) SMS_SUBMIT_Type mw_SMS_SUBMIT_VPF_ENH modifies mw_SMS_SUBMIT := {
- tP_ValidityPeriodFormat := '01'B,
- tP_ValidityPeriod := ?
- }
-
- template(present) SMS_SUBMIT_Type mw_SMS_SUBMIT_VPF_ABS modifies mw_SMS_SUBMIT := {
- tP_ValidityPeriodFormat := '11'B,
- tP_ValidityPeriod := ?
- }
-
- template(value) SMS_SUBMIT_REPORT_Type m_SMS_SUBMIT_REPORT := {
- spare1 := '0'B,
- tP_UserDataHeaderIndicator := '0'B,
- spare4 := '0000'B,
- tP_MessageTypeIndicator := c_MT_SMS_SUBMIT_REPORT,
- tP_FailureCause := omit,
- tP_ParameterIndicator := m_TP_ParameterIndicator,
- tP_ServiceCentreTimeStamp := fx_GetSC_TimeStamp(0), // Time Zone 0 assumed
- tP_ProtocolIdentifier := m_TP_ProtocolIdentifier,
- tP_DataCodingScheme_Type := omit,
- tP_UserDataLength := omit,
- tP_UserData := omit
- }
-
- template(value) SMS_STATUS_REPORT_Type m_SMS_STATUS_REPORT(
- template(value) TP_MessageReference_Type p_MessageRef,
- template(value) TP_Address_Type p_RA,
- template(value) TP_ServiceCentreTimeStamp_Type p_SCTP
- ) := {
- // TS 34.229-1 clause A.7.5
- spare1 := '0'B,
- tP_UserDataHeaderIndicator := '0'B,
- tP_StatusReportQualifier := '0'B,
- spare2 := '00'B,
- tP_MoreMessagesToSend := '0'B,
- tP_MessageTypeIndicator := c_MT_SMS_STATUS_REPORT,
- tP_MessageReference := p_MessageRef,
- tP_RecipientAddress := p_RA,
- tP_ServiceCentreTimeStamp := p_SCTP,
- tP_DischargeTime := '00000000000000'H,
- tP_Status := {
- reserved := '0'B,
- status := '0000000'B
- },
- tP_ParameterIndicator := m_TP_ParameterIndicator,
- tP_ProtocolIdentifier := m_TP_ProtocolIdentifier,
- tP_DataCodingScheme_Type := omit,
- tP_UserDataLength := omit,
- tP_UserData := omit
- }
-
-
-
-
-
- /* End SM-TP PDU Constraints */
- } // group SMS_Templates_Group
-} // End of module LibSip_SMSTypesAndValues
\ No newline at end of file
Index: v3/ttcn/LibSip_Library.ttcn
===================================================================
--- v3/ttcn/LibSip_Library.ttcn (revision 634)
+++ v3/ttcn/LibSip_Library.ttcn (nonexistent)
@@ -1,23 +0,0 @@
-/**
- * @author STF471
- * @version $Id: LibSip_Steps.ttcn 614 2014-07-07 10:01:14Z tepelmann $
- * @desc This module provides all modules of the LibSip as public imports.
- * Importing this module will automatically import all here listed modules,
- * no other LibSip_xxx module import needed in this case.
- * This module is part of LibSipV3.
- */
-module LibSip_Library {
-
- public import from LibSip_Interface all;
- public import from LibSip_MessageBodyTypes all;
- public import from LibSip_PIXITS all;
- public import from LibSip_SDPTypes all;
- public import from LibSip_SimpleMsgSummaryTypes all;
- public import from LibSip_SMSFunctions all;
- public import from LibSip_SMSTemplates all;
- public import from LibSip_SMSTypesAndValues all;
- public import from LibSip_Steps all;
- public import from LibSip_Templates all;
- public import from LibSip_XMLTypes all;
-
-}
\ No newline at end of file
Index: v3/ttcn/LibSip_XMLTypes.ttcn
===================================================================
--- v3/ttcn/LibSip_XMLTypes.ttcn (revision 634)
+++ v3/ttcn/LibSip_XMLTypes.ttcn (nonexistent)
@@ -1,112 +0,0 @@
-/**
- * @author STF 346, STF366, STF368, STF369, STF471
- * @version $Id$
- * @desc
- * This module provides the XML type system for SIP tests. The types have been generated automatically, followed by manual modifications: - bitType substituted by OneBitType - twobitType substituted by TwoBitType - addition of pattern for: OneBitType, TwoBitType, ThreeBitType, FourBitType, FourBitType, SixBitType - application of enumerated for: State_type, Endpoint_status_type, Joining_type, Disconnection_type, Media_status_type, Originating_identity_presentation_restriction, Terminating_identity_presentation_restriction - addition of length value: NetworkIdentityType, SixteenbitType - addition of value restriction: CugIndexType - substitution of "content" by "choice": Call_type, Mcid - additional type renaming (upper first letter): AbsService, Anonymous, Busy, Communication_diverted,
- * Conference_description_type, Conference_info, Conference_media_type, Conference_medium_type, Conference_state_type, Conference_type, Cug, CugRequestType, Empty_element_type, Endpoint_type, Execution_type, Host_type, Keywords_type, Media, Media_type, No_answer, Not_reachable, Not_registered, Originating_identity_presentation, Presence_status, Presence_status_activity_type, RequestType, ResponseType, Roaming, Rule_deactivated, Sidebars_by_val_type, Simservs, SimservType, Terminating_identity_presentation, Uri_type, Uris_type, User_roles_type, User_languages_type, User_type, Users_type - new group CDIV added by STF369 - new group ACR_CD added by STF38 - new types RegInfo and Pidf_Lo added by STF160.
- * This module is part of LibSipV3.
- */
-module LibSip_XMLTypes {
- import from http_www_w3_org_XML_1998_namespace language "XSD" all
- with {
- extension "File:../xsd/xml.xsd";
- }
-
- import from urn_ietf_params_xml_ns_common_policy language "XSD" all
- with {
- extension "File:../xsd/common-policy.xsd";
- }
-
- import from urn_ietf_params_xml_ns_resource_lists language "XSD" all
- with {
- extension "File:../xsd/ResourceList.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_simservs_xcap language "XSD" all
- with {
- extension "File:../xsd/SupplementaryServices.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_simservs_mcid language "XSD" all
- with {
- extension "File:../xsd/MCID.xsd";
- }
-
- import from NoTargetNamespace language "XSD" all
- with {
- extension "File:../xsd/Ims3gpp.xsd";
- }
-
- import from urn_3gpp_ns_cw_1_0 language "XSD" all
- with {
- extension "File:../xsd/cw.xsd";
- }
-
- import from urn_ietf_params_xml_ns_conference_info language "XSD" all
- with {
- extension "File:../xsd/CONF.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_simservs_pstn language "XSD" all
- with {
- extension "File:../xsd/PSTN.xsd";
- }
-
- import from http_uri_etsi_org_ngn_params_xml_comm_div_info language "XSD" all
- with {
- extension "File:../xsd/CDIVN.xsd";
- }
-
- import from urn_oma_xml_xdm_common_policy language "XSD" all
- with {
- extension "File:../xsd/xdm_commonPolicy-v1_0.xsd";
- }
- // RFC 3680 Registration Info
- import from urn_ietf_params_xml_ns_reginfo language "XSD" all
- with {
- extension "File:../xsd/regInfo.xsd";
- }
- // RFC 3863 Presence Information Data Format
- import from urn_ietf_params_xml_ns_pidf language "XSD" all
- with {
- extension "File:../xsd/pidf.xsd";
- }
- // RFC 4119 Presence Information Data Format, Location Object extension
- import from urn_ietf_params_xml_ns_pidf_geopriv10_basicPolicy language "XSD" all
- with {
- extension "File:../xsd/geopriv10basic.xsd";
- }
-
- // RFC 4119 Presence Information Data Format, Location Object extension
- import from urn_ietf_params_xml_ns_pidf_geopriv10 language "XSD" all
- with {
- extension "File:../xsd/pidf_lo.xsd";
- }
-
- group XmlTypes {
- type union XmlBody {
- Mcid mcid,
- // if there is XML Mcid
- Comm_div_info_type cdivn,
- // if there is XML cdivn
- Simservs simservs,
- // if there is XML simservs (Oip/r, Tip/r, Call Diversion, ICB, OCB ...)
- Conference_type conference,
- // if there is XML conf
- Ims_cw cw,
- // if there is XML cw (defined in X_3gpp_ns_cw_1_0.ttcn3view)
- Cug cug,
- // if there is XML cug (defined in org_etsi_uri__ngn_params_xml_simservs_xcap.ttcn3view)
- TIMS3GPP ims3gpp,
- // if there is XML IMS 3GPP
- PSTN_transit pstnTransit,
- // if there is XML PSTN_transit
- Resource_lists resourceLists,
- // if there is XML Resource List data
- Reginfo regInfo,
- // if it is a registration event
- Geopriv
- geopriv // if it is a Presence Information Data Format Location Object
- }
- }
-}
\ No newline at end of file
/v3/ttcn/LibSip_XMLTypes.ttcn
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/ttcn/LibSip_MessageBodyTypes.ttcn
===================================================================
--- v3/ttcn/LibSip_MessageBodyTypes.ttcn (revision 634)
+++ v3/ttcn/LibSip_MessageBodyTypes.ttcn (nonexistent)
@@ -1,60 +0,0 @@
-/******************************************************************************
- * @author STF 346, STF366, STF368, STF369, STF450, STF471
- * @version $Id: LibSip_MessageBodyTypes.ttcn 622 2014-07-10 14:50:54Z nikolajev $
- * @desc This module provides the types used for alternative SIP message
- * body variants and combinations.
- * This module is part of LibSipV3.
- */
-
-module LibSip_MessageBodyTypes {
- import from LibSip_SDPTypes all;
- import from LibSip_SimpleMsgSummaryTypes all;
- import from LibSip_XMLTypes all;
-
- /*
- * Simple body types that can be used instead of the more detailed XML and SDP
- * without codec support
- * */
- //type charstring XmlBody;
- //type charstring SDP_Message;
-
- group MIMETypes {
- type union MIME_Encapsulated_Parts {
- SDP_Message sdpMessageBody,
- XmlBody xmlBody // if there is XML body
- }
-
- type record MIME_Encapsulated_Part {
- charstring content_type,
- charstring content_disposition optional,
- MIME_Encapsulated_Parts mime_encapsulated_part
- }
-
- type record MIME_Message {
- charstring boundary,
- // len:
- MimeEncapsulatedList mimeEncapsulatedList
- }
-
- type record of MIME_Encapsulated_Part MimeEncapsulatedList;
-
-
- } // group MIMETypes
-
- type union MessageBody {
- SDP_Message sdpMessageBody,
- // if there is only SDP part
- // XMLMessage xmlMessage, // if there is XML message (with header and body)
- XmlBody xmlBody,
- // if there is XML body
- MIME_Message mimeMessageBody,
- // if there is SDP and encapsulated ISUP part
- charstring sipfrag,
- // if content-Type is message/sipfrag (cp. NOTIFY, cp TS124147 A.4.3.1.2)
- charstring textplain,
- // if content type is text/plain (for testing long messages)
- SimpleMsgSummary simpleMsgSummary,
- // RFC 3842
- octetstring smsMessage // encoded SMS message 3GPP 23.040, 24.011
- }
-}
Index: v3/ttcn/LibSip_SMSTypesAndValues.ttcn
===================================================================
--- v3/ttcn/LibSip_SMSTypesAndValues.ttcn (revision 634)
+++ v3/ttcn/LibSip_SMSTypesAndValues.ttcn (nonexistent)
@@ -1,485 +0,0 @@
-/******************************************************************************
- * @author STF 435, STF471
- * @version $Id$
- * @desc This module contains the type definitions for SMS messages as specified in
- * 3GPP 24-011 and 3GPP 23-040 Rel 8 and 9.
- * SMS over IMS is specified in 3GPP 24-341.
- * This module is part of LibSipV3.
- */
-module LibSip_SMSTypesAndValues {
- import from LibCommon_DataStrings all;
-
- group SMS_Declarations {
-
- const RP_MessageTypeIndicator_Type c_MT_RP_DATA_ul := '000'B;
- /* RP_DATA_ul */
- const RP_MessageTypeIndicator_Type c_MT_RP_DATA_dl := '001'B;
- /* RP_DATA_dl */
- const RP_MessageTypeIndicator_Type c_MT_RP_ACK_ul := '010'B;
- /* RP_ACK_ul */
- const RP_MessageTypeIndicator_Type c_MT_RP_ACK_dl := '011'B;
- /* RP_ACK_dl */
- const RP_MessageTypeIndicator_Type c_MT_RP_ERROR_ul := '100'B;
- /* RP_ERROR_ul */
- const RP_MessageTypeIndicator_Type c_MT_RP_ERROR_dl := '101'B;
- /* RP_ERROR_dl */
- const RP_MessageTypeIndicator_Type c_MT_RP_SMMA := '110'B;
- /* RP_SMMA */
- const TP_MessageTypeIndicator_Type c_MT_SMS_DELIVER := '00'B;
- /* SMS DELIVER */
- const TP_MessageTypeIndicator_Type c_MT_SMS_DELIVER_REPORT := '00'B;
- /* SMS DELIVER REPORT */
- const TP_MessageTypeIndicator_Type c_MT_SMS_STATUS_REPORT := '10'B;
- /* SMS STATUS REPORT */
- const TP_MessageTypeIndicator_Type c_MT_SMS_COMMAND := '10'B;
- /* SMS COMMAND */
- const TP_MessageTypeIndicator_Type c_MT_SMS_SUBMIT := '01'B;
- /* SMS SUBMIT, SMS SUBMIT REPORT */
- const TP_MessageTypeIndicator_Type c_MT_SMS_SUBMIT_REPORT := '01'B;
- /* SMS SUBMIT, SMS SUBMIT REPORT */
- const Bit7 c_IEI_RP_UserData := '1000001'B;
- /* 24.011 cl. 8.2.5.3 */
- const charstring c_Fox := "The quick brown fox jumps over the lazy dog's back. Kaufen Sie Ihrer Frau vier bequeme Pelze. - 0123456789 - THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG'S BACK.";
-
-
-
- type record TypeOfNumberingPlan {
- /* 24.008 cl. 10.5.4.7, 10.5.4.9, 10.5.4.13 */
- Bit1 extBit,
- /* Extension Bit */
- Bit3 typeOfNumber,
- /* Type Of Number */
- Bit4 numberingPlanId /* Numbering Plan Identification */
- }
- /* SM-RP Type Declarations */
- type Bit3 RP_MessageTypeIndicator_Type;
- /* 24.011 cl. 8.2.2 */
- type Oct1 RP_MessageReference_Type;
- /* 24.011 cl. 8.2.3 */
- type record RP_OriginatorAddress_dl {
- /* 24.011 cl. 8.2.5.1 */
- Bit1 spare optional,
- /* 0 */
- Bit7 iei optional,
- /* 0101 1110 */
- Oct1 iel,
- /* min value 2 and max value is 11 */
- TypeOfNumberingPlan typeOfNumberingPlan,
- /* */
- octetstring digits length(1 .. 10)
- }
-
- type record RP_OriginatorAddress_ul {
- /* 24.011 cl. 8.2.5.1 */
- Bit1 spare optional,
- /* 0 */
- Bit7 iei optional,
- /* 0101 1110 */
- Oct1 iel /* 0 */
- }
-
- type record RP_DestinationAddress_ul {
- /* 24.011 cl. 8.2.5.2 */
- Bit1 spare optional,
- /* 0 */
- Bit7 iei optional,
- /* 0101 1110 */
- Oct1 iel,
- /* min value 2 and max value is 11 */
- TypeOfNumberingPlan typeOfNumberingPlan,
- /* */
- octetstring digits length(1 .. 10)
- }
- type record RP_DestinationAddress_dl {
- /* 24.011 cl. 8.2.5.2 */
- Bit1 spare optional,
- /* 0 */
- Bit7 iei optional,
- /* 0101 1110 */
- Oct1 iel /* 0 */
- }
-
- type record RP_UserData {
- /* 24.011 cl. 8.2.5.3 */
- Bit1 spare optional,
- /* 0, present in case of TLV; omit in case of LV */
- Bit7 iei optional,
- /* 1000001, present in case of TLV; omit in case of LV */
- Oct1 iel,
- /* */
- TP_PDU_Type tP_PDU /* <= 232 octets */
- }
-
- type record RP_Cause {
- /* 24.011 cl. 8.2.5.4 */
- Bit1 spare optional,
- /* present in case of TLV; omit in case of LV */
- Bit7 iei optional,
- /* present in case of TLV; omit in case of LV */
- Oct1 iel,
- /* 2 or 3 */
- Bit1 extBit1,
- /* 0 */
- Bit7 causeValue1,
- /* Table 8.4/3GPP TS 24.011 */
- Bit1 extBit2,
- /* 0 */
- Bit7 causeValue2,
- /* Table 8.4/3GPP TS 24.011 */
- Oct1 diagnostic optional /* Parameters included in the return error from MAP */
- }
-
- /* End SM-RP Type Declarations */
- /* SM-RP PDU Declarations */
- type record RP_DATA_dl_Type {
- /* 24.011 cl. 7.3.1.1
- Direction: n -> ue */
- Bit5 spare5,
- /* cl. 8.2.2 M V 5 bits */
- RP_MessageTypeIndicator_Type rP_MessageTypeIndicator,
- /* cl. 8.2.2 M V 3 bits */
- RP_MessageReference_Type rP_MessageReference,
- /* cl. 8.2.3 M LV 1 */
- RP_OriginatorAddress_dl rP_OriginatorAddress,
- /* cl. 8.2.5.1 M LV 1-12 octets */
- RP_DestinationAddress_dl rP_DestinationAddress,
- /* cl. 8.2.5.2 M LV 1 */
- RP_UserData rP_UserData /* cl. 8.2.5.3 M LV <= 233 octets */
- }
-
- type record RP_DATA_ul_Type {
- /* 24.011 cl. 7.3.1.2
- Direction: ue -> n */
- Bit5 spare5,
- /* cl. 8.2.2 M V 5 bits */
- RP_MessageTypeIndicator_Type rP_MessageTypeIndicator,
- /* cl. 8.2.2 M V 3 bits */
- RP_MessageReference_Type rP_MessageReference,
- /* cl. 8.2.3 M LV 1 */
- RP_OriginatorAddress_ul rP_OriginatorAddress,
- /* cl. 8.2.5.1 M LV 1 */
- RP_DestinationAddress_ul rP_DestinationAddress,
- /* cl. 8.2.5.2 M LV 1 */
- RP_UserData rP_UserData /* cl. 8.2.5.3 M LV <= 233 octets */
- }
-
- type record RP_SMMA_Type {
- /* 24.011 cl. 7.3.2
- Direction: ue -> n */
- Bit5 spare5,
- /* cl. 8.2.2 M V 5 bits */
- RP_MessageTypeIndicator_Type rP_MessageTypeIndicator,
- /* cl. 8.2.2 M V 3 bits */
- RP_MessageReference_Type rP_MessageReference /* cl. 8.2.3 M LV 1 */
- }
-
- type record RP_ACK_Type {
- /* 24.011 cl. 7.3.3
- Direction: ue <-> n */
- Bit5 spare5,
- /* cl. 8.2.2 M V 5 bits */
- RP_MessageTypeIndicator_Type rP_MessageTypeIndicator,
- /* cl. 8.2.2 M V 3 bits */
- RP_MessageReference_Type rP_MessageReference,
- /* cl. 8.2.3 M LV 1 */
- RP_UserData rP_UserData optional /* cl. 8.2.5.3 O TLV <= 234 octets */
- }
-
- type record RP_ERROR_Type {
- /* 24.011 cl. 7.3.4
- Direction: ue <-> n */
- Bit5 spare5,
- /* cl. 8.2.2 M V 5 bits */
- RP_MessageTypeIndicator_Type rP_MessageTypeIndicator,
- /* cl. 8.2.2 M V 3 bits */
- RP_MessageReference_Type rP_MessageReference,
- /* cl. 8.2.3 M LV 1 */
- RP_Cause rP_Cause,
- /* cl. 8.2.5.4 M LV 2-3 */
- RP_UserData rP_UserData optional /* cl. 8.2.5.3 O TLV <= 234 octets */
- }
-
- type union RP_PDU_Type {
- RP_DATA_dl_Type RP_DATA_dl,
- RP_DATA_ul_Type RP_DATA_ul,
- RP_SMMA_Type RP_SMMA,
- RP_ACK_Type RP_ACK,
- RP_ERROR_Type RP_ERROR
- }
-
- /* End SM-RP PDU Declarations */
- /* SM-TP Type Declarations */
- type record TP_Address_Type {
- /* 23.040 cl. 9.1.2.5 */
- Oct1 iel,
- /* min value 2 and max value is 11 */
- TypeOfNumberingPlan typeOfNumberingPlan,
- octetstring digits length(0 .. 10) optional
- }
-
- type Bit2 TP_MessageTypeIndicator_Type;
- /* 23.040 cl. 9.2.3.1 */
- type Oct1 TP_MessageReference_Type;
- /* 23.040 cl. 9.2.3.6 */
- type Oct1 TP_UserDataLength_Type;
- /* 23.040 cl. 9.2.3.16 */
- type record TP_ProtocolIdentifier_Type {
- /* 23.040 cl. 9.2.3.9 */
- Bit2 pidType,
- /* */
- Bit1 interworking,
- /* */
- Bit5 pidValue /* */
- }
-
- type record TP_DataCodingScheme_Type {
- /* 23.040 cl. 9.2.3.10 + 23.040 cl. 4 */
- Bit4 codingGroup,
- /* */
- Bit4 codeValue /* */
- }
-
- type hexstring TP_ServiceCentreTimeStamp_Type length(14);
- /* 23.040 cl. 9.2.3.11 */
- type Oct1 TP_ValidityPeriodRelative_Type;
- /* 23.040 cl. 9.2.3.12.1 */
- type hexstring TP_ValidityPeriodAbsolute_Type length(14);
- /* 23.040 cl. 9.2.3.12.2 */
- type record TP_ValidityPeriodEnhanced_Type {
- /* 23.040 cl. 9.2.3.12.3 */
- Bit1 extBit,
- /* */
- Bit1 singleShot,
- /* */
- Bit3 spare3,
- /* */
- Bit3 validityPeriodFormat,
- /* */
- Oct6 validityPeriod /* */
- }
-
- type union TP_ValidityPeriod_Type {
- /* 23.040 cl. 9.2.3.3 */
- TP_ValidityPeriodRelative_Type TP_ValidityPeriodRelative,
- /* Relative format */
- TP_ValidityPeriodAbsolute_Type TP_ValidityPeriodAbsolute,
- /* Absolute format */
- TP_ValidityPeriodEnhanced_Type TP_ValidityPeriodEnhanced /* Enhanced format */
- }
-
- type record TP_Status_Type {
- /* 23.040 cl. 9.2.3.15 */
- Bit1 reserved,
- /* */
- Bit7 status /* */
- }
-
- type Bit8 TP_Command_Type;
- /* 23.040 cl. 9.2.3.19 */
- type record TP_ParameterIndicator_Type {
- /* 23.040 cl. 9.2.3.27 */
- Bit1 extBit1,
- /* */
- Bit4 spare4,
- /* */
- Bit1 tP_UDL,
- /* */
- Bit1 tP_DCS,
- /* */
- Bit1 tP_PID /* */
- }
-
- /* End SM-TP Type Declarations */
- /* SM-TP PDU Declarations */
- type record SMS_DELIVER_Type {
- /* 23.040 cl. 9.2.2.1
- Direction: n -> ue */
- Bit1 tP_ReplyPath,
- /* 23.040 cl. 9.2.3.17 */
- Bit1 tP_UserDataHeaderIndicator,
- /* 23.040 cl. 9.2.3.23 */
- Bit1 tP_StatusReportIndication,
- /* 23.040 cl. 9.2.3.4 */
- Bit2 spare2,
- /* */
- Bit1 tP_MoreMessagesToSend,
- /* 23.040 cl. 9.2.3.2 */
- TP_MessageTypeIndicator_Type tP_MessageTypeIndicator,
- /* 23.040 cl. 9.2.3.1 */
- TP_Address_Type tP_OriginatingAddress,
- /* 23.040 cl. 9.1.2.5 */
- TP_ProtocolIdentifier_Type tP_ProtocolIdentifier,
- /* 23.040 cl. 9.2.3.9 */
- TP_DataCodingScheme_Type tP_DataCodingScheme_Type,
- /* 23.040 cl. 9.2.3.10 */
- TP_ServiceCentreTimeStamp_Type tP_ServiceCentreTimeStamp,
- /* 23.040 cl. 9.2.3.11 */
- TP_UserDataLength_Type tP_UserDataLength,
- /* 23.040 cl. 9.2.3.16, derived from SUBMIT */
- octetstring tP_UserData length(0 .. 140) optional /* 23.040 cl. 9.2.3.24, derived from SUBMIT */
- }
-
- type record SMS_DELIVER_REPORT_Type {
- /* 23.040 cl. 9.2.2.1a
- Direction: ue -> n */
- Bit1 spare1,
- /* */
- Bit1 tP_UserDataHeaderIndicator,
- /* 23.040 cl. 9.2.3.23 */
- Bit4 spare4,
- /* */
- TP_MessageTypeIndicator_Type tP_MessageTypeIndicator,
- /* 23.040 cl. 9.2.3.1 */
- Oct1 tP_FailureCause optional,
- /* 23.040 cl. 9.2.3.22, provided if RP_ERROR, not if RP_ACK */
- TP_ParameterIndicator_Type tP_ParameterIndicator,
- /* 23.040 cl. 9.2.3.27 */
- TP_ProtocolIdentifier_Type tP_ProtocolIdentifier optional,
- /* 23.040 cl. 9.2.3.9 */
- TP_DataCodingScheme_Type tP_DataCodingScheme_Type optional,
- /* 23.040 cl. 9.2.3.10 */
- TP_UserDataLength_Type tP_UserDataLength optional,
- /* 23.040 cl. 9.2.3.16 */
- octetstring tP_UserData length(0 .. 159) optional /* 23.040 cl. 9.2.3.24 */
- }
-
- type record SMS_SUBMIT_Type {
- /* 23.040 cl. 9.2.2.2
- Direction: ue -> n */
- Bit1 tP_ReplyPath,
- /* 23.040 cl. 9.2.3.17 */
- Bit1 tP_UserDataHeaderIndicator,
- /* 23.040 cl. 9.2.3.23 */
- Bit1 tP_StatusReportRequest,
- /* 23.040 cl. 9.2.3.5 */
- Bit2 tP_ValidityPeriodFormat,
- /* 23.040 cl. 9.2.3.3 */
- Bit1 tP_RejectDuplicates,
- /* 23.040 cl. 9.2.3.25 */
- TP_MessageTypeIndicator_Type tP_MessageTypeIndicator,
- /* 23.040 cl. 9.2.3.1 */
- TP_MessageReference_Type tP_MessageReference,
- /* 23.040 cl. 9.2.3.6 */
- TP_Address_Type tP_DestinationAddress,
- /* 23.040 cl. 9.1.2.5 */
- TP_ProtocolIdentifier_Type tP_ProtocolIdentifier,
- /* 23.040 cl. 9.2.3.9 */
- TP_DataCodingScheme_Type tP_DataCodingScheme_Type,
- /* 23.040 cl. 9.2.3.10 */
- // one of the subsequent ValidityPeriod solutions has be removed
- TP_ValidityPeriod_Type tP_ValidityPeriod optional,
- /* 23.040 cl. 9.2.3.12 */
- // TP_ValidityPeriodRelative_Type tP_ValidityPeriodRelative optional, /* 23.040 cl. 9.2.3.12.1 */
- // TP_ValidityPeriodAbsolute_Type tP_ValidityPeriodAbsolute optional, /* 23.040 cl. 9.2.3.12.2 */
- // TP_ValidityPeriodEnhanced_Type tP_ValidityPeriodEnhanced optional, /* 23.040 cl. 9.2.3.12.3 */
- TP_UserDataLength_Type tP_UserDataLength,
- /* 23.040 cl. 9.2.3.16 */
- octetstring tP_UserData length(0 .. 140) optional /* 23.040 cl. 9.2.3.24 */
- }
- type record SMS_SUBMIT_REPORT_Type {
- /* 23.040 cl. 9.2.2.2a
- Direction: n -> ue */
- Bit1 spare1,
- /* */
- Bit1 tP_UserDataHeaderIndicator,
- /* 23.040 cl. 9.2.3.23 */
- Bit4 spare4,
- /* */
- TP_MessageTypeIndicator_Type tP_MessageTypeIndicator,
- /* 23.040 cl. 9.2.3.1 */
- Oct1 tP_FailureCause optional,
- /* 23.040 cl. 9.2.3.22, provided if RP_ERROR, not if RP_ACK */
- TP_ParameterIndicator_Type tP_ParameterIndicator,
- /* 23.040 cl. 9.2.3.27 */
- TP_ServiceCentreTimeStamp_Type tP_ServiceCentreTimeStamp,
- /* 23.040 cl. 9.2.3.11 */
- TP_ProtocolIdentifier_Type tP_ProtocolIdentifier optional,
- /* 23.040 cl. 9.2.3.9 */
- TP_DataCodingScheme_Type tP_DataCodingScheme_Type optional,
- /* 23.040 cl. 9.2.3.10 */
- TP_UserDataLength_Type tP_UserDataLength optional,
- /* 23.040 cl. 9.2.3.16 */
- octetstring tP_UserData length(0 .. 152) optional /* 23.040 cl. 9.2.3.24 */
- }
-
- type record SMS_STATUS_REPORT_Type {
- /* 23.040 cl. 9.2.2.3
- Direction: n -> ue */
- Bit1 spare1,
- /* */
- Bit1 tP_UserDataHeaderIndicator,
- /* 23.040 cl. 9.2.3.23 */
- Bit1 tP_StatusReportQualifier,
- /* 23.040 cl. 9.2.3.26 */
- Bit2 spare2,
- /* */
- Bit1 tP_MoreMessagesToSend,
- /* 23.040 cl. 9.2.3.2 */
- TP_MessageTypeIndicator_Type tP_MessageTypeIndicator,
- /* 23.040 cl. 9.2.3.1 */
- TP_MessageReference_Type tP_MessageReference,
- /* 23.040 cl. 9.2.3.6 */
- TP_Address_Type tP_RecipientAddress,
- /* 23.040 cl. 9.1.2.5 */
- TP_ServiceCentreTimeStamp_Type tP_ServiceCentreTimeStamp,
- /* 23.040 cl. 9.2.3.11 */
- TP_ServiceCentreTimeStamp_Type tP_DischargeTime,
- /* 23.040 cl. 9.2.3.12 */
- TP_Status_Type tP_Status,
- /* 23.040 cl. 9.2.3.15 */
- TP_ParameterIndicator_Type tP_ParameterIndicator optional,
- /* 23.040 cl. 9.2.3.27 */
- TP_ProtocolIdentifier_Type tP_ProtocolIdentifier optional,
- /* 23.040 cl. 9.2.3.9 */
- TP_DataCodingScheme_Type tP_DataCodingScheme_Type optional,
- /* 23.040 cl. 9.2.3.10 */
- TP_UserDataLength_Type tP_UserDataLength optional,
- /* 23.040 cl. 9.2.3.16 */
- octetstring tP_UserData length(0 .. 143) optional /* 23.040 cl. 9.2.3.24 */
- }
-
- type record SMS_COMMAND_Type {
- /* 23.040 cl. 9.2.2.4
- Direction: ue -> n */
- Bit1 spare1,
- /* */
- Bit1 tP_UserDataHeaderIndicator,
- /* 23.040 cl. 9.2.3.23 */
- Bit1 tP_StatRptReq,
- /* Table 8.4/3GPP TS 24.011 */
- Bit3 spare3,
- /* */
- TP_MessageTypeIndicator_Type tP_MessageTypeIndicator,
- /* 23.040 cl. 9.2.3.1 */
- TP_MessageReference_Type tP_MessageReference,
- /* 23.040 cl. 9.2.3.6 */
- TP_ProtocolIdentifier_Type tP_ProtocolIdentifier,
- /* 23.040 cl. 9.2.3.9 */
- TP_Command_Type tP_CommandType,
- /* 23.040 cl. 9.2.3.19 */
- TP_MessageReference_Type tP_MessageNumber,
- /* 23.040 cl. 9.2.3.18 */
- TP_Address_Type tP_DestinationAddress,
- /* 23.040 cl. 9.1.2.5 */
- TP_UserDataLength_Type tP_CommandDataLength,
- /* 23.040 cl. 9.2.3.20 (number of octets) */
- octetstring tP_CommandData length(0 .. 156) optional /* 23.040 cl. 9.2.3.21 */
- }
-
- type union TP_PDU_Type {
- SMS_DELIVER_Type SMS_DELIVER,
- SMS_DELIVER_REPORT_Type SMS_DELIVER_REPORT,
- SMS_SUBMIT_Type SMS_SUBMIT,
- SMS_SUBMIT_REPORT_Type SMS_SUBMIT_REPORT,
- SMS_STATUS_REPORT_Type SMS_STATUS_REPORT,
- SMS_COMMAND_Type SMS_COMMAND
- }
-
-
-
- /* End SM-TP PDU Declarations */
- }
- with {
- encode "SMS Types";
- } // group SMS_Declarations
-} // End of module LibSip_SMSTypesAndValues
Index: v3/ttcn/LibSip_SDPTypes.ttcn
===================================================================
--- v3/ttcn/LibSip_SDPTypes.ttcn (revision 634)
+++ v3/ttcn/LibSip_SDPTypes.ttcn (nonexistent)
@@ -1,391 +0,0 @@
-/**
- * @author STF 346, STF366, STF368, STF369, STF450, STF471
- * @version $Id$
- * @desc This module defines message, attribute, structured and simple
- * SDP types as well constants used by LipSip constructs. <br>
- * Note that any changes made to the definitions in this module
- * may be overwritten by future releases of this library
- * End users are encouraged to contact the distributers of this
- * module regarding their modifications or additions
- * This module is part of LibSipV3.
- * @remark Adding of new attributes types is ok; Adding of new optional attributes in @see SDP_attribute type is ok; Existing attribute types shall not be changed or removed - change requests shall be made to http://t-ort.etsi.org
- */
-module LibSip_SDPTypes {
- import from LibSip_SIPTypesAndValues all;
- group Constants {
- group SimpleConstants {
- // SDP net_type
- const charstring c_in := "IN";
-
- // SDP addr_type
- const charstring c_ip4 := "IP4";
- const charstring c_ip6 := "IP6";
-
- // SDP_media_desc: media
- const charstring c_audio := "audio";
- const charstring c_image := "image";
- const charstring c_video := "video";
- const charstring c_text := "text";
- const charstring c_msrp := "msrp";
-
- // SDP_media_desc: transport
- const charstring c_rtpAvp := "RTP/AVP";
- const charstring c_rtpAvpf := "RTP/AVPF";
- const charstring c_msrpTcp := "TCP/MSRP";
- const charstring c_udptl := "Udptl";
-
- // SDP_attribute_list constants:
- const charstring c_local := "local";
- const charstring c_mandatory := "mandatory";
- const charstring c_optional := "optional";
- const charstring c_none := "none";
- const charstring c_qos := "qos";
- const charstring c_remote := "remote";
- const charstring c_sendrecv := "sendrecv";
- const charstring c_sendonly := "sendonly";
- const charstring c_inactive := "inactive";
- const charstring c_send := "send";
- const charstring c_recv := "recv";
- const charstring c_e2e := "e2e";
- }
- }
- group Types {
- group SubTypes {
- group AttributeTypes {
- type record SDP_attribute_cat {
- charstring attr_value
- }
-
- type record SDP_attribute_keywds {
- charstring attr_value
- }
-
- type record SDP_attribute_tool {
- charstring attr_value
- }
-
- type record SDP_attribute_ptime {
- charstring attr_value
- }
-
- type record SDP_attribute_recvonly {
- }
-
- type record SDP_attribute_sendrecv {
- }
-
- type record SDP_attribute_sendonly {
- }
-
- type record SDP_attribute_inactive {
- }
-
- type record SDP_attribute_orient {
- charstring attr_value
- }
-
- type record SDP_attribute_type {
- charstring attr_value
- }
-
- type record SDP_attribute_charset {
- charstring attr_value
- }
-
- type record SDP_attribute_sdplang {
- charstring attr_value
- }
-
- type record SDP_attribute_lang {
- charstring attr_value
- }
-
- type record SDP_attribute_framerate {
- charstring attr_value
- }
-
- type record SDP_attribute_quality {
- charstring attr_value
- }
-
- type union SDP_attribute_fmtp_format_specific_params {
- SemicolonParam_List paramList,
- charstring unstructured
- }
-
- type record SDP_attribute_fmtp {
- charstring format,
- SDP_attribute_fmtp_format_specific_params params
- }
-
- type record SDP_attribute_curr {
- charstring preconditionType,
- charstring statusType,
- charstring direction
- }
-
- type record SDP_attribute_des {
- charstring preconditionType,
- charstring strength,
- charstring statusType,
- charstring direction
- }
-
- type record SDP_attribute_conf {
- charstring preconditionType,
- charstring statusType,
- charstring direction
- }
-
- type record SDP_attribute_rtpmap_codec {
- charstring encoding,
- charstring clockrate,
- charstring parameters optional
- }
-
- type record SDP_attribute_rtpmap {
- charstring payload_type,
- SDP_attribute_rtpmap_codec codec
- }
-
- type record SDP_attribute_rtcp {
- integer portnumber,
- SDP_connection connection optional
- }
-
- type record SDP_attribute_msrp {
- charstring attr_value
- }
-
- type record SDP_attribute_unknown {
- charstring name,
- charstring attr_value optional
- }
-
- type record SDP_attribute_maxptime {
- charstring attr_value
- }
-
- type record SDP_attribute_tcap {
- integer trpr_cap_num,
- Charstring_List proto_list
- }
-
- type record SDP_attribute_pcfg {
- integer config_number,
- Charstring_List pot_cfg_list optional
- }
-
- type record SDP_attribute_acfg {
- integer config_number,
- Charstring_List sel_cfg_list optional
- }
-
- type record SDP_attribute_ecn_capable_rtp {
- Charstring_List init_list,
- Charstring_List parm_list optional
- }
-
- type record SDP_attribute_rtcp_fb {
- charstring rtcp_fb_pt,
- charstring rtcp_fb_val
- }
-
- type record SDP_attribute_rtcp_xr {
- Charstring_List xr_format_list optional
- }
-
- type record SDP_attribute_rtcp_rsize {
- }
-
- type record SDP_attribute_3ge2ae {
- charstring indicator
- }
-
- type record SDP_attribute_crypto {
- charstring tag,
- charstring crypto_suite,
- charstring key_params,
- Charstring_List session_params optional
- }
-
- type union SDP_attribute {
- SDP_attribute_cat cat,
- SDP_attribute_keywds keywds,
- SDP_attribute_tool tool,
- SDP_attribute_ptime ptime,
- SDP_attribute_recvonly recvonly,
- SDP_attribute_sendrecv sendrecv,
- SDP_attribute_sendonly sendonly,
- SDP_attribute_inactive inactive,
- SDP_attribute_orient orient,
- SDP_attribute_type sdp_type,
- SDP_attribute_charset charset,
- SDP_attribute_sdplang sdplang,
- SDP_attribute_lang lang,
- SDP_attribute_framerate framerate,
- SDP_attribute_quality quality,
- SDP_attribute_fmtp fmtp,
- SDP_attribute_curr curr,
- SDP_attribute_des des,
- SDP_attribute_conf conf,
- SDP_attribute_rtpmap rtpmap,
- SDP_attribute_rtcp rtcp,
- SDP_attribute_msrp msrp,
- SDP_attribute_maxptime maxptime,
- SDP_attribute_tcap tcap,
- SDP_attribute_pcfg pcfg,
- SDP_attribute_acfg acfg,
- SDP_attribute_ecn_capable_rtp ecn_capable_rtp,
- SDP_attribute_rtcp_fb rtcp_fb,
- SDP_attribute_rtcp_xr rtcp_xr,
- SDP_attribute_rtcp_rsize rtcp_rsize,
- SDP_attribute_3ge2ae e2ae,
- SDP_attribute_crypto crypto,
- //* unknown has to be the last else encoding/decoding won't work!
- SDP_attribute_unknown unknown
- }
-
- } //* group AttributeTypes
-
- type set of SDP_attribute SDP_attribute_list;
-
- type record SDP_bandwidth {
- charstring modifier,
- integer bandwidth
- }
-
- type set of SDP_bandwidth SDP_bandwidth_list;
-
- type record SDP_connection {
- charstring net_type,
- charstring addr_type,
- SDP_conn_addr conn_addr
- }
-
- type record SDP_conn_addr {
- charstring addr,
- integer ttl optional,
- integer num_of_addr optional
- }
-
- type set of SDP_connection SDP_connection_list;
-
- type record SDP_contact {
- charstring addr_or_phone,
- charstring disp_name optional
- }
-
- type SDP_contact SDP_contact_tel;
-
- type SDP_contact SDP_contact_email;
-
- type set of SDP_contact_email SDP_email_list;
-
- type record of charstring SDP_fmt_list;
-
- type record SDP_key {
- charstring method,
- charstring key optional
- }
-
- type record SDP_media_desc {
- SDP_media_field media_field,
- charstring information optional,
- SDP_connection_list connections optional,
- SDP_bandwidth_list bandwidth optional,
- SDP_key key optional,
- SDP_attribute_list attributes optional
- }
-
- type set of SDP_media_desc SDP_media_desc_list;
-
- type record SDP_media_port {
- integer port_number,
- integer num_of_ports optional
- }
-
- type record SDP_media_field {
- charstring media,
- SDP_media_port ports,
- charstring transport,
- SDP_fmt_list fmts
- }
-
- type record SDP_time {
- SDP_time_field time_field,
- SDP_repeat_list time_repeat optional
- }
-
- type record SDP_time_field {
- charstring start_time,
- //* field is numeric strings that may not fit into 32-bit signed int
- charstring
- stop_time //* field is numeric strings that may not fit into 32-bit signed int
- }
-
- type record SDP_repeat {
- SDP_typed_time repeat_interval,
- SDP_typed_time active,
- SDP_typed_time_list offsets
- }
-
- type set of SDP_repeat SDP_repeat_list;
-
- type record SDP_typed_time {
- integer time,
- charstring unit optional
- }
-
- type set of SDP_typed_time SDP_typed_time_list;
-
- type set of SDP_time SDP_time_list;
-
- type record SDP_timezone {
- charstring adjustment_time,
- SDP_typed_time offset
- }
-
- type set of SDP_timezone SDP_timezone_list;
-
- type record SDP_Origin {
- charstring user_name,
- charstring session_id,
- //* field is numeric strings that may not fit into 32-bit signed int
- charstring session_version,
- //* field is numeric strings that may not fit into 32-bit signed int
- charstring net_type,
- charstring addr_type,
- charstring addr
- }
-
- type set of SDP_contact_tel SDP_phone_list;
-
- } //* group SubTypes
-
-
- group MessageTypes {
- type record SDP_Message {
- integer protocol_version,
- SDP_Origin origin,
- charstring session_name,
- charstring information optional,
- charstring uri optional,
- SDP_email_list emails optional,
- SDP_phone_list phone_numbers optional,
- SDP_connection connection optional,
- SDP_bandwidth_list bandwidth optional,
- SDP_time_list times,
- SDP_timezone_list timezone_adjustments optional,
- SDP_key key optional,
- SDP_attribute_list attributes optional,
- SDP_media_desc_list media_list optional
- }
- with {
- encode "SDPCodec";
- }
-
- } // group MessageTypes
-
- } // group Types
-} // end module LibSip_SDPTypes
/v3/ttcn/LibSip_SDPTypes.ttcn
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: v3/xsd/cw.xsd
===================================================================
--- v3/xsd/cw.xsd (revision 634)
+++ v3/xsd/cw.xsd (nonexistent)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="urn:3gpp:ns:cw:1.0" xmlns:cw10="urn:3gpp:ns:cw:1.0"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- attributeFormDefault="unqualified">
- <xs:complexType name="tEmptyType" />
- <xs:complexType name="tCWtype">
- <xs:sequence>
- <xs:element name="communication-waiting-indication"
- minOccurs="0" maxOccurs="1" type="cw10:tEmptyType" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <xs:element name="ims-cw" type="cw10:tCWtype" />
-</xs:schema>
\ No newline at end of file
Index: v3/xsd/ACR_CB.xsd
===================================================================
--- v3/xsd/ACR_CB.xsd (revision 634)
+++ v3/xsd/ACR_CB.xsd (nonexistent)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:cp="urn:ietf:params:xml:ns:common-policy" xmlns:ocp="urn:oma:xml:xdm:common-policy"
- targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- import common policy definitions -->
- <xs:import namespace="urn:ietf:params:xml:ns:common-policy"
- schemaLocation="common-policy.xsd" />
- <!-- import OMA common policy extensions -->
- <xs:import namespace="urn:oma:xml:xdm:common-policy"
- schemaLocation="xdm_commonPolicy-v1_0.xsd" />
- <!-- incoming communication barring rule set based on the common policy
- rule set. -->
- <xs:element name="incoming-communication-barring"
- substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>This is the incoming communication barring
- configuration document.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ss:simservType">
- <xs:sequence>
- <!-- add service specific elements here -->
- <xs:element ref="cp:ruleset"
- minOccurs="0" />
- </xs:sequence>
- </xs:extension>
- <!-- service specific attributes can be defined here -->
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- outgoing communication barring rule set based on the common policy
- rule set. -->
- <xs:element name="outgoing-communication-barring"
- substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>This is the outgoing communication barring
- configuration
- document.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ss:simservType">
- <xs:sequence>
- <!-- add service specific elements here -->
- <xs:element ref="cp:ruleset"
- minOccurs="0" />
- </xs:sequence>
- </xs:extension>
- <!-- service specific attributes can be defined here -->
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- communication barring specific extensions to IETF common policy
- actions -->
- <xs:element name="allow" type="ss:allow-action-type" />
- <!-- communication barring specific type declarations -->
- <!-- <xs:simpleType name="allow-action-type" final="list restriction"> -->
- <xs:simpleType name="allow-action-type">
- <xs:restriction base="xs:boolean" />
- </xs:simpleType>
-</xs:schema>
\ No newline at end of file
/v3/xsd/ACR_CB.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/simservs.xsd
===================================================================
--- v3/xsd/simservs.xsd (revision 634)
+++ v3/xsd/simservs.xsd (nonexistent)
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- TS 27.173 / 183 023 -->
-<xs:schema targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- attributeFormDefault="unqualified">
-
- <!-- The element "simservs" maps to the Common Parts of an NGN PSTN/ISDN
- Simulation services document -->
-
- <xs:element name="simservs">
- <xs:annotation>
- <xs:documentation>XML Schema for data manipulation of ETSI
- NGN PSTN/ISDN Simulation Services
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="ss:absServiceGroup" minOccurs="0"
- maxOccurs="unbounded" />
- <xs:element name="extensions" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:any namespace="##other"
- processContents="lax" minOccurs="0"
- maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:anyAttribute namespace="##any"
- processContents="lax" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="absService" abstract="true" type="ss:simservType" />
-
- <xs:complexType name="simservType">
- <xs:attribute name="active" type="xs:boolean" use="optional"
- default="true" />
- <xs:anyAttribute namespace="##any"
- processContents="lax" />
- </xs:complexType>
-
- <!-- service specific IETF common policy condition elements -->
- <xs:element name="anonymous" type="ss:empty-element-type" />
- <xs:element name="presence-status" type="ss:presence-status-activity-type" />
- <xs:element name="media" type="ss:media-type1" />
- <xs:element name="communication-diverted" type="ss:empty-element-type" />
- <xs:element name="rule-deactivated" type="ss:empty-element-type" />
- <xs:element name="not-registered" type="ss:empty-element-type" />
- <xs:element name="busy" type="ss:empty-element-type" />
- <xs:element name="no-answer" type="ss:empty-element-type" />
- <xs:element name="not-reachable" type="ss:empty-element-type" />
- <xs:element name="roaming" type="ss:empty-element-type" />
-
- <!-- service specific type declarations -->
- <xs:simpleType name="media-type1">
- <xs:restriction base="xs:string" />
- </xs:simpleType>
- <xs:simpleType name="presence-status-activity-type">
- <xs:restriction base="xs:string" />
- </xs:simpleType>
- <xs:complexType name="empty-element-type" />
-
- <!-- ETSI substitutionGroup workaround, because TTCN-3 does not support
- mapping of substitutionGroup -->
- <xs:group name="absServiceGroup">
- <xs:choice>
- <!-- default -->
- <xs:element ref="ss:absService" />
- <!-- TIP-TRI -->
- <xs:element
- ref="ss:terminating-identity-presentation-restriction" />
- <xs:element ref="ss:terminating-identity-presentation" />
- <!-- OIP-OIR -->
- <xs:element
- ref="ss:originating--identity--presentation--restriction" />
- <xs:element ref="ss:originating--identity--presentation" />
- <!-- CDIV -->
- <xs:element ref="ss:communication-diversion" />
- <!-- ACR-CB -->
- <xs:element ref="ss:incoming-communication-barring" />
- <xs:element ref="ss:outgoing-communication-barring" />
- <!-- CUG -->
- <!-- <xs:element ref="cug"/> -->
- </xs:choice>
- </xs:group>
-
-</xs:schema>
\ No newline at end of file
/v3/xsd/simservs.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/MCID.xsd
===================================================================
--- v3/xsd/MCID.xsd (revision 634)
+++ v3/xsd/MCID.xsd (nonexistent)
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns="http://uri.etsi.org/ngn/params/xml/simservs/mcid"
- targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/mcid"
- elementFormDefault="qualified">
- <xs:annotation>
- <xs:documentation>XML Schema Definition to the mcid
- request-response
- to the Malicious Communication
- Identification simulation service
- </xs:documentation>
- </xs:annotation>
- <!--Definition of simple types -->
- <xs:simpleType name="bitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <!--Definition of complex types -->
- <xs:complexType name="requestType">
- <xs:sequence>
- <xs:element name="McidRequestIndicator" type="bitType" />
- <xs:element name="HoldingIndicator" type="bitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="responseType">
- <xs:sequence>
- <xs:element name="McidResponseIndicator" type="bitType" />
- <xs:element name="HoldingProvidedIndicator" type="bitType" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of document structure -->
- <xs:element name="mcid">
- <xs:complexType>
- <xs:choice>
- <xs:element name="request" type="requestType" />
- <xs:element name="response" type="responseType" />
- </xs:choice>
- </xs:complexType>
- </xs:element>
-</xs:schema>
\ No newline at end of file
/v3/xsd/MCID.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/SupplementaryServices.xsd
===================================================================
--- v3/xsd/SupplementaryServices.xsd (revision 634)
+++ v3/xsd/SupplementaryServices.xsd (nonexistent)
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- attributeFormDefault="unqualified">
-
- <xs:include schemaLocation="simservs.xsd" />
- <xs:include schemaLocation="TIP-TIR.xsd" />
- <xs:include schemaLocation="OIP-OIR.xsd" />
- <xs:include schemaLocation="CDIV.xsd" />
- <xs:include schemaLocation="ACR_CB.xsd" />
- <xs:include schemaLocation="cug.xsd" />
-
-</xs:schema>
\ No newline at end of file
/v3/xsd/SupplementaryServices.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/pidf_lo.xsd
===================================================================
--- v3/xsd/pidf_lo.xsd (revision 634)
+++ v3/xsd/pidf_lo.xsd (nonexistent)
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="urn:ietf:params:xml:ns:pidf:geopriv10"
- xmlns:tns="urn:ietf:params:xml:ns:pidf:geopriv10" xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- attributeFormDefault="unqualified">
-
- <xs:import namespace="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
- schemaLocation="geopriv10basic.xsd" />
-
- <!-- This import brings in the XML language attribute xml:lang -->
-
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
-
- <xs:element name="geopriv" type="tns:geopriv" />
-
- <xs:complexType name="geopriv">
- <xs:sequence>
- <xs:element name="location-info" type="tns:locInfoType"
- minOccurs="1" maxOccurs="1" />
- <xs:element name="usage-rules" type="gbp:locPolicyType"
- minOccurs="1" maxOccurs="1" />
- <xs:element name="method" type="tns:locMethod"
- minOccurs="0" maxOccurs="1" />
- <xs:element name="provided-by" type="tns:locProvidedBy"
- minOccurs="0" maxOccurs="1" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="locInfoType">
- <xs:sequence>
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="locMethod">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="locProvidedBy">
- <xs:sequence>
- <xs:any namespace="##other" processContents="skip"
- minOccurs="1" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
-
-</xs:schema>
-
Index: v3/xsd/cug.xsd
===================================================================
--- v3/xsd/cug.xsd (revision 634)
+++ v3/xsd/cug.xsd (nonexistent)
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns="http://uri.etsi.org/ngn/params/xml/simservs/xcap" xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:annotation>
- <xs:documentation>XML Schema Definition for the closed user
- group
- parameter
- </xs:documentation>
- </xs:annotation>
- <!-- Because of some XSD to TTCN-3 mapping limitations, xcap.xsd=simservs.xsd
- with modifications -->
- <!--xs:include schemaLocation="xcap.xsd"/ -->
- <!--Definition of simple types -->
- <xs:simpleType name="twobitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="networkIdentityType">
- <xs:restriction base="xs:hexBinary">
- <xs:length value="1" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="sixteenbitType">
- <xs:restriction base="xs:hexBinary">
- <xs:length value="2" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="cugIndexType">
- <xs:restriction base="xs:integer">
- <xs:minInclusive value="0" />
- <xs:maxInclusive value="32767" />
- </xs:restriction>
- </xs:simpleType>
- <!--Definition of complex types -->
- <xs:complexType name="cugRequestType">
- <xs:sequence>
- <xs:element name="outgoingAccessRequest" type="xs:boolean" />
- <xs:element name="cugIndex" type="cugIndexType"
- minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of document structure -->
- <xs:element name="cug" substitutionGroup="ss:absService">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ss:simservType">
- <xs:sequence>
- <xs:element name="cugCallOperation"
- type="cugRequestType" minOccurs="0" />
- <xs:element name="networkIndicator"
- type="networkIdentityType" minOccurs="0" />
- <xs:element name="cugInterlockBinaryCode"
- type="sixteenbitType" minOccurs="0" />
- <xs:element name="cugCommunicationIndicator"
- type="twobitType" minOccurs="0" />
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-</xs:schema>
/v3/xsd/cug.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/geopriv10basic.xsd
===================================================================
--- v3/xsd/geopriv10basic.xsd (revision 634)
+++ v3/xsd/geopriv10basic.xsd (nonexistent)
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
- xmlns:tns="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- attributeFormDefault="unqualified">
-
- <!-- This import brings in the XML language attribute xml:lang -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
-
- <xs:complexType name="locPolicyType">
- <xs:sequence>
- <xs:element name="retransmission-allowed" type="xs:boolean"
- minOccurs="0" maxOccurs="1" />
- <xs:element name="retention-expiry" type="xs:dateTime"
- minOccurs="0" maxOccurs="1" />
- <xs:element name="external-ruleset" type="xs:anyURI"
- minOccurs="0" maxOccurs="1" />
- <xs:element name="note-well" type="tns:notewell"
- minOccurs="0" maxOccurs="1" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="notewell">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
-</xs:schema>
-
Index: v3/xsd/OIP-OIR.xsd
===================================================================
--- v3/xsd/OIP-OIR.xsd (revision 634)
+++ v3/xsd/OIP-OIR.xsd (nonexistent)
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="originating--identity--presentation--restriction"
- substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>Originating Identity presentation
- Restriction
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ss:simservType">
- <xs:sequence>
- <xs:element name="default--behaviour"
- default="presentation--restricted"
- minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration
- value="presentation--restricted" />
- <xs:enumeration
- value="presentation--not--restricted" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="originating--identity--presentation"
- type="ss:simservType" substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>Originating Identity Presentation
- </xs:documentation>
- </xs:annotation>
- </xs:element>
-</xs:schema>
\ No newline at end of file
/v3/xsd/OIP-OIR.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/Ims3gpp.xsd
===================================================================
--- v3/xsd/Ims3gpp.xsd (revision 634)
+++ v3/xsd/Ims3gpp.xsd (nonexistent)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified"
- version="1">
- <xs:complexType name="tIMS3GPP">
- <xs:sequence>
- <xs:choice>
- <xs:element name="alternative-service" type="tAlternativeService" />
- <xs:element name="service-info" type="xs:string" />
- </xs:choice>
- <xs:any namespace="##any" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="version" type="xs:decimal" use="required" />
- <xs:anyAttribute />
- </xs:complexType>
- <xs:complexType name="tAlternativeService">
- <xs:sequence>
- <xs:element name="type" type="tType" />
- <xs:element name="reason" type="xs:string" />
- <xs:any namespace="##any" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute />
- </xs:complexType>
- <xs:complexType name="tType">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute />
- </xs:complexType>
- <xs:complexType name="tAction">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute />
- </xs:complexType>
-
- <!-- root element -->
- <xs:element name="ims-3gpp" type="tIMS3GPP" />
-
- <!-- emergency element for //ims-3gpp//alternative-service//type -->
- <xs:element name="emergency">
- <xs:complexType />
- </xs:element>
-
- <!-- restoration element for //ims-3gpp//alternative-service//type -->
- <xs:element name="restoration">
- <xs:complexType />
- </xs:element>
-
- <!-- action element for //ims-3gpp//alternative-service -->
- <xs:element name="action" type="tAction" />
-
- <!-- emergency-registration element for //ims-3gpp//alternative-service//action -->
- <xs:element name="emergency-registration">
- <xs:complexType />
- </xs:element>
-
- <!-- initial-registration element for //ims-3gpp//alternative-service//action -->
- <xs:element name="initial-registration">
- <xs:complexType />
- </xs:element>
-</xs:schema>
/v3/xsd/Ims3gpp.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/pidf.xsd
===================================================================
--- v3/xsd/pidf.xsd (revision 634)
+++ v3/xsd/pidf.xsd (nonexistent)
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="urn:ietf:params:xml:ns:pidf"
- xmlns:tns="urn:ietf:params:xml:ns:pidf" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- RFC 3863 -->
-
-
- <!-- This import brings in the XML language attribute xml:lang -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
-
- <xs:element name="presence" type="tns:presence" />
-
- <xs:complexType name="presence">
- <xs:sequence>
- <xs:element name="tuple" type="tns:tuple"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element name="note" type="tns:note"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="entity" type="xs:anyURI" use="required" />
- </xs:complexType>
-
- <xs:complexType name="tuple">
- <xs:sequence>
- <xs:element name="status" type="tns:status" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element name="contact" type="tns:contact"
- minOccurs="0" />
- <xs:element name="note" type="tns:note"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element name="timestamp" type="xs:dateTime"
- minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="id" type="xs:ID" use="required" />
- </xs:complexType>
-
- <xs:complexType name="status">
- <xs:sequence>
- <xs:element name="basic" type="tns:basic"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="basic">
- <xs:restriction base="xs:string">
- <xs:enumeration value="open" />
- <xs:enumeration value="closed" />
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="contact">
- <xs:simpleContent>
- <xs:extension base="xs:anyURI">
- <xs:attribute name="priority" type="tns:qvalue" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="note">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:simpleType name="qvalue">
- <xs:restriction base="xs:decimal">
- <xs:pattern value="0(.[0-9]{0,3})?" />
- <xs:pattern value="1(.0{0,3})?" />
- </xs:restriction>
- </xs:simpleType>
-
- <!-- Global Attributes -->
- <xs:attribute name="mustUnderstand" type="xs:boolean"
- default="0">
- <xs:annotation>
- <xs:documentation>
- This attribute may be used on any element within an optional
- PIDF extension to indicate that the corresponding element must
- be understood by the PIDF processor if the enclosing optional
- element is to be handled.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
-</xs:schema>
-
Index: v3/xsd/xdm_commonPolicy-v1_0.xsd
===================================================================
--- v3/xsd/xdm_commonPolicy-v1_0.xsd (revision 634)
+++ v3/xsd/xdm_commonPolicy-v1_0.xsd (nonexistent)
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- XDM - Common Policy version - 1.0 date - 27 Jun 2008 FILE INFORMATION
- OMA Permanent Document File: OMA-SUP-XSD_xdm_commonPolicy-V1_0_2-20080627-A
- Type: Text - Schema Description Public Reachable Information Path: http://www.openmobilealliance.org/tech/profiles
- Name: xdm_commonPolicy-v1_0.xsd NORMATIVE INFORMATION Information about this
- file can be found in the specification OMA-TS-XDM_Core-V1_1 available at
- http://www.openmobilealliance.org/ Send comments to [email protected]
- LEGAL DISCLAIMER Use of this document is subject to all of the terms and
- conditions of the Use Agreement located at http://www.openmobilealliance.org/UseAgreement.html
- You may use this document or any part of the document for internal or educational
- purposes only, provided you do not modify, edit or take out of context the
- information in this document in any manner. Information contained in this
- document may be used, at your sole risk, for any purposes. You may not use
- this document in any other manner without the prior written permission of
- the Open Mobile Alliance. The Open Mobile Alliance authorizes you to copy
- this document, provided that you retain all copyright and other proprietary
- notices contained in the original materials on any copies of the materials
- and that you comply strictly with these terms. This copyright permission
- does not constitute an endorsement of the products or services. The Open
- Mobile Alliance assumes no responsibility for errors or omissions in this
- document. Each Open Mobile Alliance member has agreed to use reasonable endeavors
- to inform the Open Mobile Alliance in a timely manner of Essential IPR as
- it becomes aware that the Essential IPR is related to the prepared or published
- specification. However, the members do not have an obligation to conduct
- IPR searches. The declared Essential IPR is publicly available to members
- and non-members of the Open Mobile Alliance and may be found on the "OMA
- IPR Declarations" list at http://www.openmobilealliance.org/ipr.html. The
- Open Mobile Alliance has not conducted an independent IPR review of this
- document and the information contained herein, and makes no representations
- or warranties regarding third party IPR, including without limitation patents,
- copyrights or trade secret rights. This document may contain inventions for
- which you must obtain licenses from third parties before making, using or
- selling the inventions. Defined terms above are set forth in the schedule
- to the Open Mobile Alliance Application Form. NO REPRESENTATIONS OR WARRANTIES
- (WHETHER EXPRESS OR IMPLIED) ARE MADE BY THE OPEN MOBILE ALLIANCE OR ANY
- OPEN MOBILE ALLIANCE MEMBER OR ITS AFFILIATES REGARDING ANY OF THE IPR'S
- REPRESENTED ON THE "OMA IPR DECLARATIONS" LIST, INCLUDING, BUT NOT LIMITED
- TO THE ACCURACY, COMPLETENESS, VALIDITY OR RELEVANCE OF THE INFORMATION OR
- WHETHER OR NOT SUCH RIGHTS ARE ESSENTIAL OR NON-ESSENTIAL. THE OPEN MOBILE
- ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY DIRECT, INDIRECT, PUNITIVE,
- SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR EXEMPLARY DAMAGES ARISING OUT OF OR
- IN CONNECTION WITH THE USE OF DOCUMENTS AND THE INFORMATION CONTAINED IN
- THE DOCUMENTS. Copyright 2008 Open Mobile Alliance Ltd. All Rights Reserved.
- Used with the permission of the Open Mobile Alliance Ltd. under the terms
- set forth above. -->
-
-<xs:schema targetNamespace="urn:oma:xml:xdm:common-policy"
- xmlns="urn:oma:xml:xdm:common-policy" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
-
- <!-- OMA specific "conditions" child elements -->
- <xs:element name="other-identity" type="emptyType" />
-
- <xs:element name="external-list">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="entry" type="anchorType"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="anonymous-request" type="emptyType" />
-
- <xs:complexType name="anchorType">
- <xs:attribute name="anc" type="xs:anyURI" />
- <xs:anyAttribute processContents="lax" />
- </xs:complexType>
-
- <xs:complexType name="emptyType" />
-
-</xs:schema>
/v3/xsd/xdm_commonPolicy-v1_0.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/ResourceList.xsd
===================================================================
--- v3/xsd/ResourceList.xsd (revision 634)
+++ v3/xsd/ResourceList.xsd (nonexistent)
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<xs:schema xmlns="urn:ietf:params:xml:ns:resource-lists"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified"
- elementFormDefault="qualified" targetNamespace="urn:ietf:params:xml:ns:resource-lists">
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
- <xs:complexType name="listType">
- <xs:sequence>
- <xs:element minOccurs="0" name="display-name"
- type="display-nameType" />
- <xs:sequence maxOccurs="unbounded" minOccurs="0">
- <xs:choice>
- <xs:element name="list">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="listType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="external" type="externalType" />
- <xs:element name="entry" type="entryType" />
- <xs:element name="entry-ref" type="entry-refType" />
- </xs:choice>
- </xs:sequence>
- <xs:any maxOccurs="unbounded" minOccurs="0"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="optional" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <xs:complexType name="entryType">
- <xs:sequence>
- <xs:element minOccurs="0" name="display-name">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="display-nameType" />
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:any maxOccurs="unbounded" minOccurs="0"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:attribute name="uri" type="xs:anyURI" use="required" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <xs:complexType name="entry-refType">
- <xs:sequence>
- <xs:element minOccurs="0" name="display-name"
- type="display-nameType" />
- <xs:any maxOccurs="unbounded" minOccurs="0"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:attribute name="ref" type="xs:anyURI" use="required" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <xs:complexType name="externalType">
- <xs:sequence>
- <xs:element minOccurs="0" name="display-name"
- type="display-nameType" />
- <xs:any maxOccurs="unbounded" minOccurs="0"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:attribute name="anchor" type="xs:anyURI" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <xs:element name="resource-lists">
- <xs:complexType>
- <xs:sequence maxOccurs="unbounded" minOccurs="0">
- <xs:element name="list" type="listType" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="display-nameType">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-</xs:schema>
/v3/xsd/ResourceList.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/PSTN.xsd
===================================================================
--- v3/xsd/PSTN.xsd (revision 634)
+++ v3/xsd/PSTN.xsd (nonexistent)
@@ -1,418 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns="http://uri.etsi.org/ngn/params/xml/simservs/pstn" xmlns:ns1="http://uri.etsi.org/ngn/params/xml/simservs/pstn"
- targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/pstn"
- elementFormDefault="qualified">
- <xs:annotation>
- <xs:documentation>XML Schema definition for mappingof some PSTN
- into
- SIP MIME Bodies
- </xs:documentation>
- </xs:annotation>
- <!--Definition of simple types -->
- <xs:simpleType name="OneBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="TwoBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ThreeBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="FourBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1][0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="FiveBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1][0-1][0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="SixBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1][0-1][0-1][0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="SevenBitType">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-1][0-1][0-1][0-1][0-1][0-1][0-1]" />
- </xs:restriction>
- </xs:simpleType>
- <!--Definition of complex types -->
- <!--Definition of BearerCapability Octets -->
- <xs:complexType name="BCOctet3Type">
- <xs:sequence>
- <xs:element name="CodingStandard" type="TwoBitType" />
- <xs:element name="InformationTransferCabability"
- type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet4Type">
- <xs:sequence>
- <xs:element name="TransferMode" type="TwoBitType" />
- <xs:element name="InformationTransferRate" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet4-1Type">
- <xs:sequence>
- <xs:element name="RateMultiplier" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet5Type">
- <xs:sequence>
- <xs:element name="Layer1Identification" type="TwoBitType" />
- <xs:element name="UserInfoLayer1Protocol" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet5aType">
- <xs:sequence>
- <xs:element name="SynchronousAsynchronous" type="OneBitType" />
- <xs:element name="Negotiation" type="OneBitType" />
- <xs:element name="UserRate" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet5bV110Type">
- <xs:sequence>
- <xs:element name="IntermediateRate" type="TwoBitType" />
- <xs:element name="NIConTX" type="OneBitType" />
- <xs:element name="NIConRX" type="OneBitType" />
- <xs:element name="FlowControlOnTX" type="OneBitType" />
- <xs:element name="FlowControlOnRX" type="OneBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet5bV120Type">
- <xs:sequence>
- <xs:element name="RateAdaptionHeader" type="OneBitType" />
- <xs:element name="MultipleFrameEstablishmentSupport"
- type="OneBitType" />
- <xs:element name="ModeOfOperation" type="OneBitType" />
- <xs:element name="LogicalLinkIdentifier" type="OneBitType" />
- <xs:element name="Assignor" type="OneBitType" />
- <xs:element name="InbandOutbandNegotiation" type="OneBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet5cType">
- <xs:sequence>
- <xs:element name="NumberOfStopBits" type="TwoBitType" />
- <xs:element name="NumberOfDataBits" type="TwoBitType" />
- <xs:element name="Parity" type="ThreeBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet5dType">
- <xs:sequence>
- <xs:element name="DuplexMode" type="OneBitType" />
- <xs:element name="ModemType" type="SixBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet6Type">
- <xs:sequence>
- <xs:element name="Layer2Identification" type="TwoBitType" />
- <xs:element name="UserInfoLayer2Protocol" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet7Type">
- <xs:sequence>
- <xs:element name="Layer3Identification" type="TwoBitType" />
- <xs:element name="UserInfoLayer3Protocol" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet7aType">
- <xs:sequence>
- <xs:element name="AdditionalLayer3Info" type="FourBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="BCOctet7bType">
- <xs:sequence>
- <xs:element name="AdditionalLayer3Info" type="FourBitType" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of High Layer Compatibility Octets -->
- <xs:complexType name="HLOctet3Type">
- <xs:sequence>
- <xs:element name="CodingStandard" type="TwoBitType" />
- <xs:element name="Interpretation" type="ThreeBitType" />
- <xs:element name="PresentationMethod" type="TwoBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="HLOctet4Type">
- <xs:sequence>
- <xs:element name="HighLayerCharacteristics" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="HLOctet4aMaintenanceType">
- <xs:sequence>
- <xs:element name="HighLayerCharacteristics" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="HLOctet4aAudioType">
- <xs:sequence>
- <xs:element name="VideoTelephonyCharacteristics"
- type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of Low Layer Compatibility Octets -->
- <xs:complexType name="LLOctet3Type">
- <xs:sequence>
- <xs:element name="CodingStandard" type="TwoBitType" />
- <xs:element name="InformationTransferCapability"
- type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet3aType">
- <xs:sequence>
- <xs:element name="NegotiationIndicator" type="OneBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet4Type">
- <xs:sequence>
- <xs:element name="TransferMode" type="TwoBitType" />
- <xs:element name="InformationTransferRate" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet4-1Type">
- <xs:sequence>
- <xs:element name="RateMultiplier" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet5Type">
- <xs:sequence>
- <xs:element name="Layer1Identification" type="TwoBitType" />
- <xs:element name="UserInfoLayer1Protocol" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet5aType">
- <xs:sequence>
- <xs:element name="SynchronousAsynchronous" type="OneBitType" />
- <xs:element name="Negotiation" type="OneBitType" />
- <xs:element name="UserRate" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet5bV110Type">
- <xs:sequence>
- <xs:element name="IntermediateRate" type="TwoBitType" />
- <xs:element name="NIConTX" type="OneBitType" />
- <xs:element name="NIConRX" type="OneBitType" />
- <xs:element name="FlowControlOnTX" type="OneBitType" />
- <xs:element name="FlowControlOnRX" type="OneBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet5bV120Type">
- <xs:sequence>
- <xs:element name="RateAdaptionHeader" type="OneBitType" />
- <xs:element name="MultipleFrameEstablishmentSupport"
- type="OneBitType" />
- <xs:element name="ModeOfOperation" type="OneBitType" />
- <xs:element name="LogicalLinkIdentifier" type="OneBitType" />
- <xs:element name="Assignor" type="OneBitType" />
- <xs:element name="InbandOutbandNegotiation" type="OneBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet5cType">
- <xs:sequence>
- <xs:element name="NumberOfStopBits" type="TwoBitType" />
- <xs:element name="NumberOfDataBits" type="TwoBitType" />
- <xs:element name="Parity" type="ThreeBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet5dType">
- <xs:sequence>
- <xs:element name="DuplexMode" type="OneBitType" />
- <xs:element name="ModemType" type="SixBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet6Type">
- <xs:sequence>
- <xs:element name="Layer2Identification" type="TwoBitType" />
- <xs:element name="UserInfoLayer2Protocol" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet6aHDLCType">
- <xs:sequence>
- <xs:element name="Mode" type="TwoBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet6aUserSpecificType">
- <xs:sequence>
- <xs:element name="UserSpecificLayer2Information"
- type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet6bType">
- <xs:sequence>
- <xs:element name="WindowSize" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7Type">
- <xs:sequence>
- <xs:element name="Layer3Identification" type="TwoBitType" />
- <xs:element name="UserInfoLayer3Protocol" type="FiveBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7aUserSpecificType">
- <xs:sequence>
- <xs:element name="OptionalLayer3Information"
- type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7aX25Type">
- <xs:sequence>
- <xs:element name="Mode" type="TwoBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7bX25Type">
- <xs:sequence>
- <xs:element name="DefaultPacketSize" type="FourBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7cType">
- <xs:sequence>
- <xs:element name="PacketWindowSize" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7aTR9577Type">
- <xs:sequence>
- <xs:element name="AdditionalLayer3Info" type="FourBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LLOctet7bTR9577Type">
- <xs:sequence>
- <xs:element name="AdditionalLayer3Info" type="FourBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DispOctet3Type">
- <xs:sequence>
- <xs:element name="DisplayInformation" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of the information elements -->
- <xs:complexType name="BearerCapabilityType">
- <xs:sequence>
- <xs:element name="BCoctet3" type="BCOctet3Type" />
- <xs:element name="BCoctet4" type="BCOctet4Type" />
- <xs:element name="BCoctet4-1" type="BCOctet4-1Type"
- minOccurs="0" />
- <xs:element name="BCoctet5" type="BCOctet5Type"
- minOccurs="0" />
- <xs:element name="BCoctet5a" type="BCOctet5aType"
- minOccurs="0" />
- <xs:element name="BCoctet5bV110" type="BCOctet5bV110Type"
- minOccurs="0" />
- <xs:element name="BCoctet5bV120" type="BCOctet5bV120Type"
- minOccurs="0" />
- <xs:element name="BCoctet5c" type="BCOctet5cType"
- minOccurs="0" />
- <xs:element name="BCoctet5d" type="BCOctet5dType"
- minOccurs="0" />
- <xs:element name="BCoctet6" type="BCOctet6Type"
- minOccurs="0" />
- <xs:element name="BCoctet7" type="BCOctet7Type"
- minOccurs="0" />
- <xs:element name="BCoctet7a" type="BCOctet7aType"
- minOccurs="0" />
- <xs:element name="BCoctet7b" type="BCOctet7bType"
- minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="HighLayerCompatibilityType">
- <xs:sequence>
- <xs:element name="HLOctet3" type="HLOctet3Type" />
- <xs:element name="HLOctet4" type="HLOctet4Type" />
- <xs:element name="HLOctet4aMaintenance" type="HLOctet4aMaintenanceType"
- minOccurs="0" />
- <xs:element name="HLOctet4Audio" type="HLOctet4aAudioType"
- minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="LowLayerCompatibilityType">
- <xs:sequence>
- <xs:element name="LLOctet3" type="LLOctet3Type" />
- <xs:element name="LLOctet3a" type="LLOctet3aType"
- minOccurs="0" />
- <xs:element name="LLOctet4" type="LLOctet4Type" />
- <xs:element name="LLOctet4-1" type="LLOctet4-1Type"
- minOccurs="0" />
- <xs:element name="LLOctet5" type="LLOctet5Type"
- minOccurs="0" />
- <xs:element name="LLOctet5a" type="LLOctet5aType"
- minOccurs="0" />
- <xs:element name="LLOctet5bV110" type="LLOctet5bV110Type"
- minOccurs="0" />
- <xs:element name="LLOctet5bV120" type="LLOctet5bV120Type"
- minOccurs="0" />
- <xs:element name="LLOctet5c" type="LLOctet5cType"
- minOccurs="0" />
- <xs:element name="LLOctet5d" type="LLOctet5dType"
- minOccurs="0" />
- <xs:element name="LLOctet6" type="LLOctet6Type"
- minOccurs="0" />
- <xs:element name="LLOctet6aHDLC" type="LLOctet6aHDLCType"
- minOccurs="0" />
- <xs:element name="LLOctet6aUserSpecific" type="LLOctet6aUserSpecificType"
- minOccurs="0" />
- <xs:element name="LLOctet6b" type="LLOctet6bType"
- minOccurs="0" />
- <xs:element name="LLOctet7" type="LLOctet7Type" />
- <xs:element name="LLOctet7aUserSpecific" type="LLOctet7aUserSpecificType"
- minOccurs="0" />
- <xs:element name="LLOctet7aX25" type="LLOctet7aX25Type"
- minOccurs="0" />
- <xs:element name="LLOctet7bX25" type="LLOctet7bX25Type"
- minOccurs="0" />
- <xs:element name="LLOctet7c" type="LLOctet7cType"
- minOccurs="0" />
- <xs:element name="LLOctet7aTR9577" type="LLOctet7aTR9577Type"
- minOccurs="0" />
- <xs:element name="LLOctet7bTR9577" type="LLOctet7bTR9577Type"
- minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DisplayType">
- <xs:sequence>
- <xs:element name="DispOctet3" type="DispOctet3Type" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of progress indicator -->
- <xs:complexType name="ProgressOctet3Type">
- <xs:sequence>
- <xs:element name="CodingStandard" type="TwoBitType" />
- <xs:element name="Location" type="FourBitType" />
- </xs:sequence>
- <!--ETSI ETSI TS 124 503 V8.15.0 (2013-07) 323 Release 7 -->
- </xs:complexType>
- <xs:complexType name="ProgressOctet4Type">
- <xs:sequence>
- <xs:element name="ProgressDescription" type="SevenBitType" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ProgressIndicatorType">
- <xs:sequence>
- <xs:element name="ProgressOctet3" type="ProgressOctet3Type" />
- <xs:element name="ProgressOctet4" type="ProgressOctet4Type" />
- </xs:sequence>
- </xs:complexType>
- <!--Definition of document structure -->
- <xs:element name="PSTN-transit">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="BearerInfomationElement"
- type="BearerCapabilityType" maxOccurs="2" />
- <xs:element name="HighLayerCompatibility"
- type="HighLayerCompatibilityType" minOccurs="0"
- maxOccurs="2" />
- <xs:element name="LowLayerCompatibility"
- type="LowLayerCompatibilityType" minOccurs="0" />
- <xs:element name="ProgressIndicator" type="ProgressIndicatorType"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element name="Display" type="DisplayType"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-</xs:schema>
\ No newline at end of file
/v3/xsd/PSTN.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/CONF.xsd
===================================================================
--- v3/xsd/CONF.xsd (revision 634)
+++ v3/xsd/CONF.xsd (nonexistent)
@@ -1,342 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<xs:schema targetNamespace="urn:ietf:params:xml:ns:conference-info"
- xmlns:tns="urn:ietf:params:xml:ns:conference-info" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns="urn:ietf:params:xml:ns:conference-info" elementFormDefault="qualified"
- attributeFormDefault="unqualified">
- <!-- This imports the xml:language definition -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
- <!-- CONFERENCE ELEMENT -->
- <xs:element name="conference-info" type="conference-type" />
- <!-- CONFERENCE TYPE -->
- <xs:complexType name="conference-type">
- <xs:sequence>
- <xs:element name="conference-description" type="conference-description-type"
- minOccurs="0" />
- <xs:element name="host-info" type="host-type"
- minOccurs="0" />
- <xs:element name="conference-state" type="conference-state-type"
- minOccurs="0" />
- <xs:element name="users" type="users-type"
- minOccurs="0" />
- <xs:element name="sidebars-by-ref" type="uris-type"
- minOccurs="0" />
- <xs:element name="sidebars-by-val" type="sidebars-by-val-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="entity" type="xs:anyURI" use="required" />
- <xs:attribute name="state" type="state-type" use="optional"
- default="full" />
- <xs:attribute name="version" type="xs:unsignedInt"
- use="optional" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- STATE TYPE -->
- <xs:simpleType name="state-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="full" />
- <xs:enumeration value="partial" />
- <xs:enumeration value="deleted" />
- </xs:restriction>
- </xs:simpleType>
- <!-- CONFERENCE DESCRIPTION TYPE -->
- <xs:complexType name="conference-description-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="subject" type="xs:string"
- minOccurs="0" />
- <xs:element name="free-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="keywords" type="keywords-type"
- minOccurs="0" />
- <xs:element name="conf-uris" type="uris-type"
- minOccurs="0" />
- <xs:element name="service-uris" type="uris-type"
- minOccurs="0" />
- <xs:element name="maximum-user-count" type="xs:unsignedInt"
- minOccurs="0" />
- <xs:element name="available-media" type="conference-media-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- HOST TYPE -->
- <xs:complexType name="host-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="web-page" type="xs:anyURI"
- minOccurs="0" />
- <xs:element name="uris" type="uris-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- CONFERENCE STATE TYPE -->
- <xs:complexType name="conference-state-type">
- <xs:sequence>
- <xs:element name="user-count" type="xs:unsignedInt"
- minOccurs="0" />
- <xs:element name="active" type="xs:boolean"
- minOccurs="0" />
- <xs:element name="locked" type="xs:boolean"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- CONFERENCE MEDIA TYPE -->
- <xs:complexType name="conference-media-type">
- <xs:sequence>
- <xs:element name="entry" type="conference-medium-type"
- maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- CONFERENCE MEDIUM TYPE -->
- <xs:complexType name="conference-medium-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="type" type="xs:string" />
- <xs:element name="status" type="media-status-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="label" type="xs:string" use="required" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- URIs TYPE -->
- <xs:complexType name="uris-type">
- <xs:sequence>
- <xs:element name="entry" type="uri-type"
- maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="state" type="state-type" use="optional"
- default="full" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- URI TYPE -->
- <xs:complexType name="uri-type">
- <xs:sequence>
- <xs:element name="uri" type="xs:anyURI" />
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="purpose" type="xs:string"
- minOccurs="0" />
- <xs:element name="modified" type="execution-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- KEYWORDS TYPE -->
- <xs:simpleType name="keywords-type">
- <xs:list itemType="xs:string" />
- </xs:simpleType>
- <!-- USERS TYPE -->
- <xs:complexType name="users-type">
- <xs:sequence>
- <xs:element name="user" type="user-type"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="state" type="state-type" use="optional"
- default="full" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- USER TYPE -->
- <xs:complexType name="user-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="associated-aors" type="uris-type"
- minOccurs="0" />
- <xs:element name="roles" type="user-roles-type"
- minOccurs="0" />
- <xs:element name="languages" type="user-languages-type"
- minOccurs="0" />
- <xs:element name="cascaded-focus" type="xs:anyURI"
- minOccurs="0" />
- <xs:element name="endpoint" type="endpoint-type"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="entity" type="xs:anyURI" />
- <xs:attribute name="state" type="state-type" use="optional"
- default="full" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- USER ROLES TYPE -->
- <xs:complexType name="user-roles-type">
- <xs:sequence>
- <xs:element name="entry" type="xs:string"
- maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- USER LANGUAGES TYPE -->
- <xs:simpleType name="user-languages-type">
- <xs:list itemType="xs:language" />
- </xs:simpleType>
- <!-- ENDPOINT TYPE -->
- <xs:complexType name="endpoint-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="referred" type="execution-type"
- minOccurs="0" />
- <xs:element name="status" type="endpoint-status-type"
- minOccurs="0" />
- <xs:element name="joining-method" type="joining-type"
- minOccurs="0" />
- <xs:element name="joining-info" type="execution-type"
- minOccurs="0" />
- <xs:element name="disconnection-method" type="disconnection-type"
- minOccurs="0" />
- <xs:element name="disconnection-info" type="execution-type"
- minOccurs="0" />
- <xs:element name="media" type="media-type"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element name="call-info" type="call-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="entity" type="xs:string" />
- <xs:attribute name="state" type="state-type" use="optional"
- default="full" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- ENDPOINT STATUS TYPE -->
- <xs:simpleType name="endpoint-status-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="pending" />
- <xs:enumeration value="dialing-out" />
- <xs:enumeration value="dialing-in" />
- <xs:enumeration value="alerting" />
- <xs:enumeration value="on-hold" />
- <xs:enumeration value="connected" />
- <xs:enumeration value="muted-via-focus" />
- <xs:enumeration value="disconnecting" />
- <xs:enumeration value="disconnected" />
- </xs:restriction>
- </xs:simpleType>
- <!-- JOINING TYPE -->
- <xs:simpleType name="joining-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="dialed-in" />
- <xs:enumeration value="dialed-out" />
- <xs:enumeration value="focus-owner" />
- </xs:restriction>
- </xs:simpleType>
- <!-- DISCONNECTION TYPE -->
- <xs:simpleType name="disconnection-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="departed" />
- <xs:enumeration value="booted" />
- <xs:enumeration value="failed" />
- <xs:enumeration value="busy" />
- </xs:restriction>
- </xs:simpleType>
- <!-- EXECUTION TYPE -->
- <xs:complexType name="execution-type">
- <xs:sequence>
- <xs:element name="when" type="xs:dateTime"
- minOccurs="0" />
- <xs:element name="reason" type="xs:string"
- minOccurs="0" />
- <xs:element name="by" type="xs:anyURI" minOccurs="0" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- CALL TYPE -->
- <xs:complexType name="call-type">
- <xs:choice>
- <xs:element name="sip" type="sip-dialog-id-type" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:choice>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- SIP DIALOG ID TYPE -->
- <xs:complexType name="sip-dialog-id-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="call-id" type="xs:string" />
- <xs:element name="from-tag" type="xs:string" />
- <xs:element name="to-tag" type="xs:string" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- MEDIA TYPE -->
- <xs:complexType name="media-type">
- <xs:sequence>
- <xs:element name="display-text" type="xs:string"
- minOccurs="0" />
- <xs:element name="type" type="xs:string"
- minOccurs="0" />
- <xs:element name="label" type="xs:string"
- minOccurs="0" />
- <xs:element name="src-id" type="xs:string"
- minOccurs="0" />
- <xs:element name="status" type="media-status-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="id" type="xs:string" use="required" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- MEDIA STATUS TYPE -->
- <xs:simpleType name="media-status-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="recvonly" />
- <xs:enumeration value="sendonly" />
- <xs:enumeration value="sendrecv" />
- <xs:enumeration value="inactive" />
- </xs:restriction>
- </xs:simpleType>
- <!-- SIDEBARS BY VAL TYPE -->
- <xs:complexType name="sidebars-by-val-type">
- <xs:sequence>
- <xs:element name="entry" type="conference-type"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="state" type="state-type" use="optional"
- default="full" />
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
-</xs:schema>
/v3/xsd/CONF.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/CDIV.xsd
===================================================================
--- v3/xsd/CDIV.xsd (revision 634)
+++ v3/xsd/CDIV.xsd (nonexistent)
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:cp="urn:ietf:params:xml:ns:common-policy" xmlns:ocp="urn:oma:xml:xdm:common-policy"
- targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- import common policy definitions -->
- <xs:import namespace="urn:ietf:params:xml:ns:common-policy"
- schemaLocation="common-policy.xsd" />
- <!-- import OMA common policy extensions -->
- <xs:import namespace="urn:oma:xml:xdm:common-policy"
- schemaLocation="xdm_commonPolicy-v1_0.xsd" />
- <!-- communication diversion specific extensions to IETF common policy
- conditions. The cp:conditionsType is expanded with the elements: ss:not-registered,
- ss:busy, ss:no-answer, ss:notreachable, ss:media as optional elements -->
- <!-- communication diversion rule set based on the common policy rule
- set. -->
- <xs:element name="communication-diversion"
- substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>This is the communication diversion
- configuration
- document.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ss:simservType">
- <xs:sequence>
- <!-- add service specific elements here -->
- <xs:element ref="cp:ruleset"
- minOccurs="0" />
- </xs:sequence>
- </xs:extension>
- <!-- service specific attributes can be defined here -->
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- communication diversion specific extensions to IETF common policy
- actions -->
- <xs:element name="forward-to" type="ss:forward-to-type" />
- <xs:simpleType name="reveal-URIoptions-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="false" />
- <xs:enumeration value="not-reveal-GRUU" />
- <xs:enumeration value="true" />
- </xs:restriction>
- </xs:simpleType>
- <!-- communication diversion specific type declarations -->
- <xs:complexType name="forward-to-type">
- <xs:sequence>
- <xs:element name="target" type="xs:anyURI"
- minOccurs="1" maxOccurs="1" />
- <xs:element name="notify-caller" type="xs:boolean"
- default="true" minOccurs="0" />
- <xs:element name="reveal-identity-to-caller"
- type="ss:reveal-URIoptions-type" default="true"
- minOccurs="0" />
- <xs:element name="reveal-served-user-identity-to-caller"
- type="ss:reveal-URIoptions-type" default="true"
- minOccurs="0" />
- <xs:element name="notify-served-user" type="xs:boolean"
- default="false" minOccurs="0" />
- <xs:element name="notify-served-user-on-outbound-call"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:element name="reveal-identity-to-target"
- type="ss:reveal-URIoptions-type" default="true"
- minOccurs="0" />
- <xs:element ref="ss:NoReplyTimer" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="NoReplyTimer">
- <xs:simpleType>
- <xs:restriction base="xs:positiveInteger">
- <xs:minInclusive value="5" />
- <xs:maxInclusive value="180" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
-</xs:schema>
\ No newline at end of file
/v3/xsd/CDIV.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/common-policy.xsd
===================================================================
--- v3/xsd/common-policy.xsd (revision 634)
+++ v3/xsd/common-policy.xsd (nonexistent)
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="urn:ietf:params:xml:ns:common-policy"
- xmlns:cp="urn:ietf:params:xml:ns:common-policy" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- /ruleset -->
- <xs:element name="ruleset">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:sequence>
- <xs:element name="rule" type="cp:ruleType"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- /ruleset/rule -->
- <xs:complexType name="ruleType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:sequence>
- <xs:element name="conditions" type="cp:conditionsType"
- minOccurs="0" />
- <xs:element name="actions" type="cp:extensibleType"
- minOccurs="0" />
- <xs:element name="transformations" type="cp:extensibleType"
- minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="id" type="xs:ID" use="required" />
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //rule/conditions -->
- <xs:complexType name="conditionsType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:choice maxOccurs="unbounded">
- <xs:element name="identity" type="cp:identityType"
- minOccurs="0" />
- <xs:element name="sphere" type="cp:sphereType"
- minOccurs="0" />
- <xs:element name="validity" type="cp:validityType"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:choice>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //conditions/identity -->
- <xs:complexType name="identityType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:choice minOccurs="1" maxOccurs="unbounded">
- <xs:element name="one" type="cp:oneType" />
- <xs:element name="many" type="cp:manyType" />
- <xs:any namespace="##other" processContents="lax" />
- </xs:choice>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //identity/one -->
- <xs:complexType name="oneType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:sequence>
- <xs:any namespace="##other" minOccurs="0"
- processContents="lax" />
- </xs:sequence>
- <xs:attribute name="id" type="xs:anyURI"
- use="required" />
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //identity/many -->
- <xs:complexType name="manyType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="except" type="cp:exceptType" />
- <xs:any namespace="##other" minOccurs="0"
- processContents="lax" />
- </xs:choice>
- <xs:attribute name="domain" use="optional"
- type="xs:string" />
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //many/except -->
- <xs:complexType name="exceptType">
- <xs:attribute name="domain" type="xs:string" use="optional" />
- <xs:attribute name="id" type="xs:anyURI" use="optional" />
- </xs:complexType>
- <!-- //conditions/sphere -->
- <xs:complexType name="sphereType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:attribute name="value" type="xs:string"
- use="required" />
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //conditions/validity -->
- <xs:complexType name="validityType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:sequence minOccurs="1" maxOccurs="unbounded">
- <xs:element name="from" type="xs:dateTime" />
- <xs:element name="until" type="xs:dateTime" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <!-- //rule/actions or //rule/transformations -->
- <xs:complexType name="extensibleType">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:sequence>
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
-</xs:schema>
/v3/xsd/common-policy.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/TIP-TIR.xsd
===================================================================
--- v3/xsd/TIP-TIR.xsd (revision 634)
+++ v3/xsd/TIP-TIR.xsd (nonexistent)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:ss="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/ngn/params/xml/simservs/xcap"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="terminating-identity-presentation-restriction"
- substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>Terminating Identity presentation
- Restriction
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ss:simservType">
- <xs:sequence>
- <xs:element name="default-behaviour"
- default="presentation-restricted" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration
- value="presentation-restricted" />
- <xs:enumeration
- value="presentation-not-restricted" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="terminating-identity-presentation"
- type="ss:simservType" substitutionGroup="ss:absService">
- <xs:annotation>
- <xs:documentation>Terminating Identity Presentation
- </xs:documentation>
- </xs:annotation>
- </xs:element>
-</xs:schema>
\ No newline at end of file
/v3/xsd/TIP-TIR.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd/regInfo.xsd
===================================================================
--- v3/xsd/regInfo.xsd (revision 634)
+++ v3/xsd/regInfo.xsd (nonexistent)
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="urn:ietf:params:xml:ns:reginfo"
- xmlns:tns="urn:ietf:params:xml:ns:reginfo" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- RFC 3680 clause 5.4 -->
-
- <!-- This import brings in the XML language attribute xml:lang -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
- <xs:element name="reginfo">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="tns:registration" minOccurs="0"
- maxOccurs="unbounded" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="version" type="xs:nonNegativeInteger"
- use="required" />
- <xs:attribute name="state" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="full" />
- <xs:enumeration value="partial" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="registration">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="tns:contact" minOccurs="0"
- maxOccurs="unbounded" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="aor" type="xs:anyURI" use="required" />
- <xs:attribute name="id" type="xs:string" use="required" />
- <xs:attribute name="state" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="init" />
- <xs:enumeration value="active" />
- <xs:enumeration value="terminated" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="contact">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="uri" type="xs:anyURI" />
- <xs:element name="display-name" minOccurs="0">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang"
- use="optional" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="unknown-param" minOccurs="0"
- maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name"
- type="xs:string" use="required" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="state" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="active" />
- <xs:enumeration value="terminated" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="event" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="registered" />
- <xs:enumeration value="created" />
- <xs:enumeration value="refreshed" />
- <xs:enumeration value="shortened" />
- <xs:enumeration value="expired" />
- <xs:enumeration value="deactivated" />
- <xs:enumeration value="probation" />
- <xs:enumeration value="unregistered" />
- <xs:enumeration value="rejected" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="duration-registered" type="xs:unsignedLong" />
- <xs:attribute name="expires" type="xs:unsignedLong" />
- <xs:attribute name="retry-after" type="xs:unsignedLong" />
- <xs:attribute name="id" type="xs:string" use="required" />
- <xs:attribute name="q" type="xs:string" />
- <xs:attribute name="callid" type="xs:string" />
- <xs:attribute name="cseq" type="xs:unsignedLong" />
- </xs:complexType>
- </xs:element>
-</xs:schema>
Index: v3/xsd/xml.xsd
===================================================================
--- v3/xsd/xml.xsd (revision 634)
+++ v3/xsd/xml.xsd (nonexistent)
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
-
- <xs:attribute name="lang">
- <xs:simpleType>
- <xs:union memberTypes="xs:language">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="" />
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="space">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="default" />
- <xs:enumeration value="preserve" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="base" type="xs:anyURI">
- </xs:attribute>
-
- <xs:attribute name="id" type="xs:ID">
- </xs:attribute>
-
- <xs:attributeGroup name="specialAttrs">
- <xs:attribute ref="xml:base" />
- <xs:attribute ref="xml:lang" />
- <xs:attribute ref="xml:space" />
- <xs:attribute ref="xml:id" />
- </xs:attributeGroup>
-</xs:schema>
Index: v3/xsd/CDIVN.xsd
===================================================================
--- v3/xsd/CDIVN.xsd (revision 634)
+++ v3/xsd/CDIVN.xsd (nonexistent)
@@ -1,226 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<xs:schema targetNamespace="http://uri.etsi.org/ngn/params/xml/comm-div-info"
- xmlns:tns="http://uri.etsi.org/ngn/params/xml/comm-div-info"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://uri.etsi.org/ngn/params/xml/comm-div-info"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- This import brings in the XML language definition -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="xml.xsd" />
- <!-- Communication Diversion Information. This is the top-level XML element -->
- <xs:element name="comm-div-info" type="comm-div-info-type" />
- <!-- Communication Diversion Information Type. This is the top-level
- XML element -->
- <xs:complexType name="comm-div-info-type">
- <xs:sequence>
- <xs:element name="comm-div-subs-info" type="comm-div-subs-info-type"
- minOccurs="0" />
- <xs:element name="comm-div-ntfy-info" type="comm-div-ntfy-info-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="entity" type="xs:anyURI" use="required" />
- </xs:complexType>
- <!--- Communication Diversion Subscription Type. Used at Subscription
- time to select Communication Diversions for notification, when to notify
- them and what to notify. -->
- <xs:complexType name="comm-div-subs-info-type">
- <xs:sequence>
- <xs:element name="comm-div-selection-criteria"
- type="comm-div-selection-criteria-type" minOccurs="0" />
- <xs:element name="comm-div-ntfy-trigger-criteria"
- type="comm-div-ntfy-trigger-criteria-type" minOccurs="0" />
- <xs:element name="comm-div-info-selection-criteria"
- type="comm-div-info-selection-criteria-type" minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!--- Communication Diversion Notification Information Type Used while
- notifying the User about the Communication Diversion -->
- <xs:complexType name="comm-div-ntfy-info-type">
- <xs:sequence>
- <xs:element name="originating-user-info" type="user-info-type"
- minOccurs="0" />
- <xs:element name="diverting-user-info" type="xs:anyURI"
- minOccurs="0" />
- <xs:element name="diverted-to-user-info" type="xs:anyURI"
- minOccurs="0" />
- <xs:element name="diversion-time-info" type="xs:dateTime"
- minOccurs="0" />
- <xs:element name="diversion-reason-info" type="diversion-reason-info-type"
- minOccurs="0" />
- <xs:element name="diversion-rule-info" type="diversion-rule-info-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element name="previous-cdivn-state" type="cdivn-states-types"
- minOccurs="0" maxOccurs="1" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- COMMUNICATION DIVERSION SELECTION CRITERIA -->
- <xs:complexType name="comm-div-selection-criteria-type">
- <xs:sequence>
- <xs:element name="originating-user-selection-criteria"
- type="user-selection-criteria-type" minOccurs="0" />
- <xs:element name="diverting-user-selection-criteria"
- type="xs:anyURI" minOccurs="0" />
- <xs:element name="diverted-to-user-selection-criteria"
- type="xs:anyURI" minOccurs="0" />
- <xs:element name="diversion-time-selection-criteria"
- type="time-range-selection-criteria-type" minOccurs="0" />
- <xs:element name="diversion-reason-selection-criteria"
- type="diversion-reason-selection-criteria-type"
- minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- COMMUNICATION DIVERSION NOTIFICATION TRIGGER CRITERIA -->
- <xs:complexType name="comm-div-ntfy-trigger-criteria-type">
- <xs:sequence>
- <xs:element name="notification-time-selection-criteria"
- type="time-range-selection-criteria-type" minOccurs="0" />
- <xs:element name="presence-status-selection-criteria"
- type="presence-status-selection-criteria-type"
- minOccurs="0" />
- <xs:element name="notification-buffer-interval"
- minOccurs="0" default="86400">
- <xs:simpleType>
- <xs:restriction base="xs:integer">
- <xs:maxInclusive value="86400" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- COMMUNICATION DIVERSION INFORMATION SELECTION CRITERIA -->
- <xs:complexType name="comm-div-info-selection-criteria-type">
- <xs:sequence>
- <xs:element name="disable-originating-user-info"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:element name="disable-diverting-user-info"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:element name="disable-diverted-to-user-info"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:element name="disable-diversion-time-info"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:element name="disable-diversion-reason-info"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:element name="disable-diversion-rule-info"
- type="xs:boolean" default="false" minOccurs="0" />
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
-
- <!-- User Info Type -->
- <xs:complexType name="user-info-type">
- <xs:sequence>
- <xs:element name="user-name" type="xs:string"
- minOccurs="0" maxOccurs="1" />
- <xs:element name="user-URI" type="xs:anyURI" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- CDIVN FSM STATES -->
- <xs:simpleType name="cdivn-states-types">
- <xs:list itemType="cdivn-states-type" />
- </xs:simpleType>
- <xs:simpleType name="cdivn-states-type">
- <xs:restriction base="xs:string">
- <xs:enumeration value="IDLE" />
- <xs:enumeration value="DIVERSION_NOTIFIED" />
- <xs:enumeration value="DIVERSION_NOT_NOTIFIED" />
- </xs:restriction>
- </xs:simpleType>
- <!-- DIVERSION REASON INFO -->
-
- <xs:simpleType name="diversion-reason-info-types">
- <xs:list itemType="diversion-reason-info-type" />
- </xs:simpleType>
- <xs:simpleType name="diversion-reason-info-type">
- <xs:restriction base="xs:integer">
- <xs:enumeration value="404" />
- <xs:enumeration value="486" />
- <xs:enumeration value="408" />
- <xs:enumeration value="302" />
- <xs:enumeration value="487" />
- <xs:enumeration value="480" />
- <xs:enumeration value="503" />
- </xs:restriction>
- </xs:simpleType>
- <!-- DIVERSION RULE INFO -->
- <xs:complexType name="diversion-rule-info-type">
- <xs:sequence>
- <xs:element name="diversion-rule" type="xs:string" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- ORIGINATING USER SELECTION CRITERIA -->
- <xs:complexType name="user-selection-criteria-type">
- <xs:sequence>
- <xs:element name="user-info" type="user-info-type"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- DIVERSION REASON SELECTION CRITERIA -->
- <xs:complexType name="diversion-reason-selection-criteria-type">
- <xs:sequence>
- <xs:element name="diversion-reason-info" type="diversion-reason-info-types" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- TIME RANGE SELECTION CRITERIA -->
- <xs:complexType name="time-range-selection-criteria-type">
- <xs:sequence>
- <xs:element name="time-range" type="time-range-type"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- TIME RANGE INFO -->
- <xs:complexType name="time-range-type">
- <xs:sequence>
- <xs:element name="start-time" type="xs:dateTime" />
- <xs:element name="end-time" type="xs:dateTime" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- PRESENCE STATUS SELECTION CRITERIA -->
- <xs:complexType name="presence-status-selection-criteria-type">
- <xs:sequence>
- <xs:element name="presence-status-info" type="presence-status-info-type"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
- <!-- PRESENCE STATUS INFo -->
- <xs:complexType name="presence-status-info-type">
- <xs:sequence>
- <xs:element name="presence-status" type="xs:string" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other"
- processContents="lax" />
- </xs:complexType>
-</xs:schema>
/v3/xsd/CDIVN.xsd
Property changes:
Deleted: svn:keywords
## -1 +0,0 ##
-LastChangedDate
\ No newline at end of property
Index: v3/xsd
===================================================================
--- v3/xsd (revision 634)
+++ v3/xsd (nonexistent)
/v3/xsd
Property changes:
Deleted: svn:ignore
## -1 +0,0 ##
-ttcn3view
Index: v3
===================================================================
--- v3 (revision 634)
+++ v3 (nonexistent)
/v3
Property changes:
Deleted: svn:ignore
## -1 +0,0 ##
-XSDAUX.ttcn
Deleted: svn:mergeinfo
## -0,1 +0,0 ##
Reverse-merged /trunk:r551-577