Files
docker-open5gs-prod-999700/pyhss/default_sh_user_data.xml
2025-08-21 01:09:37 +00:00

30 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--This is the default iFC template used by PyHSS, variables come from the Jinja2 template passed inside diameter.py where you can additional variables if required -->
<Sh-Data>
<IMSPrivateUserIdentity>{{ Sh_template_vars['imsi'] }}@ims.mnc{{ Sh_template_vars['mnc'] }}.mcc{{ Sh_template_vars['mcc'] }}.3gppnetwork.org</IMSPrivateUserIdentity>
<!-- This provides the Public Identifiers to the Application Server -->
<PublicIdentifiers>
<IMSPublicIdentity>sip:{{ Sh_template_vars['msisdn'] }}@ims.mnc{{ Sh_template_vars['mnc'] }}.mcc{{ Sh_template_vars['mcc'] }}.3gppnetwork.org</IMSPublicIdentity>
<MSISDN>{{ Sh_template_vars['msisdn'] }}</MSISDN>
</PublicIdentifiers>
<!-- This optional extension provides the Location of the serving MME for this subscriber and the TAC for the ULA -->
<Extension>
<EPSLocationInformation>{% if Sh_template_vars['serving_mme'] is not none %}
<E-UTRANCellGlobalId></E-UTRANCellGlobalId>
<TrackingAreaId></TrackingAreaId>
<MMEName>{{ Sh_template_vars['serving_mme'] }}</MMEName>
<AgeOfLocationInformation>0</AgeOfLocationInformation>
<Extension>
<VisitedPLMNID></VisitedPLMNID>
</Extension>{% endif %}
</EPSLocationInformation>
</Extension>
<Sh-IMS-Data>
<S-CSCFName>{{ Sh_template_vars['scscf'] }}</S-CSCFName>
<IMSUserState>{{ Sh_template_vars['imsUserState'] }}</IMSUserState>
</Sh-IMS-Data>
</Sh-Data>