Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

408 Timeout Error and Register msg not going beyond P-CSCF #366

Open
ajaydas03 opened this issue Sep 6, 2024 · 11 comments
Open

408 Timeout Error and Register msg not going beyond P-CSCF #366

ajaydas03 opened this issue Sep 6, 2024 · 11 comments

Comments

@ajaydas03
Copy link

ajaydas03 commented Sep 6, 2024

Hi,

The registration failed at the P-CSCF level and P-CSCF not sending the registration to further IMS nodes, according to softphone have a 408 timeout error (Twinkle softphone).

3(44) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc001.mcc001.3gppnetwork.org (sip:[email protected] (192..x.x.x:5060) to
pcscf100.zip
sip:[email protected], rufvtgvzhzbsmum@openshift)
4(45) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc001.mcc001.3gppnetwork.org (sip:[email protected] (192..x.x.x:5060) to sip:[email protected], rufvtgvzhzbsmum@openshift)
1(42) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc001.mcc001.3gppnetwork.org (sip:[email protected] (192..x.x.x:5060) to sip:[email protected], rufvtgvzhzbsmum@openshift)
1(42) INFO: rr [rr_mod.c:585]: pv_get_route_uri_f(): No route header present.
1(42) NOTICE: <script>: PCSCF REGISTER:
Destination URI:
Request URI: sip:ims.mnc001.mcc001.3gppnetwork.org
1(42) INFO: rr [rr_mod.c:585]: pv_get_route_uri_f(): No route header present.
1(42) NOTICE: <script>: Source IP and Port: (192..x.x.x:5060)
Route-URI:
1(42) NOTICE: <script>: Received IP and Port: (192..x.x.x:5060)
1(42) NOTICE: <script>: Contact header: sip:[email protected];expires=3600
1(42) INFO: ims_registrar_pcscf [sec_agree.c:268]: cscf_get_security(): No security parameters found
1(42) INFO: ims_registrar_pcscf [sec_agree.c:302]: cscf_get_security_verify(): No security-verify parameters found
1(42) ERROR: cdp [routing.c:296]: get_routing_peer(): get_routing_peer(): No connected DefaultRoute peer found for app_id 16777236 and vendor id 10415.
1(42) ERROR: cdp [diameter_comm.c:144]: AAASendMessage(): AAASendMessage(): Can't find a suitable connected peer in the routing table.
1(42) ERROR: ims_qos [ims_qos_mod.c:1660]: w_rx_aar_register(): Failed to send AAR
1(42) ERROR: ims_qos [ims_qos_mod.c:1712]: w_rx_aar_register(): Error trying to send AAR
1(42) WARNING: tm [t_lookup.c:2046]: t_unref(): script writer didn't release transaction
2(43) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc001.mcc001.3gppnetwork.org (sip:[email protected] (192..x.x.x:5060) to sip:[email protected], rufvtgvzhzbsmum@openshift)
3(44) NOTICE: <script>: PCSCF: REGISTER sip:ims.mnc001.mcc001.3gppnetwork.org (sip:[email protected] (192..x.x.x:5060) to sip:[email protected], rufvtgvzhzbsmum@openshift)
3(44) INFO: rr [rr_mod.c:585]: pv_get_route_uri_f(): No route header present.
3(44) NOTICE: <script>: PCSCF REGISTER:
Destination URI:
Request URI: sip:ims.mnc001.mcc001.3gppnetwork.org
3(44) INFO: rr [rr_mod.c:585]: pv_get_route_uri_f(): No route header present.
3(44) NOTICE: <script>: Source IP and Port: (192..x.x.x:5060)
Route-URI:
3(44) NOTICE: <script>: Received IP and Port: (192..x.x.x:5060)
3(44) NOTICE: <script>: Contact header: sip:[email protected];expires=3600
3(44) INFO: ims_registrar_pcscf [sec_agree.c:268]: cscf_get_security(): No security parameters found
3(44) INFO: ims_registrar_pcscf [sec_agree.c:302]: cscf_get_security_verify(): No security-verify parameters found

@ajaydas03
Copy link
Author

Thanks!!! Yuncheng,

will try and check.

@ajaydas03
Copy link
Author

HI Team/Yuncheng,

Can you please help me to TS the above issue.

Yuncheng,

The link/PW which you have shared is not visible currently could you please help.

Thanks

@herlesupreeth
Copy link
Owner

Always upload a pcap trace taken while you register the UE in order to debug. Logs are not always helpful

@ajaydas03
Copy link
Author

Hi Supreeth,

PFA,

pcscf100pcap.txt

@herlesupreeth
Copy link
Owner

Thanks.. Couple of observations, I see that your UE is in the same subnet as P-CSCF, why? Also, looks like you are not using this repo. If you are not using this repo its hard to debug without knowing your test setup.

Second, the Contact SIP header sent by the UE is wrong, it should be sip:[email protected]

image

@ajaydas03
Copy link
Author

Supreeth,

We are using your repo only, the only thing is we used our own subnets and tried testing with different "IMSI".

Also for your information we had achieved the first IMS registration successfully after that we started the debugging about 2nd UAR/UAA which we did not get after 401 (challenge response to S-CSCF).

Will check further as per your observation and let you know if gets resolved or any new issue come.

Thanks

@ajaydas03
Copy link
Author

Supreeth,

Registration issue have been resolved now. I rebuild and did not make changes on your repo.

Just one thing to clear as per IMS registration call flow I-CSCF should query with HSS (UAR/UAA) post 401 unauthorized as I-CSCF is stateless proxy but i am not seeing that.

Please help here to clarify.

Thanks

@herlesupreeth
Copy link
Owner

I-CSCF has to query HSS and it does. If you could take a pcap on the machine running docker_open5gs when you attempt registration of UE and post it here I can show it to you

@ajaydas03
Copy link
Author

Hi Supreeth,

As suggested i ran the pcap in same machine where docker_open5gs is running.

Please find the pcap.

Thanks
sip_reg_930_3pcap.txt

@herlesupreeth
Copy link
Owner

image

here you can see UAR and UAA

@ajaydas03
Copy link
Author

ajaydas03 commented Oct 7, 2024

Hi Supreeth,

As we know that I-CSCF is stateless proxy, so it does not store any information. post 401 unauthorized there should be one more UAR/UAA also as per call flow that i wanted to clear. but looks like code is written only for first UAR/UAA diameter message.

Please find the IMS registration call flow SS.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@herlesupreeth @ajaydas03 and others