Loading ttcn/LibIms_Templates.ttcn +54 −0 Original line number Original line Diff line number Diff line Loading @@ -31,6 +31,11 @@ module LibIms_Templates extension "File:../xsd/ResourceList.xsd" extension "File:../xsd/ResourceList.xsd" } } import from urn_ietf_params_xml_ns_reginfo language "XSD" all except{type Contact} with { extension "File:../xsd/regInfo.xsd" } import from http_uri_etsi_org_ngn_params_xml_simservs_xcap language "XSD" all import from http_uri_etsi_org_ngn_params_xml_simservs_xcap language "XSD" all with { with { extension "File:../xsd/SupplementaryServices.xsd" extension "File:../xsd/SupplementaryServices.xsd" Loading Loading @@ -553,6 +558,31 @@ group XMLTemplates { // cdivn := p_cdivn // cdivn := p_cdivn // }; // }; template XmlBody m_XmlBody_Reginfo(template Reginfo p_regInfo) := { regInfo := p_regInfo }; template MessageBody m_messageBodyXML(template XmlBody p_xmlBody) := { xmlBody := p_xmlBody }; template Reginfo m_reginfo (template XSDAUX.anyURI p_user):= { 0, full, {m_registration(p_user)}, omit } template Registration m_registration (template XSDAUX.anyURI p_user):= { p_user, // XSDAUX.anyURI aor "", // XSDAUX.string id init, //enumerated {active,init,terminated} state, omit, // record of Contact contact_list optional, omit // record of anytype elem_list optional } template XmlBody mw_XmlBody_ConfInfo(template Conference_type p_confInfo) := template XmlBody mw_XmlBody_ConfInfo(template Conference_type p_confInfo) := { { conference := p_confInfo conference := p_confInfo Loading Loading @@ -588,6 +618,11 @@ group XMLTemplates { resourceLists := p_resourceLists resourceLists := p_resourceLists }; }; template XmlBody mw_XmlBody_Reginfo(template Reginfo p_regInfo) := { regInfo := p_regInfo }; }// end group XMLTemplates }// end group XMLTemplates group ACR_CBTemplates { group ACR_CBTemplates { Loading Loading @@ -1947,6 +1982,25 @@ group request_send { } } template NOTIFY_Request m_NOTIFY_Request_Xml_IMS_RegInfo (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, Via p_via, Contact p_contact, template MessageBody p_mb ) modifies m_NOTIFY_Request_Base := { msgHeader := { contact := p_contact, contentLength := {fieldName := CONTENT_LENGTH_E, len:= f_MessageBodyLength(valueof(p_mb))}, contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_xmlreginfoAplication}, event := m_Event_reg, subscriptionState:=m_SubscriptionState_active, expires:={fieldName:=EXPIRES_E, deltaSec:="3600"} }, messageBody := p_mb } template PRACK_Request m_PRACK_Request_sdp (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, template PRACK_Request m_PRACK_Request_sdp (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, Via p_via, RAck p_RAck, template MessageBody p_mb) From p_from, To p_to, Via p_via, RAck p_RAck, template MessageBody p_mb) modifies m_PRACK_Request_Base := modifies m_PRACK_Request_Base := Loading Loading
ttcn/LibIms_Templates.ttcn +54 −0 Original line number Original line Diff line number Diff line Loading @@ -31,6 +31,11 @@ module LibIms_Templates extension "File:../xsd/ResourceList.xsd" extension "File:../xsd/ResourceList.xsd" } } import from urn_ietf_params_xml_ns_reginfo language "XSD" all except{type Contact} with { extension "File:../xsd/regInfo.xsd" } import from http_uri_etsi_org_ngn_params_xml_simservs_xcap language "XSD" all import from http_uri_etsi_org_ngn_params_xml_simservs_xcap language "XSD" all with { with { extension "File:../xsd/SupplementaryServices.xsd" extension "File:../xsd/SupplementaryServices.xsd" Loading Loading @@ -553,6 +558,31 @@ group XMLTemplates { // cdivn := p_cdivn // cdivn := p_cdivn // }; // }; template XmlBody m_XmlBody_Reginfo(template Reginfo p_regInfo) := { regInfo := p_regInfo }; template MessageBody m_messageBodyXML(template XmlBody p_xmlBody) := { xmlBody := p_xmlBody }; template Reginfo m_reginfo (template XSDAUX.anyURI p_user):= { 0, full, {m_registration(p_user)}, omit } template Registration m_registration (template XSDAUX.anyURI p_user):= { p_user, // XSDAUX.anyURI aor "", // XSDAUX.string id init, //enumerated {active,init,terminated} state, omit, // record of Contact contact_list optional, omit // record of anytype elem_list optional } template XmlBody mw_XmlBody_ConfInfo(template Conference_type p_confInfo) := template XmlBody mw_XmlBody_ConfInfo(template Conference_type p_confInfo) := { { conference := p_confInfo conference := p_confInfo Loading Loading @@ -588,6 +618,11 @@ group XMLTemplates { resourceLists := p_resourceLists resourceLists := p_resourceLists }; }; template XmlBody mw_XmlBody_Reginfo(template Reginfo p_regInfo) := { regInfo := p_regInfo }; }// end group XMLTemplates }// end group XMLTemplates group ACR_CBTemplates { group ACR_CBTemplates { Loading Loading @@ -1947,6 +1982,25 @@ group request_send { } } template NOTIFY_Request m_NOTIFY_Request_Xml_IMS_RegInfo (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, Via p_via, Contact p_contact, template MessageBody p_mb ) modifies m_NOTIFY_Request_Base := { msgHeader := { contact := p_contact, contentLength := {fieldName := CONTENT_LENGTH_E, len:= f_MessageBodyLength(valueof(p_mb))}, contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_xmlreginfoAplication}, event := m_Event_reg, subscriptionState:=m_SubscriptionState_active, expires:={fieldName:=EXPIRES_E, deltaSec:="3600"} }, messageBody := p_mb } template PRACK_Request m_PRACK_Request_sdp (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, template PRACK_Request m_PRACK_Request_sdp (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, Via p_via, RAck p_RAck, template MessageBody p_mb) From p_from, To p_to, Via p_via, RAck p_RAck, template MessageBody p_mb) modifies m_PRACK_Request_Base := modifies m_PRACK_Request_Base := Loading