-
Notifications
You must be signed in to change notification settings - Fork 66
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
Configuring PyHSS with open5Gs #215
Comments
In the Open5GS config:
The "connectPeer = " line, typically at the end of the file, would need to point to the PyHSS instance. The hostname should be the same as the OriginHost value set in PyHSS config.yaml and the IP obviously the address it is running on. This is for the S6a interface from MME to HSS.
This should have the same "connectPeer =" line as above. This is for the Gx interface from SMF to the PCRF provided by PyHSS. Assuming you are running everything on the same host, you would probably also want to stop Open5GS HSS and PCRF from starting. |
Hey! Thanks a lot for your reply, ok i understood that i'll stop open5gs hss and PCRF services. is this setup enough to perform online charging ? i'm still a bit confused There are 2 interfaces Gx and Gy, from what i understand connection SMF - PyHss implements Gx But for credit control i need to implement Gy? how will i set this up |
I don't know much about PCRF to be honest. My use case is for private networks and I just wanted to remove any reliance on Open5GS HSS/WebUI and MongoDB. There are some PCRF notes in this repo, but I didn't see mention of Gy. |
Hello @9600 I am encountering the same issue now. I have followed your instructions above, but still the problem persists, attach fails.. with the following logs: Under mme section, under freediameter, under connect, I gave the hss identity and the ip address. Did the same for freediameter connection under smf also. Hope its fine. Updated the s1ap server address with the host address, updated the gummei and tai values appropriately. Under sgwu, gtpu server address also I updated with host's ip address. and disabled hss and pcrf and launched the EPC. On the pyHSS config, I just updated the realm name with the same realm which was used by open5gs mme and the bind ip address and identity which was given for mme's freediameter. Is this all I need to do or did I miss anything? I launched the pyhss, added the APN, AUC, subscriber details and tried to attach a UE, initial authentication is passing and then attach is failing with diameter error 5030. Attaching the epc console log for reference here. 02/27 19:13:30.225: [sgwc] INFO: [Added] Number of SGWC-Sessions is now 1 (../src/sgwc/context.c:924) Please someone help me identify the issue and suggest the steps to overcome this. Thanks & regards, |
Hello everyone, i have several questions
I successfully installed Pyhss and could populace AcUs, Subscribers, apns,
how can i connect my open5gs setup to PyHSS to completely avoid using built-in hss and be able to run it as EPC / 4G ?
Thank you in advance, would be great to add some example here
The text was updated successfully, but these errors were encountered: