herlesupreeth / docker_open5gs

Docker files to run open5gs + IMS + eNB + gNB + NR-UE in a docker
BSD 2-Clause "Simplified" License
320 stars 178 forks source link

Vonr setup #272

Open b3c3ll opened 10 months ago

b3c3ll commented 10 months ago

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 commented 10 months ago

Also the part related to

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

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

b3c3ll commented 10 months ago

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 commented 9 months ago

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 commented 9 months ago

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

b3c3ll commented 9 months ago

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

b3c3ll commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

@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 commented 9 months ago

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 commented 9 months ago

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

herlesupreeth commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

restart the phone and attempt connecting agai

After Restart I get this traces: 3rd.zip

b3c3ll commented 9 months ago

@herlesupreeth Any idea on the new trace? Thanks

herlesupreeth commented 9 months ago

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 commented 8 months ago

@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 commented 8 months ago

image

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

b3c3ll commented 8 months ago

Goosh! (wrong Op choice in the UI) Thanks

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

b3c3ll commented 8 months ago

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

Thanks

b3c3ll commented 8 months ago

@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 commented 8 months ago

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

b3c3ll commented 8 months ago

@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 commented 8 months ago

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 commented 8 months ago

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