SRSUE used for VoNR #289
-
Hello community! Now to the topic: I do not have a physical HW, but I want to set up VoNR call over IMS. I am using sa-vonr-deploy.yaml for Core, then srsgnb_zmq.yaml and srsue_5g_zmq.yaml. Based on this suggestion, I installed PJSUA SIP client on top of UE. From there, I am able to reach PCSCF and register SIP client. But, all the traffic between SIP client and IMS goes through eth0 interface, not via tun_srsue tunnel - thus the traffic does not pass GNB. Sure, it works, but it does not simulate real 5G. I am struggling to understand how are those tunnels between UE and UPF set up, what they represent and how should they be utilized. I know that in UE, I can have only one APN, so I switched it from "internet" APN to "IMS" APN. So, now I have "192.168.101.2" interface in UE (this is UE_IPV4_IMS subnet in .env ). But, IMS components have a different subnet (172.22.0.0), so I do not know why there is an UE_IPV4_IMS and what it should do, considering it is not connected to IMS in any way. When UE's SIP client is reaching PCSCF on 172.22.0.0 network, everything goes through eth0. So, should I just change IMS's subnet to UE_IPV4_IMS subnet, or something else? Or maybe I am completely wrong about it :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your application (in your case PJSUA SIP client) should bind to that tun_srsue interface in order to simulate somewhat a VoLTE/VoNR call. Although its not complete a VoLTE/VoNR call because the application is not asking the UE stack to request a dedicated bearer to have QoS for the call. UE_IPV4_IMS subnet is the subnet from which open5gs assigns IP to the UEs when it requests a PDN session for "ims" APN/DNN So any any IMS traffic (from IP 192.168.101.x) first reaches eNB/gNB and then eNB/gNB encapsulates that traffic and sends it in a GTP-U tunnel to SGW-U/UPF where it gets decapsulated. Now, all that remain is the original IMS traffic. This will be routed based on the destination IP (P-CSCF IP).
Since your application is not binding to tun_srsue interface in order to send traffic (i.e. for example when you do ping 8.8.8.8 -I tun_srsue it binds to that interface in order to send ping packets) it using eth0 interface. This traffic over eth0 interface is not using the 4G/5G link |
Beta Was this translation helpful? Give feedback.
-
tun_srsue is just a TUN interface which could be used to push traffic towards the CN. Yes, there is GTP tunnel between gNB and UPF. The traffic flow is as follows
|
Beta Was this translation helpful? Give feedback.
tun_srsue is just a TUN interface which could be used to push traffic towards the CN. Yes, there is GTP tunnel between gNB and UPF. The traffic flow is as follows