Giter VIP home page Giter VIP logo

Comments (8)

jmordica avatar jmordica commented on June 3, 2024

I also have the pcap of the blind transfer if that helps as well. I don't see anything wrong with the SIP headers at first glance.

from asterisk.

jcolp avatar jcolp commented on June 3, 2024

Is there debug level information? Does Asterisk crash? Was Asterisk built with DONT_OPTIMIZE? What is the specific usage? Are you using external_replaces? If Asterisk is locked as you say please provide a deadlock backtrace[1] as well.

[1] https://docs.asterisk.org/Development/Debugging/Getting-a-Backtrace/?h=backtrace#reporting-crashes-and-deadlocks

from asterisk.

jmordica avatar jmordica commented on June 3, 2024

Asterisk itself is not locked. Dialplan operations can continue when this happens so thereโ€™s no deadlock backtrace. The PJSIP stack gets locked and can no longer take INVITE requests.

Yes using external_replaces, however, in this case the logs for external_replaces never show because this error happens before any actual dialplan logs are produced.

This is a routine blind transfer from an endpoint using REFER after receiving an inbound call.

the issue only occurs after 4+ days of asterisk running. No other errors in the logs and memory usage is ~2GB (which seems fine).

from asterisk.

jcolp avatar jcolp commented on June 3, 2024

That's still a deadlock, so a backtrace would show where exactly the PJSIP stack is stuck which may provide better insight into the particular scenario or case that is causing the issue. Debug level information can also show the full progression of events, such as other threads that may be involved or have done something to cause a problem.

from asterisk.

jmordica avatar jmordica commented on June 3, 2024

Is a backtrace required in order for this issue to move forward or would debug logging be good enough? If so, any specific module debug or just core debug?

from asterisk.

jcolp avatar jcolp commented on June 3, 2024

Ideally, both. The more information provided the easier it can be to diagnose and resolve issues. Can I just accept the issue without a backtrace? I can, but if someone else comes along and sees that PJSIP is locked and there's no backtrace then they'll probably just ignore the issue since it's too much effort for them and not even take a look or give any thought to working on it. No particular module comes to mind for debug, a core debug would be best.

Less friction for someone to work on an issue, the higher chance someone may.

from asterisk.

github-actions avatar github-actions commented on June 3, 2024

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 14 days.

from asterisk.

github-actions avatar github-actions commented on June 3, 2024

This issue was closed because it has been stalled for 14 days with no activity.

from asterisk.

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.