Closed alf-askey closed 3 years ago
you have configured the pcrf with realm localdomain and not epc.mnc010.mcc001.3gppnetwork.org
Thank herlesupreeth to help me . i still have some error as below
1) when i try to modify realm to "epc.mnc010.mcc001.3gppnetwork.org" on all conf file ,when launch it show " [diam] ERROR: ../subprojects/freeDiameter/libfdcore/config.c:457 TLS: The certificate owner does not match the hostname 'pcrf.epc.mnc010.mcc001.3gppnetwork.org' " hss.log mme.log pcrf.log smf.log
2) i modify hostname with domain name as below, but it is still error on "not match the hostname". root@epc:~# hostname cn root@epc:~# hostname -f cn.epc.mnc010.mcc001.3gppnetwork.org root@epc:~# dnsdomainname epc.mnc010.mcc001.3gppnetwork.org root@epc:/etc# domainname (none)
3) i use nslookup to search 'pcrf.epc.mnc010.mcc001.3gppnetwork.org' , it response successfully , so could you help me how to do root@epc:~# nslookup pcrf.epc.mnc010.mcc001.3gppnetwork.org Server: 192.188.2.1 Address: 192.188.2.1#53 Name: pcrf.epc.mnc010.mcc001.3gppnetwork.org Address: 127.0.0.9
root@epc:/etc/bind# cat epc.mnc010.mcc001.3gppnetwork.org $ORIGIN epc.mnc010.mcc001.3gppnetwork.org. $TTL 1W @ 1D IN SOA localhost. root.localhost. ( 1 ; serial 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS cn cn 1D IN A 192.188.2.1 mme 1D IN A 127.0.0.2 smf 1D IN A 127.0.0.4 hss 1D IN A 127.0.0.8 pcrf 1D IN A 127.0.0.9
root@epc:/etc/bind# cat ims.mnc010.mcc001.3gppnetwork.org $ORIGIN ims.mnc010.mcc001.3gppnetwork.org. $TTL 1W @ 1D IN SOA localhost. root.localhost. ( 1 ; serial 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS ns ns 1D IN A 192.188.2.1 pcscf 1D IN A 192.188.2.1 _sip._udp.pcscf 1D SRV 0 0 5060 pcscf _sip._tcp.pcscf 1D SRV 0 0 5060 pcscf icscf 1D IN A 192.188.2.1 _sip._udp 1D SRV 0 0 4060 icscf _sip._tcp 1D SRV 0 0 4060 icscf scscf 1D IN A 192.188.2.1 _sip._udp.scscf 1D SRV 0 0 6060 scscf _sip._tcp.scscf 1D SRV 0 0 6060 scscf
hss 1D IN A 192.188.2.1
沒有附加pcap,所以無法幫助
next time , i will do it , thank you
my pcrf config as the following,(version: kamailio 5.3.2 (x86_64/linux) c18d4d) Identity = "pcrf.epc.mnc010.mcc001.3gppnetwork.org"; Realm = "epc.mnc010.mcc001.3gppnetwork.org"; ListenOn = "127.0.0.9";
TLS_Cred = "/root/open5gs/install/etc/freeDiameter/pcrf.cert.pem", "/root/open5gs/install/etc/freeDiameter/pcrf.key.pem"; TLS_CA = "/root/open5gs/install/etc/freeDiameter/cacert.pem";
LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dbg_msg_dumps.fdx" : "0x8888"; LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_rfc5777.fdx"; LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_mip6i.fdx"; LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_nasreq.fdx"; LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_nas_mipv6.fdx"; LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca.fdx"; LoadExtension = "/root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca_3gpp.fdx";
ConnectPeer = "smf.epc.mnc010.mcc001.3gppnetwork.org" { ConnectTo = "127.0.0.4"; No_TLS; }; ConnectPeer = "pcscf.ims.mnc010.mcc001.3gppnetwork.org" { ConnectTo = "192.188.2.1"; No_TLS; Port = 3871; };
As per the guide its recommended to use the following open5gs config files as template and modify just the mnc and mcc and interfaces names as per your setup. https://github.com/herlesupreeth/Open5gs_Config
when i try to modify realm to "epc.mnc010.mcc001.3gppnetwork.org" on all conf file ,when launch it show " [diam] ERROR: ../subprojects/freeDiameter/libfdcore/config.c:457 TLS: The certificate owner does not match the hostname 'pcrf.epc.mnc010.mcc001.3gppnetwork.org' "
I dont use the freediameter config files but rather put the freediameter settings in the .yaml files itself (refer the config file in above link). This way i dont have to re-generate the certificate every time i change the domain
thank you , i can launch it over domain name i copy config from https://github.com/herlesupreeth/Open5gs_Config to re-config (mme/hss/smf/pcrf) , it can not attach successfully , it show "Cause: No Suitable Cells In tracking area (15)" , but i check my TAI , TAI Is ok
check the mnc and mcc on your eNB, you were using mnc 10 before now you are using mnc 01
i check ENB (MNC 01) , and it cann establish s1ap with mme , then i check all of mme config about MNC is also mnc 01 and i also check hss / isim card info. the same is mnc 01 (Does core network check domain --> epc.mnc010.mcc001.3gppnetwork.org ? ) i check hss database is the same mnc 01 i check sim card is the same mnc 01
In your logs i see the following
you are using epc.mnc010.mcc010.3gppnetwork.org which corresponds to MCC 010 and MNC 10 which is incorrect for the SIM/eNb you are using (MCC 001 MNC 01)
your realm should be epc.mnc001.mcc001.3gppnetwork.org and NOT epc.mnc010.mcc010.3gppnetwork.org
thank herlesupreeth , ue attachd successfully i will try to modify all config of IMS with "mnc001.mcc001.3gppnetwork.org" tomorrow .
i follow "https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/" to reinstall IMS, When build "dpkg -i ngcp-rtpengine-kernel-dkms_7.4.1.7+0~mr7.4.1.7_all.deb" , it will show "Failed to start NGCP RTP/media Proxy Daemon " , i attach install log as attachment my linux version: Ubuntu 18.04.5 LTS ERROR ngcp-rtpengine-kernel-dkms.txt
How to to resolve it ,or do i skip this ? ,use "/usr/sbin/rtpengine --table=1 --interface=192.188.2.1 --listen-ng=127.0.0.1:2223 --tos=184 --pidfile=ngcp-rtpengine-daemon2.pid --no-fallback --foreground" to launch
i follow "https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/" to reinstall IMS, When build "dpkg -i ngcp-rtpengine-kernel-dkms_7.4.1.7+0~mr7.4.1.7_all.deb" , it will show "Failed to start NGCP RTP/media Proxy Daemon " , i attach install log as attachment my linux version: Ubuntu 18.04.5 LTS ERROR ngcp-rtpengine-kernel-dkms.txt
That is totally fine. Once you copy the config file in the next steps and then restart the service it will say active
How to to resolve it ,or do i skip this ? ,use "/usr/sbin/rtpengine --table=1 --interface=192.188.2.1 --listen-ng=127.0.0.1:2223 --tos=184 --pidfile=ngcp-rtpengine-daemon2.pid --no-fallback --foreground" to launch
Not needed
when i run "kamailio -f /etc/kamailio_pcscf/kamailio_pcscf.cfg -P /kamailio_pcscf.pid -DD -E -e" , There are some error message as below and attached file , ... ERROR: Githubissues.
there is no pcap attached so cant help