Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gx issue with OPen5GS 2.7.4 #231

Open
svinson1121 opened this issue Mar 26, 2025 · 0 comments
Open

Gx issue with OPen5GS 2.7.4 #231

svinson1121 opened this issue Mar 26, 2025 · 0 comments

Comments

@svinson1121
Copy link

svinson1121 commented Mar 26, 2025

Open5GS now sends Subscription-ID(443) -> Subscription-ID-Type(450) END_USER_IMSI and Subscription-ID(443) -> Subscription-ID-Type(450) END_USER_E164 in the Gx CCR

this is causing PyHSS return a CCA with DIAMETER_USER_UNKNOW (5030)

in diameter.py Answer_16777238_272 the function is trying to process the MSISDN as an IMSI and i think that's the cause of the 5030

Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:15] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Found IMSI 311435000070570
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:15] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Evaluating UniqueSubscriptionIdentifier AVP {'avp_code': 450, 'avp_flags': '40', 'avp_length': 12, 'vendor_id': '', 'misc_data': '00000000'} to find IMSI
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:15] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Evaluating UniqueSubscriptionIdentifier AVP {'avp_code': 444, 'avp_flags': '40', 'avp_length': 18, 'vendor_id': '', 'misc_data': '33333432303132383332'} to find IMSI
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:15] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Found IMSI 3342012832
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:15] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] SubscriptionID: [[{'avp_code': 450, 'avp_flags': '40', 'avp_length': 12, 'vendor_id': '', 'misc_data': '00000001'}, {'avp_code': 444, 'avp_flags': '40', 'avp_length': 23, 'vendor_id': '', 'misc_data': '333131343335303030303730353730'}], [{'avp_code': 450, 'avp_flags': '40', 'avp_length': 12, 'vendor_id': '', 'misc_data': '00000000'}, {'avp_code': 444, 'avp_flags': '40', 'avp_length': 18, 'vendor_id': '', 'misc_data': '33333432303132383332'}]]
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:15] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Getting Get_Charging_Rules for IMSI 3342012832 using APN internet from database
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:16] [DEBUG] Called Get_Charging_Rules() for IMSI 3342012832 and APN internet
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:16] [DEBUG] Get_Subscriber for imsi 3342012832
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:16] [DEBUG] No row was found when one was required
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:16] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Subscriber 3342012832 unknown in HSS for CCR - Check Charging Rule assigned to APN is set and exists
Mar 26 17:34:16 pyhss python3[368839]: [03/26/2025 17:34:16] [DEBUG] [diameter.py] [Answer_16777238_272] [CCA] Request type for CCA is 1 - Initial

can we add support for Subscription-ID(443) -> Subscription-ID-Type(450) END_USER_E164 or simply ignore the Subscription-ID(443) -> Subscription-ID-Type(450) END_USER_E164 AVP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant