Closed leopard21 closed 4 years ago
Please check your APN configuration open5gs, in the pcap i see only one PDN Connectivity request and Activate Default EPS Bearer Context Request is sent with APN name as ims.
Also, your UE is advertising to EPC that its Voice Domain Preference is "CS Voice Only" - Circuit Switched Voice only. Please see screenshot below
Hi@herlesupreeth
Thank you very much for your help. I changed the plmn to fit local region, and sencond PDN Connectivity is sent by UE. But allocated IP address for IMS is unreachable, and sip register message is not sent. pcap is as bellow. ims_no_sipRegister.zip
my smf.yaml file is as follows.(In open5GS version which my used, smf is pgw-c and upf is pgw-u, smf and upf also have pdn node.) smf: sbi:
I also try to use ue poll like bellow. but UE can not attach to 5GS. smf: sbi:
Would you give me some advice.
Thanks a lot. Jimmy
Have you created the tun interface (ogstun and ogstun2)? If so, have you assigned the ip address for both of the interface?
Have you enabled ip_forward in /proc/sys/net/ipv4/ip_forward ?
Can you please explain what do you mean by IMS ip of UE not reachable?
smf: sbi:
- addr: 127.0.0.4 port: 7777 gtpc:
- addr: 127.0.0.4
- addr: ::1 pfcp:
- addr: 127.0.0.4 pdn:
- addr: 10.45.0.1/16
- addr: cafe::1/64
I believe the pcap you sent was for this setting in smf, as I see the IP allocated for IMS and interent apn is in this range 10.45.0.1/16
Hi@herlesupreeth
Can you please explain what do you mean by IMS ip of UE not reachable? -> Sorry. I mean that I ping the UE‘s IP for IMS on the host, timeout is displayed. I believe the pcap you sent was for this setting in smf, as I see the IP allocated for IMS and interent apn is in this range 10.45.0.1/16 ->Yes, you're right. if I use ue pool whith two pdns on my environment, Ue can not attach to open5Gs. It might be my mistakes. I will try it again on next Monday. additionaly, I have some questions.
Thanks a lot. Jimmy
Should ue pool with two apns be added to smf setting or upf setting or both settings?
Please refer this comment - https://github.com/open5gs/open5gs/issues/535#issuecomment-687164942
Is it necessary to use two tuns? one is for internet, another one is for ims?
Not at all, you can do it with one interface itself. The reason why I suggest having two tun interfaces is for debugging purpose.
3 Is it necessary to create tun interface and assign the ip address manually? what‘s the usage of the tun setting in smf and upf?
I believe open5gs created the tun interfaces (I am not 100% sure though), but definitely it doesn't assign the ip address so its necessary to do that (Refer the tutorials - https://open5gs.org/open5gs/docs/guide/02-building-open5gs-from-sources/ )
Thank you for your patient answer. I have tried it again and found that UE‘s IP address can be pinged sucessfully. But afer a while, UE sent PDN disconnect Message instead of sending SIP Register Message. would you help me position the issue?
Thanks a lot. Jimmy
If the UE is not sending a SIP REGISTER then UE is not provisioned for VoLTE (Refer this link - https://github.com/herlesupreeth/CoIMS_Wiki if you are using SIM card from Sysmocom and want to activate VoLTE on your phone)
But afer a while, UE sent PDN disconnect Message instead of sending SIP Register Message. would you help me position the issue?
After sending a PDN Connectivity Request for IMS APN, the UE waits for a certain time for IMS Registration process to complete but in case IMS Registration is not successful during this time the UE sends PDN Disconnect Request session related to IMS APN. So its completely normal in your case for UE to send that.
Thanks for your help. Now UE Can send sip register message, but it can't register because AAR failed. PCSCF log is as followed. 5(3045) DEBUG: ims_auth [authorize.c:232]: reg_await_timer(): [DONE] Looking for expired/useless at 7220031 108(3537) ERROR: Githubissues.
Hi
I tried to setup VoLTE,but encountered some problems. after attached to open5GS, UE did not send SIP Register Messages. Could you give me some hints? Open5GS and Kamailio is on the one host which ip address is 192.168.106.201. the pcap is as follows. ng.zip
Thanks a lot. Jimmy