Cx/Dx
From ss7api.null.ro
General
This page shows as examples Diameter XMLs for the Cx/Dx interface
Application id: 16777216
Vendor id: 10415
NOTES::
- The examples below are not consistent with CSCF/HSS functionality. Their parameters are present here to be seen.
- In the following examples a ${str} means its value must be reflected from received message. E.g. ${hhident} must be set from received message hhident parameter.
UserAuthorization
Request
General schema:
<UserAuthorizationRequest appid="16777216" code="300" shortName="UAR" flags="request,proxiable" internal_flags="add-session-id,no-session-state,auth-app" vendor="10415" have_unk_avps="true">
<SessionId code="263" format="str" flags_must="mandatory" flags_must_not="vendor" occurence="fixed,required" minOccurs="1" maxOccurs="1"/>
<VendorSpecificApplicationId code="260" format="grouped" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1" have_unk_avps="false">
<VendorId code="266" format="uint32" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="4294967295"/>
<AcctApplicationId code="259" format="uint32" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1"/>
<AuthApplicationId code="258" format="uint32" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1"/>
</VendorSpecificApplicationId>
<AuthSessionState code="277" format="enum" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1"/>
<OriginHost code="264" format="diamident" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1"/>
<OriginRealm code="296" format="diamident" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1"/>
<DestinationHost code="293" format="diamident" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1"/>
<DestinationRealm code="283" format="diamident" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1"/>
<Username code="1" format="str" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1"/>
<SupportedFeatures vendor="10415" code="628" format="grouped" flags_must="vendor" minOccurs="0" maxOccurs="4294967295" have_unk_avps="true">
<dictionary_bits>
<list_id_1>0=sifc 1=alias 2=ims-restoration</list_id_1>
</dictionary_bits>
<VendorId code="266" format="uint32" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="1"/>
<FeatureListId vendor="10415" code="629" format="uint32" flags_must="vendor" flags_must_not="mandatory" occurence="required" minOccurs="1" maxOccurs="1"/>
<FeatureList vendor="10415" code="630" format="uint32" flags_must="vendor" flags_must_not="mandatory" occurence="required" minOccurs="1" maxOccurs="1"/>
</SupportedFeatures>
<PublicIdentity vendor="10415" code="601" format="str" flags_must="vendor,mandatory" occurence="required" minOccurs="1" maxOccurs="1"/>
<VisitedNetworkIdentifier vendor="10415" code="600" format="raw" flags_must="vendor,mandatory" occurence="required" minOccurs="1" maxOccurs="1"/>
<UserAuthzType vendor="10415" code="623" format="enum" flags_must="vendor" flags_must_not="mandatory" minOccurs="0" maxOccurs="1">
<dictionary>0=register 1=unregister 2=register-and-caps</dictionary>
</UserAuthzType>
<UARFlags vendor="10415" code="637" format="flags32" flags_must="vendor" flags_must_not="mandatory" minOccurs="0" maxOccurs="1">
<dictionary_bits>0=emergency-register</dictionary_bits>
</UARFlags>
</UserAuthorizationRequest>
Example:
<UserAuthorizationRequest appid="16777216" flags="request"> <DestinationHost>destination.ims.mnc001.mcc001.3gppnetwork.org</DestinationHost> <DestinationRealm>ims.mnc001.mcc001.3gppnetwork.org</DestinationRealm> <Username>0010100000000001@ims.mnc001.mcc001.3gppnetwork.org</Username> <SupportedFeatures vendor="10415"> <value vendor="10415" id="1">sifc,alias,ims-restoration</value> </SupportedFeatures> <PublicIdentity vendor="10415">tel:+882800001</PublicIdentity> <VisitedNetworkIdentifier vendor="10415">6578616d706c652e636f6d</VisitedNetworkIdentifier> <UserAuthzType vendor="10415">register</UserAuthzType> <UARFlags vendor="10415">emergency-register</UARFlags> </UserAuthorizationRequest>