docker_open5gs icon indicating copy to clipboard operation
docker_open5gs copied to clipboard

Vonr setup

Open b3c3ll opened this issue 2 years ago • 29 comments

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 avatar Jan 12 '24 07:01 b3c3ll

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 avatar Jan 13 '24 07:01 b3c3ll

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.

b3c3ll avatar Jan 13 '24 08:01 b3c3ll

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 avatar Jan 13 '24 11:01 herlesupreeth

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

herlesupreeth avatar Jan 13 '24 11:01 herlesupreeth

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

b3c3ll avatar Jan 13 '24 11:01 b3c3ll

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

Thanks

b3c3ll avatar Jan 13 '24 13:01 b3c3ll

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 avatar Jan 15 '24 05:01 herlesupreeth

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

herlesupreeth avatar Jan 15 '24 05:01 herlesupreeth

@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

b3c3ll avatar Jan 15 '24 05:01 b3c3ll

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

herlesupreeth avatar Jan 15 '24 05:01 herlesupreeth

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

b3c3ll avatar Jan 15 '24 05:01 b3c3ll

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

herlesupreeth avatar Jan 15 '24 06:01 herlesupreeth

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 avatar Jan 15 '24 06:01 b3c3ll

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 avatar Jan 15 '24 06:01 b3c3ll

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

b3c3ll avatar Jan 15 '24 06:01 b3c3ll

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

herlesupreeth avatar Jan 15 '24 06:01 herlesupreeth

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 avatar Jan 15 '24 06:01 b3c3ll

restart the phone and attempt connecting agai

After Restart I get this traces: 3rd.zip

b3c3ll avatar Jan 15 '24 06:01 b3c3ll

@herlesupreeth Any idea on the new trace? Thanks

b3c3ll avatar Jan 16 '24 02:01 b3c3ll

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

herlesupreeth avatar Jan 16 '24 07:01 herlesupreeth

@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

b3c3ll avatar Mar 07 '24 08:03 b3c3ll

image

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

herlesupreeth avatar Mar 07 '24 09:03 herlesupreeth

Goosh! (wrong Op choice in the UI) Thanks

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

b3c3ll avatar Mar 07 '24 09:03 b3c3ll

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

Thanks

b3c3ll avatar Mar 07 '24 10:03 b3c3ll

@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

b3c3ll avatar Mar 07 '24 10:03 b3c3ll

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

herlesupreeth avatar Mar 07 '24 12:03 herlesupreeth

@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 avatar Mar 08 '24 04:03 b3c3ll

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

b3c3ll avatar Mar 08 '24 04:03 b3c3ll

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

herlesupreeth avatar Mar 08 '24 07:03 herlesupreeth