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

Vonr setup #272

Open
b3c3ll opened this issue Jan 12, 2024 · 29 comments
Open

Vonr setup #272

b3c3ll opened this issue Jan 12, 2024 · 29 comments

Comments

@b3c3ll
Copy link
Contributor

b3c3ll commented Jan 12, 2024

Hi @herlesupreeth

Thanks for the update. I want to setup Vonr setup but i'm not sure about the path!
Following the guides wont go into pyhss container!

For 5G deployment only

docker compose -f sa-vonr-deploy.yaml build

5G Core Network

docker compose -f sa-vonr-deploy.yaml up

i've tried both main repo and open5gs_hss_cx
but none of them wont go into osmohlr or pyhss ip address!
docker exec -it osmohlr /bin/bash

Would you please guide me through the VoNR setup?
Thanks
Best regards

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 13, 2024

Also the part related to

Provisioning of SIM information in pyHSS is as follows:
Goto http://<DOCKER_HOST_IP>:8080/docs/

is not working!
Would you please correct me?
Thanks @herlesupreeth
image

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 13, 2024

The thing is
master branch has pyhss folder but the cx branch does not!
and the "sa-vonr-deploy.yaml" file do not contain "osmohlr" related configs!!

So it wont be possible to use Cx branch for SA-Vonr deployments.

@herlesupreeth
Copy link
Owner

omsohlr and osmomsc is used only in 4G deployment in order to send SMS over SGs interface. But whereas in the case of 5G there is no SGs interface hence its not there is sa-vonr-deploy.yaml

@herlesupreeth
Copy link
Owner

Master branch uses pyhas for IMS where as cx branch uses open5gs HSS for EPC + IMS

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 13, 2024

So there is no way to have both SMS and Vonr at the same time?
Or the pyhss handles the SMS
Thanks

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 13, 2024

Even after setting up pyhss configurations, The Ue is not registering on the VoLTE/Vonr!
Would you please check the traces?
1st.zip

Thanks

@herlesupreeth
Copy link
Owner

So there is no way to have both SMS and Vonr at the same time?
Or the pyhss handles the SMS

pyHSS is an HSS and does not handle SMS. In VoNR setup there is SMSC based on kamailio and it takes care of SMS over IMS

@herlesupreeth
Copy link
Owner

Even after setting up pyhss configurations, The Ue is not registering on the VoLTE/Vonr!
Would you please check the traces?
1st.zip

From this pcap I see that UE is not attempting to create a PDU session for IMS APN, which suggests that VoNR may not be activated on the UE

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

@herlesupreeth
Thanks for the Reply

What do i need to do in order to obliged UE to Create PDU session for IMS APN?
I have two UEs, One is Samsung A51 and the Other is Oppo reno 4 pro!
Both connects to the 5G network but none of the accepts VoNR or Volte calls.

Regards

@herlesupreeth
Copy link
Owner

I have two UEs, One is Samsung A51 and the Other is Oppo reno 4 pro!
Both connects to the 5G network but none of the accepts VoNR or Volte calls.

For Oppo reno, you could try the setup mentioned here https://github.com/herlesupreeth/CoIMS_Wiki to force activate VoNR. For Samsung A51 unfortunately I dont have any method

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

Would you please check this new trace:
2nd.zip

@herlesupreeth
Copy link
Owner

Now I see phone attempting to connect to IMS APN but no SIP REGISTER is sent. So ensure that VoLTE is enable under phone's mobile network settings and restart the phone and attempt connecting again

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

On the Samsung A51, as soon as i try to call someone, it loses the Whole 5G conncetion and it needs to manually search for the 5G network! but in the Oppo, it only drops the call and wont able to call!

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

I see phone attempting to connect to IMS APN but no SIP REGISTER is sent

Would you please let me know which filters do i need to use in wireshark for the sake of knowing which UE attempted to Connect to IMS APN?

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

in case of the CoIMS ... I've used OYSIMWrite4.2.5 to program the SIMcard. Can I use CoIMS as i seen that it uses OSMOsim?

Thanks
Regards

@herlesupreeth
Copy link
Owner

s1ap || gtpv2 || pfcp || diameter || gtp || ngap || http2.data.data || http2.headers

This is the display filters I use in wireshark but the in order to know which UE connected to IMS you need to take a look at the NGAP packet PDU session Establishment Request. Inside that you should have DNN defined as either internet or ims

in case of the CoIMS ... I've used OYSIMWrite4.2.5 to program the SIMcard. Can I use the following CoIMS as i seen that it uses OSMOsim

Then, I dont think so its possible

On the Samsung A51, as soon as i try to call someone, it loses the Whole 5G conncetion and it needs to manually search for the 5G network! but in the Oppo, it only drops the call and wont able to call!

In case of Samsung A51 that is the case because it may have not attempted to connected to IMS and when you try to place call it may be attempting call over 2G/3G network which is absent hence loses connection

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

image

I'm getting Error of

amf | 01/15 10:01:03.670: [gmm] ERROR: [imsi-001010123456795] No Session Context [201] (../src/amf/gmm-handler.c:1111)

While the UE is connected and it has internet access!

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 15, 2024

restart the phone and attempt connecting agai

After Restart I get this traces:
3rd.zip

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Jan 16, 2024

@herlesupreeth
Any idea on the new trace?
Thanks

@herlesupreeth
Copy link
Owner

In the latest pcap I see that UE is sending PDU session modification request which is being rejected by 5GC which I am not sure why.

One thing I noticed is that you have set IP type as IPv4v6 in open5gs WebUI for IMS APN and I would recommend to change that to only IPv4 and give it a try

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Mar 7, 2024

@herlesupreeth
While it was working Ok at that time, I'm not even able to register of netwrok after installing using the latest commit!

What would be the problem?

Thanks
Best regards

@herlesupreeth
Copy link
Owner

image

I would check UE SIM programmed details and the ones entered in open5gs WebUI and see if they match.

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Mar 7, 2024

Goosh! (wrong Op choice in the UI)
Thanks

I'll try to connect Samsung to VoNR(will continue on this thread)

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Mar 7, 2024

any idea why on the Sam UE VOLTE provisionning is grayed out! and how to enable it?

Thanks

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Mar 7, 2024

@herlesupreeth
Same UE got powered On but no VOLTE provisioning!

also connected another UE with the VOLTE enbaled!

Is there a way to forcefully enable Volte Provisioning on Sam even with adb?
Screenshot_20240307-134143_Phone services

@herlesupreeth
Copy link
Owner

I see successful IMS registration in the pcap attached inside 2410-3.zip

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Mar 8, 2024

@herlesupreeth

I dont see any HD or Volte sign on the Samsung UE while oppo connects and shows!
it is two different UEs!
One got connected easily but the other (samsung) wont even try to connect... as shown in the pic, Volte provisioning is grayed out to off! is there any way to activate it? using adb or ...?
Thanks

@b3c3ll
Copy link
Contributor Author

b3c3ll commented Mar 8, 2024

New pcap is there:
2410-4 is just samsung UE.
2410-5 is just oppo
2410-6 is oppo + samsung!

I'm not sure why it is not even trying to connect. have you ever find any article to enable this using adb or so?
Thanks

@herlesupreeth
Copy link
Owner

One got connected easily but the other (samsung) wont even try to connect... as shown in the pic, Volte provisioning is grayed out to off! is there any way to activate it? using adb or ...?

No, there isn't for Samsung sadly

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

2 participants