Giter VIP home page Giter VIP logo

Comments (14)

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Interesting, are you sure you are using the latest commits in this repo?

image

Looks like P-CSCF is unable to forward the INVITE to the UE and get stuck. Seems to be a bug in kamailio.

When this problem occurs, i cannot call anymore and I must disconnect/reconnect both phones with airplane mode.

This is because when the call failed over IMS, UE attempts call over circuit switched network (which is not there). This also fails and then UE gets released from the network

image

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Can you please send me the p-cscf logs with DEBUG enabled when the above call fails occurs?

from docker_open5gs.

JulienSrcdImta avatar JulienSrcdImta commented on June 16, 2024

No, I am pointing on:
commit b538301 (HEAD -> master, origin/master, origin/HEAD)
Author: herlesupreeth [email protected]
Date: Mon Feb 26 12:06:28 2024 +0100

More parameter section of open5gs config under global section

I will be out of the lab for one week, but when I'll be back, I'll update and send you the PCSCF log.

Thanks for your support and explanations.

from docker_open5gs.

JulienSrcdImta avatar JulienSrcdImta commented on June 16, 2024

Hi @herlesupreeth,

I updated the repo to the last commit but I have the same error.

I took the pcscf log but I am not sure about how to enable DEBUG level.
In kamailio_pcscf.cfg I commented line 38 and 39 to let only the debug=4 and log_stderror=yes :

#!ifdef WITH_DEBUG
debug=4
log_stderror=yes
#!else
#debug=2
#log_stderror=no
#!endif

Then I took the log with:
docker logs -f pcscf &> /tmp/with_asus_op8_call_rejected_2_pcsf_log_debug.txt

If it is not the good way please tell me how to do it.

with_asus_op8_call_rejected_2_pcsf_log_debug.txt
with_asus_op8_call_rejected_2.pcap.zip

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

@JulienSrcdImta sorry for the late response. In your latest pcap you attached I see all calls successfully completing and I dont see any issue. Did you face any issue?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Nevermind, I found the packet number where the issue. Will let you know if I find any issue. I found one unrelated bug will fix that too.

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Here is how to enable logs in debug.

Change the following in pcscf.cfg

##!define WITH_DEBUB

to

#!define WITH_DEBUG

from docker_open5gs.

JulienSrcdImta avatar JulienSrcdImta commented on June 16, 2024

Thank you.
Yes I face an issue after several call success.
The first "strange" sip packet in the log is number 21846.

Otherwise I am surprised with your comment to activate debug in pcscf.
the sharp symbol "#" seems to be used for comments.
So I see no difference between:
##!define WITH_DEBUB
and
#!define WITH_DEBUG

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Otherwise I am surprised with your comment to activate debug in pcscf.
the sharp symbol "#" seems to be used for comments.
So I see no difference between:
##!define WITH_DEBUB
and
#!define WITH_DEBUG

If there is one # before ! then its not a comment. It will be a comment if there is two # before !

from docker_open5gs.

JulienSrcdImta avatar JulienSrcdImta commented on June 16, 2024

Ok, so my PCSCF log (posted 2 weeks ago) should be ok as in the config file there is:
#!ifdef WITH_DEBUG

Thanks for the support!

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Ok, so my PCSCF log (posted 2 weeks ago) should be ok as in the config file there is:
#!ifdef WITH_DEBUG

No, you have to enable in pcscf.cfg (not in kamailio_pcscf.cfg)

#!define WITH_DEBUG

from docker_open5gs.

JulienSrcdImta avatar JulienSrcdImta commented on June 16, 2024

Oups, my bad, sorry.

Here is two new logs (pcscf logs are split in two files)
with_asus_op8_call_rejected_pcsf_log_debug.pcap.zip

with_asus_op8_call_rejected_pcsf_log_debug_part1.txt
with_asus_op8_call_rejected_pcsf_log_debug_part2.txt
rejected_pcsf_log_debug.pcap.zip)

It fails at first attempt this time (message 1996 in the pcap).
I am not able to find the corresponding lines in the pcscf log file as I have strange chars at the beginning of most of the lines. Is it timestamp ?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

I am not able to find the corresponding lines in the pcscf log file as I have strange chars at the beginning of most of the lines. Is it timestamp ?

I think its the color encoding but I maybe wrong

Thanks for the logs. I am more or less sure where the problem is but need to ask in kamailio mailing list for a possible workaround. In the meantime can you add the following in kamailio_scscf.cfg just above the following section and give it a try.

udp_mtu = 1300
udp_mtu_try_proto = TCP

system.shutdownmode = 0 desc "System shutdown mode"
system.service = "Serving-CSCF" desc "Function of this server"

from docker_open5gs.

JulienSrcdImta avatar JulienSrcdImta commented on June 16, 2024

I just tested with your new configs but I have the same issue.

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.