65,10 → 65,13 |
extension "File:../xsd/CDIVN.xsd" |
} |
|
import from X_3gpp_ns_cw_1_0 language "XSD" all |
with { |
extension "File:../xsd/cw.xsd" |
} |
|
|
|
|
|
template charstring m_international_number_format := pattern "\\+\d+";//pattern "\+\d+"; |
|
495,6 → 498,11 |
conference_type := p_confInfo |
}; |
|
template XmlBody m_XmlBody_CW(template Ims_cw p_cw) := |
{ |
cw := p_cw |
}; |
|
template XmlBody m_XmlBody_CUG(template Cug p_cug) := |
{ |
cug := p_cug |
678,6 → 686,44 |
} |
}//end group CUGTemplates |
|
group CWTemplates { |
|
template Ims_cw m_CW(template TEmptyType p_cwi) := { |
anyAttributes := omit, |
communication_waiting_indication := p_cwi, |
elem := omit |
} |
|
template Cug m_CW2 ( |
template CugRequestType p_crt, |
template NetworkIdentityType p_nit, |
template SixteenbitType p_cibc, |
template TwoBitType p_cci |
):= { |
active := omit, |
anyAttributes := omit, |
cugCallOperation := p_crt, |
networkIndicator := p_nit, |
cugInterlockBinaryCode := p_cibc, |
cugCommunicationIndicator :=p_cci |
} |
|
template Cug mw_CW ( |
template CugRequestType p_crt, |
template NetworkIdentityType p_nit, |
template SixteenbitType p_cibc, |
template TwoBitType p_cci |
):= { |
active := omit, |
anyAttributes := omit, |
cugCallOperation := p_crt, |
networkIndicator := p_nit, |
cugInterlockBinaryCode := p_cibc, |
cugCommunicationIndicator := p_cci |
} |
|
}//end group CWTemplates |
|
group MCIDTemplates { |
|
template Mcid m_mcid_request_mcidIndicatorTrue := |
1500,7 → 1546,29 |
contentLength := {fieldName := CONTENT_LENGTH_E, len:= f_MessageBodyLength(valueof(p_mb))}, |
contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_mimeMultipart} |
} |
} |
} |
|
/* |
* |
* @desc INVITE message exchanged at Mw |
* |
*/ |
template INVITE_Request m_INVITE_Request_IMS_noBody |
(SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, |
Via p_via, Contact p_contact, template Require p_require, |
template Route p_route, template RecordRoute p_recordRoute, template Supported p_supported, template PChargingVector p_pChargingVector) |
modifies m_INVITE_Request_Base |
:= |
{ |
msgHeader := |
{ |
require := p_require, |
pChargingVector := p_pChargingVector, |
recordRoute := p_recordRoute, |
route := p_route, |
supported := p_supported |
} |
} |
|
/* |
* |
2318,6 → 2386,19 |
mw_MBody_MIMESdpXml(?, mw_XmlBody_CUG(p_cug))) |
} |
|
template INVITE_Request mw_INVITE_Request_IMS_noCug (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via ) modifies mw_INVITE_Request_Base |
:= |
{ |
msgHeader := { |
pChargingVector := p_pChargingVector, |
recordRoute := p_recordRoute, |
route := p_route, |
via := p_via |
}, |
messageBody := (mw_MBody_XML(complement(mw_XmlBody_CUG(?))), |
mw_MBody_MIMESdpXml(?, complement(mw_XmlBody_CUG(?)) )) |
} |
|
template INVITE_Request mw_INVITE_Request_IMS_pstn (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via, template PSTN_transit p_pstn ) modifies mw_INVITE_Request_Base |
:= |
{ |