S6a/Sad

From ss7api.null.ro
Revision as of 17:44, 9 September 2016 by Oana (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

General

This page shows as examples Diameter XMLs for the S6a/S6d interface (3GPP MME/SGSN to HSS interface)
Application id: 16777251
Vendor id: 10415

NOTES::

  • The examples below are not consistent with MME/SGSN/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.

Update Location Command

Direction: MME/SGSN -> HSS

Request:

<UpdateLocationRequest appid="16777251" flags="request,proxiable">
  <DestinationRealm>example.com</DestinationRealm>
  <Username>004100123456789</Username>
  <SupportedFeatures vendor="10415">
    <value id="1">0x03</value>
  </SupportedFeatures>
  <SupportedFeatures vendor="10415">
    <value id="2">sms-in-mme</value>
  </SupportedFeatures>
  <TerminalInfo vendor="10415">
    <IMEI vendor="10415">1234567890</IMEI>
  </TerminalInfo>
  <RATType vendor="10415">e-utran</RATType>
  <ULRFlags vendor="10415">s6a</ULRFlags>
  <UESRVCCCapability vendor="10415">yes</UESRVCCCapability>
  <VisitedPlmnId vendor="10415">040100</VisitedPlmnId>
  <SgsnNumber vendor="10415">123</SgsnNumber>
  <HSoIMSVOPSS vendor="10415">yes</HSoIMSVOPSS>
  <GMLCAddress vendor="10415">192.168.168.12</GMLCAddress>
  <ActiveAPN vendor="10415">
    <MIP6AgentInfo>
      <MIPHomeAgentAddress>fe80::2</MIPHomeAgentAddress>
      <MIP6HomeLinkPrefix>001122</MIP6HomeLinkPrefix>
    </MIP6AgentInfo>
    <ContextIdentifier vendor="10415">100</ContextIdentifier>
    <ServiceSelection>*</ServiceSelection>
    <VisitedNetworkIdentifier vendor="10415">998877</VisitedNetworkIdentifier>
    <SpecificAPNInfo vendor="10415">
      <MIP6AgentInfo>
        <MIPHomeAgentAddress>fe80::2</MIPHomeAgentAddress>
        <MIP6HomeLinkPrefix>001122</MIP6HomeLinkPrefix>
      </MIP6AgentInfo>
      <ServiceSelection>*</ServiceSelection>
      <VisitedNetworkIdentifier vendor="10415">001122</VisitedNetworkIdentifier>
    </SpecificAPNInfo>
  </ActiveAPN>
  <EquivalentPlmnList vendor="10415">
    <VisitedPlmnId vendor="10415">004001</VisitedPlmnId>
    <VisitedPlmnId vendor="10415">004002</VisitedPlmnId>
  </EquivalentPlmnList>
  <MmeNumberForMTSms vendor="10415">1000</MmeNumberForMTSms>
  <SMSRegisterRequest vendor="10415">no-preferrence</SMSRegisterRequest>
</UpdateLocationRequest>

Answer, success:

<UpdateLocationAnswer appid="${appid}" hhident="${hhident}" eeident="${eeident}">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <ULAFlags vendor="10415">mme-reg-mt-sms,64</ULAFlags>
  <ErrorDiagnostic vendor="10415">odb-all-apn</ErrorDiagnostic>
  <SupportedFeatures vendor="10415">
    <value id="1">boic,baoc,regsub</value>
  </SupportedFeatures>
  <SubscriptionData vendor="10415">
    <SubscriberStatus vendor="10415">serviceGranted</SubscriberStatus>
    <MSISDN vendor="10415">40700100100</MSISDN>
    <AMSISDN vendor="10415">40700100101</AMSISDN>
    <STNSR vendor="10415">40700100102</STNSR>
    <ICSIndicator vendor="10415">yes</ICSIndicator>
    <NetworkAccessMode vendor="10415">only-packet</NetworkAccessMode>
    <OperatorDeterminedBarring vendor="10415">odb-all-apn,odb-intrn-og</OperatorDeterminedBarring>
    <HPlmnODB vendor="10415">type1,type3</HPlmnODB>
    <RegionalSubscriptionZoneCode vendor="10415">1122330101</RegionalSubscriptionZoneCode>
    <RegionalSubscriptionZoneCode vendor="10415">1122330102</RegionalSubscriptionZoneCode>
    <AccessRestrictionData vendor="10415">geran,gan,i-hspa-evolution,ho-to-non-3gpp</AccessRestrictionData>
    <APNOIReplacement vendor="10415">apn.example.com</APNOIReplacement>
    <LCSInfo vendor="10415">
      <GMLCNumber vendor="10415">40700100000</GMLCNumber>
      <GMLCNumber vendor="10415">40700100001</GMLCNumber>
      <LCSPrivacyException vendor="10415">
        <SSCode vendor="10415">allLineIdentificationSS</SSCode>
        <SSStatus vendor="10415">active,registered</SSStatus>
        <NotificationToUEUser vendor="10415">locationNotAllowed</NotificationToUEUser>
        <ExternalClient vendor="10415">
          <ClientIdentity vendor="10415">40700200000</ClientIdentity>
          <GMLCRestriction vendor="10415">home-Country</GMLCRestriction>
          <NotificationToUEUser vendor="10415">notifyLocationAllowed</NotificationToUEUser>
        </ExternalClient>
        <ExternalClient vendor="10415">
          <ClientIdentity vendor="10415">40700300000</ClientIdentity>
        </ExternalClient>
        <PlmnClient vendor="10415">anonymousLocation</PlmnClient>
        <ServiceType vendor="10415">
          <ServiceTypeIdentity vendor="10415">3</ServiceTypeIdentity>
          <GMLCRestriction vendor="10415">home-Country</GMLCRestriction>
          <NotificationToUEUser vendor="10415">notifyLocationAllowed</NotificationToUEUser>
        </ServiceType>
        <ServiceType vendor="10415">
          <ServiceTypeIdentity vendor="10415">4</ServiceTypeIdentity>
        </ServiceType>
      </LCSPrivacyException>
      <LCSPrivacyException vendor="10415">
        <SSCode vendor="10415">allCallOfferingSS</SSCode>
        <SSStatus vendor="10415">active,provisioned</SSStatus>
        <PlmnClient vendor="10415">broadcastService</PlmnClient>
      </LCSPrivacyException>
      <MOLR vendor="10415">
        <SSCode vendor="10415">allLineIdentificationSS</SSCode>
        <SSStatus vendor="10415">active,registered</SSStatus>
      </MOLR>
    </LCSInfo>
    <TeleserviceList vendor="10415">
      <TSCode vendor="10415">allDataTeleservices</TSCode>
      <TSCode vendor="10415">allSpeechTransmissionServices</TSCode>
      <TSCode vendor="10415">voiceGroupCall</TSCode>
    </TeleserviceList>
    <CallBarringInfo vendor="10415">
      <SSCode vendor="10415">allLineIdentificationSS</SSCode>
      <SSStatus vendor="10415">active,registered</SSStatus>
    </CallBarringInfo>
    <CallBarringInfo vendor="10415">
      <SSCode vendor="10415">allForwardingSS</SSCode>
      <SSStatus vendor="10415">registered</SSStatus>
    </CallBarringInfo>
    <ChargingCharacteristics vendor="10415">xbcd</ChargingCharacteristics>
    <AMBR vendor="10415">
      <MaxRequestedBandwithUL vendor="10415">20000</MaxRequestedBandwithUL>
      <MaxRequestedBandwithDL vendor="10415">19000</MaxRequestedBandwithDL>
    </AMBR>
    <APNConfigurationProfile vendor="10415">
      <ContextIdentifier vendor="10415">1</ContextIdentifier>
      <AllAPNConfigIncluded vendor="10415">yes</AllAPNConfigIncluded>
      <APNConfiguration vendor="10415">
        <ContextIdentifier vendor="10415">555</ContextIdentifier>
        <ServedPartyIPAddr vendor="10415">1.2.3.4</ServedPartyIPAddr>
        <ServedPartyIPAddr vendor="10415">fe80::12:4</ServedPartyIPAddr>
        <PDNType vendor="10415">ipv4v6</PDNType>
        <ServiceSelection>*</ServiceSelection>
        <EpsSubscribedQosProfile vendor="10415">
           <QosClassIdentifier vendor="10415">5</QosClassIdentifier>
           <AllocationRetentionPriority vendor="10415">
             <PriorityLevel vendor="10415">2</PriorityLevel>
             <PreemptionCapability vendor="10415">yes</PreemptionCapability>
             <PreemptionVulnerability vendor="10415">no</PreemptionVulnerability>
           </AllocationRetentionPriority>
        </EpsSubscribedQosProfile>
        <VPlmnDynamicAddrAllowed vendor="10415">yes</VPlmnDynamicAddrAllowed>
        <MIP6AgentInfo>
          <MIPHomeAgentAddress>fe80::ad</MIPHomeAgentAddress>
        </MIP6AgentInfo>
        <VisitedNetworkIdentifier vendor="10415">1234567890</VisitedNetworkIdentifier>
        <PDNGWAllocationType vendor="10415">static</PDNGWAllocationType>
        <ChargingCharacteristics vendor="10415">gigi</ChargingCharacteristics>
        <AMBR vendor="10415">
          <MaxRequestedBandwithUL vendor="10415">550000</MaxRequestedBandwithUL>
          <MaxRequestedBandwithDL vendor="10415">519000</MaxRequestedBandwithDL>
        </AMBR>
        <SIPTOPermission vendor="10415">yes</SIPTOPermission>
        <LIPAPermission vendor="10415">lipa-only</LIPAPermission>
        <RestorationPriority vendor="10415">3</RestorationPriority>
      </APNConfiguration>
    </APNConfigurationProfile>
    <RATFreqSelPriorityID vendor="10415">5</RATFreqSelPriorityID>
    <TraceData vendor="10415">
      <TraceReference vendor="10415">004011998877</TraceReference>
      <TraceDepth vendor="10415">medium</TraceDepth>
      <TraceNEList vendor="10415">eNB,sgw</TraceNEList>
      <TraceInterfaceList vendor="10415">
        <mme>s13,s1-mme</mme>
        <eir>s13</eir>
      </TraceInterfaceList>
      <TraceEventList vendor="10415">
        <sgw>pdn-connectionCreation</sgw>
        <pgw>pdn-connectionTermination</pgw>
        <mme>handover</mme>
      </TraceEventList>
      <OMCId vendor="10415">001122</OMCId>
      <TraceCollectionEntity vendor="10415">192.168.168.1</TraceCollectionEntity>
      <MDTConfiguration vendor="10415">
        <JobType vendor="10415">rlf-reports-only</JobType>
        <AreaScope vendor="10415">
          <CellGlobalIdentity vendor="10415">
            <PlmnIdentity>12345</PlmnIdentity>
            <LAC>1122</LAC>
            <CI>123</CI>
          </CellGlobalIdentity>
          <EutranCellGlobalIdentity vendor="10415">
            <PlmnIdentity>123456</PlmnIdentity>
            <CellIdentity>1234567</CellIdentity>
          </EutranCellGlobalIdentity>
          <RAI vendor="10415">
            <PlmnIdentity>12345</PlmnIdentity>
            <LAC>1122</LAC>
            <RAC>99</RAC>
          </RAI>
          <LAI vendor="10415">
            <PlmnIdentity>123456</PlmnIdentity>
            <LAC>1122</LAC>
          </LAI>
          <TAI vendor="10415">
            <PlmnIdentity>123456</PlmnIdentity>
            <TAC>1122</TAC>
          </TAI>
        </AreaScope>
        <ListOfMeasurements vendor="10415">
          <lte>m2</lte>
          <umts>m7-for-ul,m3</umts>
        </ListOfMeasurements>
        <ReportingTrigger vendor="10415">periodical</ReportingTrigger>
        <ReportInterval vendor="10415">6</ReportInterval>
        <ReportAmount vendor="10415">7</ReportAmount>
        <ThresholdRSRP vendor="10415">10</ThresholdRSRP>
        <ThresholdRSRQ vendor="10415">10</ThresholdRSRQ>
        <LoggingInterval vendor="10415">7</LoggingInterval>
        <LoggingDuration vendor="10415">5</LoggingDuration>
        <MeasurementPeriodUMTS vendor="10415">13</MeasurementPeriodUMTS>
        <MeasurementPeriodLTE vendor="10415">6</MeasurementPeriodLTE>
        <CollectionPeriodRrmLTE vendor="10415">5</CollectionPeriodRrmLTE>
        <CollectionPeriodRrmUMTS vendor="10415">5</CollectionPeriodRrmUMTS>
        <PositioningMethod vendor="10415">gnss,e-cell-id</PositioningMethod>
        <MeasurementQuantity vendor="10415">pathloss</MeasurementQuantity>
        <EventThreshold1F vendor="10415">0</EventThreshold1F>
        <EventThreshold1I vendor="10415">-5</EventThreshold1I>
      </MDTConfiguration>
    </TraceData>
    <GPRSSubscriptionData vendor="10415">
      <CompleteDataList vendor="10415">yes</CompleteDataList>
      <PDPContext vendor="10415">
        <ContextIdentifier vendor="10415">99</ContextIdentifier>
        <PDPType vendor="10415">11223344</PDPType>
        <PDPAddress vendor="10415">1.2.3.4</PDPAddress>
        <QosSubscribed vendor="10415">998877</QosSubscribed>
        <ServiceSelection>*.example.com</ServiceSelection>
        <ExtPDPType vendor="10415">11223355</ExtPDPType>
        <ExtPDPAddress vendor="10415">1.2.3.5</ExtPDPAddress>
      </PDPContext>
      <PDPContext vendor="10415">
        <ContextIdentifier vendor="10415">100</ContextIdentifier>
        <PDPType vendor="10415">11223366</PDPType>
        <QosSubscribed vendor="10415">998866</QosSubscribed>
        <ServiceSelection>*.example.com</ServiceSelection>
      </PDPContext>
    </GPRSSubscriptionData>
    <CsgSubscriptionData vendor="10415">
      <CsgId vendor="10415">345</CsgId>
      <ExpirationDate vendor="10415">1234567890</ExpirationDate>
      <ServiceSelection>*</ServiceSelection>
      <VisitedPlmnId vendor="10415">045500</VisitedPlmnId>
    </CsgSubscriptionData>
    <RoamingRestrictUnsuppFeature vendor="10415"/>
    <SubscribedPeriodicRAUTAUTimer vendor="10415">120</SubscribedPeriodicRAUTAUTimer>
    <MPSPriority vendor="10415">cs,eps</MPSPriority>
    <VPlmnLIPAAllowed vendor="10415">yes</VPlmnLIPAAllowed>
    <RelayNodeIndicator vendor="10415">no</RelayNodeIndicator>
    <MDTUserConsent vendor="10415">yes</MDTUserConsent>
    <SubscribedVSRVCC vendor="10415"/>
    <SubscriptionDataFlags vendor="10415">ps-and-sms-only,sms-in-sgsn</SubscriptionDataFlags>
  </SubscriptionData>
</UpdateLocationAnswer>

Answer, failure, unknown subscriber:

<UpdateLocationAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <ExperimentalResult>
    <value vendor="10415">user-unknown</value>
  </ExperimentalResult>
</UpdateLocationAnswer> 

Cancel Location Command

Direction: HSS -> MME/SGSN

Request:

<CancelLocationRequest appid="16777251" flags="request,proxiable">
  <DestinationHost>mme.example.com</DestinationHost>
  <DestinationRealm>example.com</DestinationRealm>
  <Username>004100123456789</Username>
  <CancellationType vendor="10415">subscription-withdrawal</CancellationType>
  <CLRFlags vendor="10415">s6a</CLRFlags>
</CancelLocationRequest>

Answer:

<CancelLocationAnswer appid="16777251" flags="proxiable" hhident="${hhident}" eeident="${eeident}">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
</CancelLocationAnswer>

Insert Subscriber Data Command

Direction: HSS -> MME/SGSN

Request:

<InsertSubscriberDataRequest appid="16777251" flags="request,proxiable">
  <DestinationHost>mme.example.com</DestinationHost>
  <DestinationRealm>example.com</DestinationRealm>
  <Username>004100123456789</Username>
  <SubscriptionData vendor="10415">
    <MSISDN vendor="10415">40700100100</MSISDN>
  </SubscriptionData>
  <IDRFlags vendor="10415">eps-user-state-req,eps-loc-info-req,local-tz-req,rat-type-req</IDRFlags>
</InsertSubscriberDataRequest>

Answer:

<InsertSubscriberDataAnswer appid="16777251" flags="proxiable" hhident="${hhident}" eeident="${eeident}">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <IMSVOPSSS vendor="10415">yes</IMSVOPSSS>
  <LastUEActivityTime vendor="10415">12345678</LastUEActivityTime>
  <RATType vendor="10415">e-utran</RATType>
  <IDAFlags vendor="10415">network-node-area-restricted</IDAFlags>
  <EpsUserState vendor="10415">
    <MmeUserState vendor="10415">
      <UserState vendor="10415">attached-reachable-for-paging</UserState>
    </MmeUserState>
  </EpsUserState>
  <EpsLocationInfo vendor="10415">
    <MmeLocationInfo vendor="10415">
      <EutranCellGlobalIdentity vendor="10415">
        <PlmnIdentity>123456</PlmnIdentity>
        <CellIdentity>1234567</CellIdentity>
      </EutranCellGlobalIdentity>
      <GeographicalInfo vendor="10415">0001020304050607</GeographicalInfo>
      <GeodeticInfo vendor="10415">00010203040506070809</GeodeticInfo>
      <CurrentLocationRetrieved vendor="10415">active-loc-retrieval</CurrentLocationRetrieved>
      <AgeOfLocationInfo vendor="10415">7</AgeOfLocationInfo>
      <UserCsgInfo vendor="10415">
        <CsgId vendor="10415">345</CsgId>
        <CsgAccessMode vendor="10415">closed</CsgAccessMode>
        <CsgMembershipInd vendor="10415">yes</CsgMembershipInd>
      </UserCsgInfo>
    </MmeLocationInfo>
    <SgsnLocationInfo vendor="10415">
      <SAI vendor="10415">
        <PlmnIdentity>12345</PlmnIdentity>
        <LAC>1122</LAC>
        <SAC>99</SAC>
      </SAI>
    </SgsnLocationInfo>
  </EpsLocationInfo>
  <LocalTimeZone vendor="10415">
    <TimeZone vendor="10415">+2</TimeZone>
    <DaylightSavingTime vendor="10415">1</DaylightSavingTime>
  </LocalTimeZone>
  <IDAFlags vendor="10415">network-node-area-restricted</IDAFlags>
</InsertSubscriberDataAnswer>

Delete Subscriber Data Command

Direction: HSS -> MME/SGSN

Request:

<DeleteSubscriberDataRequest appid="16777251" flags="request,proxiable">
  <DestinationHost>mme.example.com</DestinationHost>
  <DestinationRealm>example.com</DestinationRealm>
  <Username>004100123456789</Username>
  <DSRFlags vendor="10415">sms-withdrawal,trace-data-withdrawal</DSRFlags>
  <TraceReference vendor="10415">004011998877</TraceReference>
  <TSCode vendor="10415">allDataTeleservices</TSCode>
  <TSCode vendor="10415">allSpeechTransmissionServices</TSCode>
  <SSCode vendor="10415">allLineIdentificationSS</SSCode>
  <SSCode vendor="10415">allCallOfferingSS</SSCode>
</DeleteSubscriberDataRequest>

Answer:

<DeleteSubscriberDataAnswer appid="16777251" flags="proxiable" hhident="${hhident}" eeident="${eeident}">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <DSAFlags vendor="10415">network-node-area-restricted</DSAFlags>
</DeleteSubscriberDataAnswer>

Authentication Info Command

Direction: MME/SGSN -> HSS

Request:

<AuthenticationInfoRequest appid="16777251" flags="request,proxiable">
  <DestinationRealm>example.com</DestinationRealm>
  <Username>004100123456789</Username>
  <SupportedFeatures vendor="10415">
    <value id="2">sms-in-mme</value>
  </SupportedFeatures>
  <RequestedEutranAuthInfo vendor="10415">
    <NumberOfRequestedVectors vendor="10415">5</NumberOfRequestedVectors>
    <ImmediateResponsePreferred vendor="10415"/>
    <ReSynchronisationInfo vendor="10415">001122</ReSynchronisationInfo>
  </RequestedEutranAuthInfo>
  <RequestedUtranGeranAuthInfo vendor="10415">
    <NumberOfRequestedVectors vendor="10415">3</NumberOfRequestedVectors>
    <ReSynchronisationInfo vendor="10415">001122</ReSynchronisationInfo>
  </RequestedUtranGeranAuthInfo>
  <VisitedPlmnId vendor="10415">040100</VisitedPlmnId>
</AuthenticationInfoRequest>

Answer, success:

<AuthenticationInfoAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <VendorSpecificApplicationId flags="mandatory">
    <value vendor="10415" auth="true">16777251</value>
  </VendorSpecificApplicationId>
  <ResultCode flags="mandatory">2001</ResultCode>
  <ErrorDiagnostic flags="vendor" vendor="10415">odb-HPLMN-APN</ErrorDiagnostic>
  <SupportedFeatures flags="vendor" vendor="10415">
    <value vendor="10415" id="1">baoc,boic</value>
  </SupportedFeatures>
  <AuthenticationInfo flags="vendor,mandatory" vendor="10415">
    <EutranVector flags="vendor,mandatory" vendor="10415">
      <ItemNumber flags="vendor,mandatory" vendor="10415">1</ItemNumber>
      <RAND flags="vendor,mandatory" vendor="10415">01020304111213142122232441424344</RAND>
      <XRES flags="vendor,mandatory" vendor="10415">12345678</XRES>
      <AUTN flags="vendor,mandatory" vendor="10415">12345678</AUTN>
      <KASME flags="vendor,mandatory" vendor="10415">12345678</KASME>
    </EutranVector>
    <EutranVector flags="vendor,mandatory" vendor="10415">
      <ItemNumber flags="vendor,mandatory" vendor="10415">2</ItemNumber>
      <RAND flags="vendor,mandatory" vendor="10415">01020304111213142122232441424344</RAND>
      <XRES flags="vendor,mandatory" vendor="10415">00345678</XRES>
      <AUTN flags="vendor,mandatory" vendor="10415">00345678</AUTN>
      <KASME flags="vendor,mandatory" vendor="10415">00345678</KASME>
    </EutranVector>
    <UtranVector flags="vendor,mandatory" vendor="10415">
      <RAND flags="vendor,mandatory" vendor="10415">01020304111213142122232441424344</RAND>
      <XRES flags="vendor,mandatory" vendor="10415">22345678</XRES>
      <AUTN flags="vendor,mandatory" vendor="10415">22345678</AUTN>
      <ConfidentialityKey flags="vendor,mandatory" vendor="10415">22345678</ConfidentialityKey>
      <IntegrityKey flags="vendor,mandatory" vendor="10415">22345678</IntegrityKey>
    </UtranVector>
    <GeranVector flags="vendor,mandatory" vendor="10415">
      <RAND flags="vendor,mandatory" vendor="10415">01020304111213142122232441424344</RAND>
      <SRES flags="vendor,mandatory" vendor="10415">34567811</SRES>
      <Kc flags="vendor,mandatory" vendor="10415">34567811</Kc>
    </GeranVector>
  </AuthenticationInfo>
</AuthenticationInfoAnswer>

Answer, failure, auth data not found:

<AuthenticationInfoAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <ExperimentalResult>
    <value vendor="10415">auth-data-unavailable</value>
  </ExperimentalResult>
</AuthenticationInfoAnswer>

Purge UE Command

Direction: MME/SGSN -> HSS

Request:

<PurgeUERequest appid="16777251" flags="request,proxiable">
  <Username>004100123456789</Username>
  <DestinationRealm>example.com</DestinationRealm>
  <PURFlags vendor="10415">ue-purged-in-mme,ue-purged-in-sgsn</PURFlags>
</PurgeUERequest>

Answer, success:

<PurgeUEAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <PUAFlags vendor="10415">freeze-m-tmsi,freeze-p-tmsi</PUAFlags>
  <SupportedFeatures vendor="10415">
    <value id="1">boic,baoc,regsub</value>
  </SupportedFeatures>
</PurgeUEAnswer>

Answer, failure, requesting node is unknown:

<PurgeUEAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <ExperimentalResult>
    <value vendor="10415">unknown-serving-node</value>
  </ExperimentalResult>
</PurgeUEAnswer>

Reset Command

Direction: HSS -> MME/SGSN

Request:

<ResetRequest appid="16777251" flags="request,proxiable">
  <DestinationHost>mme.example.com</DestinationHost>
  <DestinationRealm>example.com</DestinationRealm>
  <UserId vendor="10415">004100</UserId>
</ResetRequest>

Answer:

<ResetAnswer appid="16777251" flags="proxiable" hhident="${hhident}" eeident="${eeident}">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
</ResetAnswer>

Notify Command

Direction: MME/SGSN -> HSS

Request:

<NotifyRequest appid="16777251" flags="request,proxiable">
  <Username>004100123456789</Username>
  <DestinationRealm>example.com</DestinationRealm>
  <SupportedFeatures vendor="10415">
    <value id="2">sms-in-mme</value>
  </SupportedFeatures>
  <TerminalInfo vendor="10415">
    <IMEI vendor="10415">1234567890</IMEI>
  </TerminalInfo>
  <MIP6AgentInfo>
    <MIPHomeAgentAddress>fe80::2</MIPHomeAgentAddress>
    <MIP6HomeLinkPrefix>001122</MIP6HomeLinkPrefix>
  </MIP6AgentInfo>
  <VisitedNetworkIdentifier vendor="10415">998877</VisitedNetworkIdentifier>
  <ContextIdentifier vendor="10415">100</ContextIdentifier>
  <ServiceSelection>*</ServiceSelection>
  <AlertReason vendor="10415">ue-memory-available</AlertReason>
  <UESRVCCCapability vendor="10415">yes</UESRVCCCapability>
  <NORFlags vendor="10415">ue-reachable-from-mme,ready-sm-from-mme</NORFlags>
  <HSoIMSVOPSS vendor="10415">yes</HSoIMSVOPSS>
</NotifyRequest>

Answer, success:

<NotifyAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
</NotifyAnswer>

Answer, failure, unknown node:

<NotifyAnswer appid="16777251" hhident="${hhident}" eeident="${eeident}" flags="proxiable">
  <SessionId>${session_id}</SessionId>
  <AuthSessionState>1</AuthSessionState>
  <ExperimentalResult>
    <value vendor="10415">unknown-serving-node</value>
  </ExperimentalResult>
</NotifyAnswer>

References

  • RFC 3588 - Diameter Base Protocol
  • RFC 6733 - Diameter Base Protocol
  • RFC 5516 - Diameter Command Code Registration for the Third Generation Partnership Project (3GPP) Evolved Packet System (EPS)
  • ETSI TS 129.272 - MME and SGSN related interfaces based on Diameter protocol (S6a/S6d, S7a/S7d, S13/S13')
Personal tools
Namespaces

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