Giter VIP home page Giter VIP logo

Comments (29)

herlesupreeth avatar herlesupreeth commented on May 27, 2024

If you are using 4g/5g hybrid core (for VoLTE scenario) please do not set UPF_ADVERTISE_IP=192.168.120.121, it should be UPF_ADVERTISE_IP=172.22.0.8

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Yes,your point should be correct,my bad.I have seen this note before in other issue.I will try it tomorrow,thanks!!
But what about the volte sip register problem?
It seems to have something to do with the sim card right?Are the volte simcards different from normal lte simcards which do not support VOLTE??

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

It seems to have something to do with the sim card right?Are the volte simcards different from normal lte simcards which do not support VOLTE??

Regarding the SIP issue, I would suggest to take a fresh pcap without any capture filter and capture on "any" interface so that I can debug it.
You can have VoLTE with USIM and don't particularly need ISIM

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Hi,
FIrst of all, I have set the UPF_ADVERTISE_IPto 172.22.0.8(SGWU_ADVERTISE_IPalso is 192.168.120.121,right?)
Today I changed a new moblile phone(HUAWEI P9),I also set two APN :internet and ims,turn on the VOLTE switch.
The initial attach was successfully,but the uplink&downlink are still blocked,and the second PDN connection establish did not triggered which I confirm from the pcap.So the mobilephone did not trigger the VOLTE sip register as expected.
mobilephone_set_internet&ims.zip
You can see the pcap at the last the service request which I turned off then turned on the VOLTE switch,there was still not triggering PDN connection establish procedure.
I'm sorry to bother you again. Can you see what this is about?

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

This reply is for the problem of updownlink traffic unavailiable
Finally, I add a static route 172.20.49.0/24 via 172.22.0.8 dev br-fb671427046c in my VM Ubuntu18.04,then the traffic is ok.I can ping 172.20.49.2(the UE ip) in the VM.But I can not ping 172.20.49.2 in my PC which ip is 192.168.120.2,it seems the ping packet did not received by the VM.Maybe I should have installed Ubuntu on a physical machine better than a VM in PC :(
What do you think?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

You dont need to add static route, please see my answer in the other issue

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

You dont need to add static route, please see my answer in the other issue

Sorry,I should have put the above response over there.

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Hi
I think maybe for some reason you missed this comment #52 (comment)
Could you help me analyze this volte problem?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

Please take a fresh trace so that we have any issue related to earlier UPF reachability etc. and post it here

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Hi @herlesupreeth
I just did it all over again,sip register is still not triggered.The log&pcap&profiles are as below:
20210811_log.zip
The extended service request is triggered by calling the phone number ****** without VOLTE,you can leave them alone.

I use a Mi 6 phone within a USIM card, IMSI is 460060000004901,no more infomation was write into the card except for IMSI PLMN K OP.The APN settings of Mi 6 is default. I just turn on the VOLTE switch after attach successfully.
I wonder if I can register with ISIM card directly?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

It seems the pcap you attached is corrupted

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Oh,sorry.I'll upload it again
volte_reg_failed.zip

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

Still getting the same error -
image

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

I searched the reason in website and I get the solution is update your wireshark to a new version,my wireshark version is 3.4.0 that can open this file.
I can paste some screenshots here(s1ap & gtp),so that you can see the attach procedure and erab establish procedure
image
Aattch successful
image
Please pay attention to the time interval from Activate default EPS bear context accept to DWR,22 seconds no SIP register.
UPDATE:
There are actually some DNS packets in those 22 seconds,the initiator is the mobile phone with ims assigned IPv4 addr 10.10.45.8.In the figure above, there are too many DNS packets, so I filtered it out

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

Please use tcpdump to take a trace

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

I do use tcpdump in my Debian10.But the pcap you can not open...

root@debian:~# tcpdump --help
tcpdump version 4.99.0
libpcap version 1.10.0 (with TPACKET_V3)
OpenSSL 1.1.1d  10 Sep 2019
Usage: tcpdump [-AbdDefhHIJKlLnNOpqStuUvxX#] [ -B size ] [ -c count ] [--count]
                [ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ]
                [ -i interface ] [ --immediate-mode ] [ -j tstamptype ]
                [ -M secret ] [ --number ] [ --print ] [ -Q in|out|inout ]
                [ -r file ] [ -s snaplen ] [ -T type ] [ --version ]
                [ -V file ] [ -w file ] [ -W filecount ] [ -y datalinktype ]
                [ --time-stamp-precision precision ] [ --micro ] [ --nano ]
                [ -z postrotate-command ] [ -Z user ] [ expression ]
root@debian:~# uname -a
Linux debian 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

The reason why the pcap files the few days before can be opened is because of I am using the VM which installed Ubuntu18.04,info as below:

root@user:/home/user# tcpdump --help
tcpdump version 4.9.3
libpcap version 1.8.1
OpenSSL 1.1.1  11 Sep 2018
Usage: tcpdump [-aAbdDefhHIJKlLnNOpqStuUvxX#] [ -B size ] [ -c count ]
                [ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ]
                [ -i interface ] [ -j tstamptype ] [ -M secret ] [ --number ]
                [ -Q in|out|inout ]
                [ -r file ] [ -s snaplen ] [ --time-stamp-precision precision ]
                [ --immediate-mode ] [ -T type ] [ --version ] [ -V file ]
                [ -w file ] [ -W filecount ] [ -y datalinktype ] [ -z postrotate-command ]
                [ -Z user ] [ expression ]
root@user:/home/user#
root@user:/home/user# uname -a
Linux user 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@user:/home/user# lsb_release

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

I will try the VOLTE test with my VM tomorrow if you have no other choice to open this pcap file..

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

@herlesupreeth I have attached the fresh profile&pcap traced from my Ubuntu18.04 VM
20210813_log.zip
I could see the 172.20.49.2(apn=ims assigned ip addr) send some TCP SYN packets to 172.22.0.21(pcscf ip addr),the TCP dest port is 5060,these packets should be SIP right?But why pcscf did not response?There is also no relevant print of pcscf in the output of docker.

UPDATE:
I found below settings in ./pcscf/pcscf_init.sh

# Add static route to route traffic back to UE as there is not NATing
ip r add 192.168.101.0/24 via ${UPF_IP}

Should I change 192.168.101.0 to 172.20.249.0?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

If your ims subnet is that then yes

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Thanks for the confirm!!
In the foHss setting step,I encountered some confusion

Add Visited Network to IMPU
Enter:
Visited Network = ims.mnc001.mcc001.3gppnetwork.org
Click Add

image
In my test environment,mnc=006 mcc=460,but there is only one choice. Where should I modify it?
I manually added one here as below and reselect in Create and Associate IMPI to IMPU, I wonder if it is correct?
image

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

I modified all as above and tried but met some error output:

webui        | Mongoose: accounts.findOne({ '$or': [ { username: 'admin' } ] }, { fields: { hash: 0, salt: 0 } })
mme          | 08/13 04:24:26.387: [mme] INFO: [Added] Number of MME-Sessions is now 2 (../src/mme/mme-context.c:3246)
sgwu         | 08/13 04:24:26.388: [sgwu] INFO: UE F-SEID[CP:0x4 UP:0x4] (../src/sgwu/context.c:144)
sgwu         | 08/13 04:24:26.388: [sgwu] INFO: [Added] Number of SGWU-Sessions is now 2 (../src/sgwu/context.c:149)
sgwc         | 08/13 04:24:26.387: [sgwc] INFO: [Added] Number of SGWC-Sessions is now 2 (../src/sgwc/context.c:863)
smf          | 08/13 04:24:26.388: [smf] INFO: [Added] Number of SMF-Sessions is now 2 (../src/smf/context.c:2480)
smf          | 08/13 04:24:26.388: [smf] INFO: UE IMSI[460060000004901] APN[ims] IPv4[172.20.149.2] IPv6[] (../src/smf/s5c-handler.c:221)
upf          | 08/13 04:24:26.391: [upf] INFO: [Added] Number of UPF-Sessions is now 2 (../src/upf/context.c:160)
upf          | 08/13 04:24:26.391: [upf] INFO: UE F-SEID[CP:0x4 UP:0x4] APN[ims] PDN-Type[1] IPv4[172.20.149.2] IPv6[] (../src/upf/context.c:336)
mme          | 08/13 04:24:27.396: [mme] ERROR: No E_RABSetupListBearerSURes (../src/mme/s1ap-handler.c:1129)
mme          | 08/13 04:24:27.421: [mme] INFO: UE Context Release [Action:2] (../src/mme/s1ap-handler.c:1377)
mme          | 08/13 04:24:27.421: [mme] INFO:     ENB_UE_S1AP_ID[16386] MME_UE_S1AP_ID[3] (../src/mme/s1ap-handler.c:1378)
mme          | 08/13 04:24:27.421: [mme] INFO:     IMSI[460060000004901] (../src/mme/s1ap-handler.c:1381)
mme          | 08/13 04:24:27.421: [mme] INFO: [Removed] Number of eNB-UEs is now 0 (../src/mme/mme-context.c:3240)
mme          | 08/13 04:24:28.058: [mme] INFO: InitialUEMessage (../src/mme/s1ap-handler.c:223)
mme          | 08/13 04:24:28.058: [mme] INFO: [Added] Number of eNB-UEs is now 1 (../src/mme/mme-context.c:3234)
mme          | 08/13 04:24:28.058: [mme] INFO:     S_TMSI[G:2,C:1,M_TMSI:0xed0055a9] IMSI:[460060000004901] (../src/mme/s1ap-handler.c:287)
mme          | 08/13 04:24:28.058: [mme] INFO:     ENB_UE_S1AP_ID[16387] MME_UE_S1AP_ID[4] TAC[81] CellID[0x8d5b7] (../src/mme/s1ap-handler.c:363)
mme          | 08/13 04:24:28.058: [emm] INFO: [460060000004901] Service request (../src/mme/emm-sm.c:123)
mme          | 08/13 04:24:28.058: [emm] INFO:     GUTI[G:2,C:1,M_TMSI:0xed0055a9] IMSI[460060000004901] (../src/mme/emm-handler.c:426)
mme          | 08/13 04:24:28.058: [mme] WARNING: No active EPS bearer [6] (../src/mme/s1ap-build.c:395)
mme          | 08/13 04:24:28.058: [mme] WARNING:     IMSI[460060000004901] NAS-EPS Type[3] ENB_UE_S1AP_ID[16387] MME_UE_S1AP_ID[4] (../src/mme/s1ap-build.c:396)
webui        | Mongoose: accounts.findOne({ '$or': [ { username: 'admin' } ] }, { fields: { hash: 0, salt: 0 } })
scscf        |  5(40) DEBUG: ims_dialog [dlg_handlers.c:1923]: print_all_dlgs(): ******************** 5(40) DEBUG: ims_dialog [dlg_handlers.c:1924]: print_all_dlgs(): printing 4096 dialogs
scscf        |  5(40) DEBUG: ims_dialog [dlg_handlers.c:1934]: print_all_dlgs(): ******************** 5(40) DEBUG: ims_auth [authorize.c:187]: reg_await_timer(): Looking for expired/useless at 93930206
scscf        |  5(40) DEBUG: ims_auth [authorize.c:232]: reg_await_timer(): [DONE] Looking for expired/useless at 93930206
sgwu         | 08/13 04:24:33.695: [sgwu] INFO: UE F-SEID[CP:0x5 UP:0x5] (../src/sgwu/context.c:144)
sgwu         | 08/13 04:24:33.695: [sgwu] INFO: [Added] Number of SGWU-Sessions is now 3 (../src/sgwu/context.c:149)
sgwc         | 08/13 04:24:33.695: [sgwc] WARNING: OLD Session Release [IMSI:460060000004901,APN:ims] (../src/sgwc/s11-handler.c:197)
sgwc         | 08/13 04:24:33.695: [sgwc] INFO: [Removed] Number of SGWC-Sessions is now 1 (../src/sgwc/context.c:869)
sgwc         | 08/13 04:24:33.695: [sgwc] INFO: [Added] Number of SGWC-Sessions is now 2 (../src/sgwc/context.c:863)
smf          | 08/13 04:24:33.695: [smf] WARNING: OLD Session Release [IMSI:460060000004901,APN:ims] (../src/smf/context.c:1069)
smf          | 08/13 04:24:33.695: [smf] INFO: Removed Session: UE IMSI:[460060000004901] DNN:[ims:0] IPv4:[172.20.149.2] IPv6:[] (../src/smf/context.c:1379)
smf          | 08/13 04:24:33.695: [smf] INFO: [Removed] Number of SMF-Sessions is now 1 (../src/smf/context.c:2486)
smf          | 08/13 04:24:33.695: [smf] INFO: [Added] Number of SMF-Sessions is now 2 (../src/smf/context.c:2480)
smf          | 08/13 04:24:33.695: [smf] INFO: UE IMSI[460060000004901] APN[ims] IPv4[172.20.149.2] IPv6[] (../src/smf/s5c-handler.c:221)
upf          | 08/13 04:24:33.706: [upf] INFO: [Added] Number of UPF-Sessions is now 3 (../src/upf/context.c:160)
upf          | 08/13 04:24:33.706: [upf] INFO: UE F-SEID[CP:0x5 UP:0x5] APN[ims] PDN-Type[1] IPv4[172.20.149.2] IPv6[] (../src/upf/context.c:336)
pcscf        | 103(142) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc006.mcc460.3gppnetwork.org (sip:[email protected] (172.20.149.2:41483) to sip:[email protected], [email protected])
pcscf        | 103(142) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcrf         | 08/13 04:24:34.493: [pcrf] WARNING: Not supported(260) (../src/pcrf/pcrf-rx-path.c:419)
pcrf         | 08/13 04:24:34.493: [pcrf] WARNING: Not supported(524) (../src/pcrf/pcrf-rx-path.c:409)
pcrf         | 08/13 04:24:34.493: [pcrf] WARNING: Not supported(524) (../src/pcrf/pcrf-rx-path.c:409)
pcrf         | 08/13 04:24:34.493: [pcrf] WARNING: Not supported(291) (../src/pcrf/pcrf-rx-path.c:419)
pcrf         | 08/13 04:24:34.493: [pcrf] WARNING: Not supported(276) (../src/pcrf/pcrf-rx-path.c:419)
pcrf         | 08/13 04:24:34.493: [pcrf] WARNING: Not supported(27) (../src/pcrf/pcrf-rx-path.c:419)
pcscf        | 103(142) NOTICE: <script>: PCSCF REGISTER:
pcscf        |  Destination URI: <null>
pcscf        |  Request URI: sip:ims.mnc006.mcc460.3gppnetwork.org
pcscf        | 103(142) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 103(142) NOTICE: <script>: Source IP and Port: (172.20.149.2:41483)
pcscf        |  Route-URI:
pcscf        | 103(142) NOTICE: <script>: Received IP and Port: (172.22.0.21:5060)
pcscf        | 103(142) NOTICE: <script>: Contact header: <sip:172.20.149.2:5060>;+sip.instance="<urn:gsma:imei:86682203-930920-0>";+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";+g.3gpp.smsip;video;+g.3gpp.accesstype="cellular2"
pcscf        | 103(142) INFO: ims_registrar_pcscf [sec_agree.c:296]: cscf_get_security_verify(): No security-verify parameters found
pcscf        | 103(142) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 1
pcscf        | 94(133) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 7
icscf        | 32(61) INFO: ims_icscf [cxdx_uar.c:71]: create_uaa_return_code(): created AVP successfully : [uaa_return_code]
icscf        | 10(39) INFO: ims_icscf [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_server_name: Failed finding avp
icscf        | 10(39) INFO: ims_icscf [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_result_code: Failed finding avp
icscf        | 10(39) INFO: ims_icscf [cxdx_uar.c:71]: create_uaa_return_code(): created AVP successfully : [uaa_return_code]
dns          | 13-Aug-2021 04:24:34.636 address not available resolving './NS/IN': 2001:503:c27::2:30#53
dns          | 13-Aug-2021 04:24:34.636 address not available resolving './NS/IN': 2001:500:2d::d#53
dns          | 13-Aug-2021 04:24:34.636 address not available resolving './NS/IN': 2001:7fd::1#53
dns          | 13-Aug-2021 04:24:34.636 address not available resolving './NS/IN': 2001:500:a8::e#53
dns          | 13-Aug-2021 04:24:34.636 address not available resolving './NS/IN': 2001:500:12::d0d#53
dns          | 13-Aug-2021 04:24:34.636 address not available resolving './NS/IN': 2001:500:9f::42#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:500:200::b#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:503:ba3e::2:30#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:500:1::53#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:dc3::35#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:500:2f::f#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:500:2::c#53
dns          | 13-Aug-2021 04:24:34.640 address not available resolving './NS/IN': 2001:7fe::53#53
dns          | 13-Aug-2021 04:24:34.936 DNS format error from 192.58.128.30#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:34.936 FORMERR resolving './NS/IN': 192.58.128.30#53
dns          | 13-Aug-2021 04:24:35.216 DNS format error from 199.7.91.13#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:35.216 FORMERR resolving './NS/IN': 199.7.91.13#53
dns          | 13-Aug-2021 04:24:35.336 DNS format error from 193.0.14.129#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:35.336 FORMERR resolving './NS/IN': 193.0.14.129#53
dns          | 13-Aug-2021 04:24:35.552 DNS format error from 192.203.230.10#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:35.552 FORMERR resolving './NS/IN': 192.203.230.10#53
dns          | 13-Aug-2021 04:24:35.816 timed out resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 8.8.8.8#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:503:c27::2:30#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:2d::d#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:7fd::1#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:a8::e#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:12::d0d#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:9f::42#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:200::b#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:503:ba3e::2:30#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:1::53#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:dc3::35#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:2f::f#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:500:2::c#53
dns          | 13-Aug-2021 04:24:35.816 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2001:7fe::53#53
dns          | 13-Aug-2021 04:24:35.964 DNS format error from 192.112.36.4#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:35.964 FORMERR resolving './NS/IN': 192.112.36.4#53
dns          | 13-Aug-2021 04:24:36.212 DNS format error from 199.7.83.42#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:36.212 FORMERR resolving './NS/IN': 199.7.83.42#53
dns          | 13-Aug-2021 04:24:36.784 DNS format error from 199.9.14.201#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:36.784 FORMERR resolving './NS/IN': 199.9.14.201#53
dns          | 13-Aug-2021 04:24:37.064 DNS format error from 198.41.0.4#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:37.064 FORMERR resolving './NS/IN': 198.41.0.4#53
dns          | 13-Aug-2021 04:24:37.356 DNS format error from 198.97.190.53#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:37.356 FORMERR resolving './NS/IN': 198.97.190.53#53
webui        | Mongoose: accounts.findOne({ '$or': [ { username: 'admin' } ] }, { fields: { hash: 0, salt: 0 } })
pcscf        | 103(142) ERROR: <core> [core/tcp_read.c:299]: tcp_read_data(): error reading: Connection reset by peer (104) ([172.20.149.2]:41483 ->103(142) ERROR: <core> [core/tcp_read.c:303]: tcp_read_data(): -> [172.22.0.21]:5060)
pcscf        | 103(142) ERROR: <core> [core/tcp_read.c:1503]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f0d30935ec0 r: 0x7f0d30935f40 (-1)
pcscf        | 94(133) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 5
pcscf        | 94(133) INFO: cdp [authstatemachine.c:741]: Send_ASA(): Send_ASA():  sending ASA
pcscf        | 94(133) INFO: cdp [authstatemachine.c:766]: Send_ASA(): sending ASA to peer pcrf.epc.mnc006.mcc460.3gppnetwork.org
upf          | 08/13 04:24:38.188: [upf] INFO: [Removed] Number of UPF-sessions is now 2 (../src/upf/context.c:190)
pcscf        | 94(133) INFO: cdp [authstatemachine.c:773]: Send_ASA(): success sending ASA
pcscf        | 94(133) ERROR: cdp [routing.c:274]: get_routing_peer(): get_routing_peer(): No connected DefaultRoute peer found for app_id 16777236 and vendor id 0.
pcscf        | 94(133) ERROR: cdp [authstatemachine.c:870]: Send_STR(): unable to get routing peer in Send_STR
pcscf        | 90(129) INFO: ims_qos [ims_qos_mod.c:399]: callback_cdp_request(): Rx request handler(): - Received an IMS_ASR
sgwu         | 08/13 04:24:38.188: [sgwu] INFO: [Removed] Number of SGWU-sessions is now 2 (../src/sgwu/context.c:169)
sgwc         | 08/13 04:24:38.188: [sgwc] INFO: [Removed] Number of SGWC-Sessions is now 1 (../src/sgwc/context.c:869)
smf          | 08/13 04:24:38.188: [smf] INFO: Removed Session: UE IMSI:[460060000004901] DNN:[ims:0] IPv4:[172.20.149.2] IPv6:[] (../src/smf/context.c:1379)
smf          | 08/13 04:24:38.188: [smf] INFO: [Removed] Number of SMF-Sessions is now 1 (../src/smf/context.c:2486)
dns          | 13-Aug-2021 04:24:38.256 DNS format error from 192.5.5.241#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:38.256 FORMERR resolving './NS/IN': 192.5.5.241#53
dns          | 13-Aug-2021 04:24:38.372 timed out resolving '_.mnc001.mcc001.3gppnetwork.org/A/IN': 8.8.8.8#53
dns          | 13-Aug-2021 04:24:38.372 address not available resolving '_.mnc001.mcc001.3gppnetwork.org/A/IN': 2600:1801:1::1#53
dns          | 13-Aug-2021 04:24:38.372 address not available resolving '_.mnc001.mcc001.3gppnetwork.org/A/IN': 2600:1802:2::1#53
dns          | 13-Aug-2021 04:24:38.372 address not available resolving '_.mnc001.mcc001.3gppnetwork.org/A/IN': 2600:1801:3::1#53
dns          | 13-Aug-2021 04:24:38.372 address not available resolving '_.mnc001.mcc001.3gppnetwork.org/A/IN': 2600:1802:4::1#53
dns          | 13-Aug-2021 04:24:38.372 address not available resolving '_.mnc001.mcc001.3gppnetwork.org/A/IN': 2600:1800::1#53
mme          | 08/13 04:24:38.459: [mme] INFO: [Removed] Number of MME-Sessions is now 1 (../src/mme/mme-context.c:3252)
sgwc         | 08/13 04:24:38.460: [sgwc] INFO: [Added] Number of SGWC-Sessions is now 2 (../src/sgwc/context.c:863)
sgwu         | 08/13 04:24:38.460: [sgwu] INFO: UE F-SEID[CP:0x6 UP:0x6] (../src/sgwu/context.c:144)
sgwu         | 08/13 04:24:38.460: [sgwu] INFO: [Added] Number of SGWU-Sessions is now 3 (../src/sgwu/context.c:149)
mme          | 08/13 04:24:38.459: [mme] INFO: [Added] Number of MME-Sessions is now 2 (../src/mme/mme-context.c:3246)
smf          | 08/13 04:24:38.460: [smf] INFO: [Added] Number of SMF-Sessions is now 2 (../src/smf/context.c:2480)
smf          | 08/13 04:24:38.460: [smf] INFO: UE IMSI[460060000004901] APN[ims] IPv4[172.20.149.2] IPv6[] (../src/smf/s5c-handler.c:221)
upf          | 08/13 04:24:38.462: [upf] INFO: [Added] Number of UPF-Sessions is now 3 (../src/upf/context.c:160)
upf          | 08/13 04:24:38.462: [upf] INFO: UE F-SEID[CP:0x6 UP:0x6] APN[ims] PDN-Type[1] IPv4[172.20.149.2] IPv6[] (../src/upf/context.c:336)
dns          | 13-Aug-2021 04:24:38.580 DNS format error from 192.33.4.12#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:38.580 FORMERR resolving './NS/IN': 192.33.4.12#53
dns          | 13-Aug-2021 04:24:38.644 address not available resolving 'scscf.ims.mnc001.mcc001.3gppnetwork.org/A/IN': 2600:1800::1#53
dns          | 13-Aug-2021 04:24:38.808 DNS format error from 192.36.148.17#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:38.808 FORMERR resolving './NS/IN': 192.36.148.17#53
dns          | 13-Aug-2021 04:24:39.068 DNS format error from 202.12.27.33#53 resolving ./NS: non-improving referral
dns          | 13-Aug-2021 04:24:39.068 FORMERR resolving './NS/IN': 202.12.27.33#53
dns          | 13-Aug-2021 04:24:39.068 resolver priming query complete
pcscf        | 105(144) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc006.mcc460.3gppnetwork.org (sip:[email protected] (172.20.149.2:40895) to sip:[email protected], [email protected])
pcscf        | 105(144) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 105(144) NOTICE: <script>: PCSCF REGISTER:
pcscf        |  Destination URI: <null>
pcscf        |  Request URI: sip:ims.mnc006.mcc460.3gppnetwork.org
pcscf        | 105(144) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 105(144) NOTICE: <script>: Source IP and Port: (172.20.149.2:40895)
pcscf        |  Route-URI:
pcscf        | 105(144) NOTICE: <script>: Received IP and Port: (172.22.0.21:5060)
pcscf        | 105(144) NOTICE: <script>: Contact header: <sip:172.20.149.2:5060>;+sip.instance="<urn:gsma:imei:86682203-930920-0>";+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";+g.3gpp.smsip;video;+g.3gpp.accesstype="cellular2"
pcscf        | 105(144) INFO: ims_registrar_pcscf [sec_agree.c:296]: cscf_get_security_verify(): No security-verify parameters found
icscf        | 32(61) INFO: ims_icscf [cxdx_uar.c:71]: create_uaa_return_code(): created AVP successfully : [uaa_return_code]
icscf        | 11(40) INFO: ims_icscf [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_server_name: Failed finding avp
icscf        | 11(40) INFO: ims_icscf [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_result_code: Failed finding avp
icscf        | 11(40) INFO: ims_icscf [cxdx_uar.c:71]: create_uaa_return_code(): created AVP successfully : [uaa_return_code]
icscf        | 11(40) ERROR: <core> [core/resolve.c:1715]: sip_hostport2su(): could not resolve hostname: "scscf.ims.mnc001.mcc001.3gppnetwork.org"
icscf        | 11(40) ERROR: tm [ut.h:310]: uri2dst2(): failed to resolve "scscf.ims.mnc001.mcc001.3gppnetwork.org"
icscf        | 11(40) ERROR: tm [t_fwd.c:1728]: t_forward_nonack(): failure to add branches
icscf        | 11(40) ERROR: tm [tm.c:1679]: _w_t_relay_to(): t_forward_noack failed
icscf        | 10(39) ERROR: <core> [core/resolve.c:1715]: sip_hostport2su(): could not resolve hostname: "scscf.ims.mnc001.mcc001.3gppnetwork.org"
icscf        | 10(39) ERROR: tm [ut.h:310]: uri2dst2(): failed to resolve "scscf.ims.mnc001.mcc001.3gppnetwork.org"
icscf        | 10(39) ERROR: tm [t_fwd.c:1728]: t_forward_nonack(): failure to add branches
icscf        | 10(39) ERROR: tm [tm.c:1679]: _w_t_relay_to(): t_forward_noack failed
scscf        |  5(40) DEBUG: ims_dialog [dlg_handlers.c:1923]: print_all_dlgs(): ******************** 5(40) DEBUG: ims_dialog [dlg_handlers.c:1924]: print_all_dlgs(): printing 4096 dialogs

The error looks like finding scscf.ims.mnc001.mcc001.3gppnetwork.org DNS failed,but But I don't know why scscf.ims.mnc001.mcc001.3gppnetwork.orghappened.
This is the startup output of pcscf icscf scscf:

webui        | Client pings, but there's no entry for page: /
webui        | Mongoose: accounts.findOne({ '$or': [ { username: 'admin' } ] }, { fields: { hash: 0, salt: 0 } })
webui        | > Building page: /
pcscf        | mysqld is alive
icscf        |  0(29) INFO: <core> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
icscf        | loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/:/usr/lib/x86_64-linux-gnu/kamailio/modules/:/usr/local/lib64/kamailio/modules
icscf        | Listening on
icscf        |              udp: 172.22.0.19 [172.22.0.19]:4060
icscf        |              tcp: 172.22.0.19 [172.22.0.19]:4060
icscf        |              tcp: 127.0.0.1 [127.0.0.1]:4060
icscf        | Aliases:
icscf        |              *: ims.mnc006.mcc460.3gppnetwork.org:*

icscf        | 26(55) INFO: cdp [receiver.c:459]: receiver_process(): receiver_process(): [hss.ims.mnc006.mcc460.3gppnetwork.org] Receiver process starting up...
scscf        |  0(35) INFO: <core> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
scscf        | loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/:/usr/lib/x86_64-linux-gnu/kamailio/modules/:/usr/local/lib64/kamailio/modules
scscf        | Listening on
scscf        |              udp: 172.22.0.20 [172.22.0.20]:6060
scscf        |              tcp: 172.22.0.20 [172.22.0.20]:6060
scscf        | Aliases:
scscf        |              *: scscf.ims.mnc006.mcc460.3gppnetwork.org:*

fhoss        | [main] INFO  org.apache.catalina.core.StandardHost  - XML validation disabled
pcscf        |  0(39) INFO: <core> [core/tcp_main.c:5042]: init_tcp(): using epoll_lt as the io watch method (auto detected)
pcscf        | loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/:/usr/lib/x86_64-linux-gnu/kamailio/modules/:/usr/local/lib64/kamailio/modules
pcscf        | Listening on
pcscf        |              udp: 172.22.0.21 [172.22.0.21]:5060
pcscf        |              tcp: 172.22.0.21 [172.22.0.21]:5060
pcscf        | Aliases:
pcscf        |              *: pcscf.ims.mnc006.mcc460.3gppnetwork.org:*

The pcap file has attached,please help analyze it,thanks!!!
volte_register.zip

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

It seems to be a bug in my ICSCF scripts, one more person raised similar issue. Please follow the steps in the following order

  1. #47 (comment)
  2. #47 (comment)

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Hi @herlesupreeth Thank you for your response!!
I will follow the steps you said and have a try,I'll let you know what will happens.
But I still want to ask if the script can be modified directly, and whether the dockers need to be rebuild after that?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

In my opinion, the scripts can be modified directly, no need to rebuild

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

OK,could you share your scripts files?Because I'm not quite sure how do I modify it.
It would be great if I could get your help

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Hi @herlesupreeth, I have checked the ./icscf/icscf_init.sh already and find the command what you mentioned above is the same:

Try executing the following manually the icscf container

mysql -u root -h ${MYSQL_IP} icscf -e "INSERT INTO s_cscf (name, s_cscf_uri) VALUES ('First and only S-CSCF', 'sip:scscf.$IMS_DOMAIN:6060');"
mysql -u root -h ${MYSQL_IP} icscf -e "INSERT INTO nds_trusted_domains (trusted_domain) VALUES ('$IMS_DOMAIN');"

So I don't know how to modify the script, do I need to add that mysql deletion before this?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on May 27, 2024

Pull the latest commit and re-compile only the fhoss. It should be work then

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

@herlesupreeth Thank you very much!It's very helpful!
I've pulled it and recompiled it.But due to time constraints, I can only test next Monday.
I'll get back to you with any results!

from docker_open5gs.

myonlystarWang avatar myonlystarWang commented on May 27, 2024

Hi @herlesupreeth ,with your very kind help,I can see the VOLTE HD logo in my phone now!
As for the question of VOLTE calling, I will initiate it in another issue.
This issue can be closed. Thank you very, very much again!

from docker_open5gs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.