Difference between revisions of "Cx/Dx"

From ss7api.null.ro
Jump to: navigation, search
(UserAuthorization)
Line 60: Line 60:
 
   <UARFlags vendor="10415">emergency-register</UARFlags>
 
   <UARFlags vendor="10415">emergency-register</UARFlags>
 
  </UserAuthorizationRequest>
 
  </UserAuthorizationRequest>
 +
 +
=== Answer ===
 +
 +
General schema:
 +
 +
<UserAuthorizationAnswer appid="16777216" code="300" shortName="UAA" flags="proxiable" internal_flags="add-session-id,no-session-state,need-result,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>
 +
  <ResultCode code="268" format="uint32" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1"/>
 +
  <ExperimentalResult code="297" format="grouped" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1" have_unk_avps="false">
 +
    <VendorId code="266" format="uint32" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="4294967295"/>
 +
    <ExperimentalResultCode code="298" format="uint32" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="4294967295"/>
 +
  </ExperimentalResult>
 +
  <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"/>
 +
  <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>
 +
  <ServerName vendor="10415" code="602" format="str" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="1"/>
 +
  <ServerCaps vendor="10415" code="603" format="grouped" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="1" have_unk_avps="true">
 +
    <MandatoryCaps vendor="10415" code="604" format="uint32" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="4294967295"/>
 +
    <OptionalCaps vendor="10415" code="605" format="uint32" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="4294967295"/>
 +
    <ServerName vendor="10415" code="602" format="str" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="4294967295"/>
 +
  </ServerCaps>
 +
</UserAuthorizationAnswer>
 +
 +
Example:
 +
<UserAuthorizationAnswer appid="16777216" hhident="${hhident}" eeident="${eeident}">
 +
  <SessionId flags="mandatory">${session_id}</SessionId>
 +
  <AuthSessionState flags="mandatory">${session_state}</AuthSessionState>
 +
  <SupportedFeatures vendor="10415">
 +
    <value vendor="10415" id="1">sifc,alias,ims-restoration</value>
 +
  </SupportedFeatures>
 +
  <ServerName vendor="10415">utf-8.string</ServerName>
 +
  <ServerCaps vendor="10415">
 +
    <MandatoryCaps vendor="10415">0</MandatoryCaps>
 +
    <OptionalCaps vendor="10415">0</OptionalCaps>
 +
    <ServerName vendor="10415">utf-8.string</ServerName>
 +
  </ServerCaps>
 +
</UserAuthorizationAnswer>

Revision as of 16:57, 10 March 2022

Contents

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>

Answer

General schema:

<UserAuthorizationAnswer appid="16777216" code="300" shortName="UAA" flags="proxiable" internal_flags="add-session-id,no-session-state,need-result,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>
 <ResultCode code="268" format="uint32" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1"/>
 <ExperimentalResult code="297" format="grouped" flags_must="mandatory" flags_must_not="vendor" minOccurs="0" maxOccurs="1" have_unk_avps="false">
   <VendorId code="266" format="uint32" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="4294967295"/>
   <ExperimentalResultCode code="298" format="uint32" flags_must="mandatory" flags_must_not="vendor" occurence="required" minOccurs="1" maxOccurs="4294967295"/>
 </ExperimentalResult>
 <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"/>
 <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>
 <ServerName vendor="10415" code="602" format="str" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="1"/>
 <ServerCaps vendor="10415" code="603" format="grouped" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="1" have_unk_avps="true">
   <MandatoryCaps vendor="10415" code="604" format="uint32" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="4294967295"/>
   <OptionalCaps vendor="10415" code="605" format="uint32" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="4294967295"/>
   <ServerName vendor="10415" code="602" format="str" flags_must="vendor,mandatory" minOccurs="0" maxOccurs="4294967295"/>
 </ServerCaps>
</UserAuthorizationAnswer>

Example:

<UserAuthorizationAnswer appid="16777216" hhident="${hhident}" eeident="${eeident}">
 <SessionId flags="mandatory">${session_id}</SessionId>
 <AuthSessionState flags="mandatory">${session_state}</AuthSessionState>
 <SupportedFeatures vendor="10415">
   <value vendor="10415" id="1">sifc,alias,ims-restoration</value>
 </SupportedFeatures>
 <ServerName vendor="10415">utf-8.string</ServerName>
 <ServerCaps vendor="10415">
   <MandatoryCaps vendor="10415">0</MandatoryCaps>
   <OptionalCaps vendor="10415">0</OptionalCaps>
   <ServerName vendor="10415">utf-8.string</ServerName>
 </ServerCaps>
</UserAuthorizationAnswer>
Personal tools
Namespaces

Variants
Actions
MAP & CAMEL XML Interface
Diameter XML Interface
MAP and CAMEL operations
Diameter interfaces
Examples
Resources
Navigation
Toolbox