Giter VIP home page Giter VIP logo

Comments (12)

jcolp avatar jcolp commented on June 14, 2024

Have you tested with the inclusion of the patch from #403?

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

Or if you revert 315eb551dbd18ecd424a2f32179d4c1f6f6edd26 does it resolve it?

from asterisk.

InterLinked1 avatar InterLinked1 commented on June 14, 2024

I applied the patch from #403 and it resolved my minimally reproducible example but not the actual issue that I stumbled into in the first place, so now I'll have to come up with a new, more complex example.

This happens with all channel technologies, not just PJSIP, so I think it's safe to say it is not resolved by either of the above.

I've narrowed down now I can make the issue reproduce or not reproduce based on replacing same => n,Dial(Local/s@dialme/n,,G(split)) with something suitably more complex. I'm trying to narrow that down to something minimal and will report back.

from asterisk.

InterLinked1 avatar InterLinked1 commented on June 14, 2024

Okay, I figured out how to get it to still reproduce with #403.

Just add another layer of dialing a Local channel. So add:

[dialme2]
exten => s,1,Dial(Local/${EXTEN}@dialme/n,,g)
	same => n,Hangup()

And then change the Dial to:

same => n,Dial(Local/s@dialme2/n,,G(split))

from asterisk.

gtjoseph avatar gtjoseph commented on June 14, 2024

Try reverting the commit @jcolp mentioned above. We've had another report of this (and can reproduce it) and narrowed it down to that commit from November 2022.

from asterisk.

gtjoseph avatar gtjoseph commented on June 14, 2024

@InterLinked1 We were going to cut release candidates today so if you can test the revert and it fixes your issue, we can include the revert in the RCs.

from asterisk.

InterLinked1 avatar InterLinked1 commented on June 14, 2024

@InterLinked1 We were going to cut release candidates today so if you can test the revert and it fixes your issue, we can include the revert in the RCs.

This seems to be somewhat subtle. The example I showed actually didn't reproduce with DAHDI so maybe you guys are right that it's that PJSIP thing.

However, I reverted lines 1938-1946 in res_pjsip_session.c, and the issue still happens with that modified reproducible example. Didn't bother with the test_media_add lines.

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

The res_pjsip_session change is not the huge change, the change to channel.c is.

from asterisk.

gtjoseph avatar gtjoseph commented on June 14, 2024

I'm not following. Did you revert the changes in channel.c from 315eb55?

from asterisk.

InterLinked1 avatar InterLinked1 commented on June 14, 2024

The res_pjsip_session change is not the huge change, the change to channel.c is.

Ah, I'm dumb. I saw that but it looked like the same code from #403 so I assumed I already had it and #403 was just reverting that bit. Same code but different file.

Yes, this resolves the new example and the original issue - thanks for the catch!

from asterisk.

alex2grad avatar alex2grad commented on June 14, 2024

If "core & res_pjsip: Improve topology change handling." is reverted by #532.
Do we still need #403?

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

It's not strictly required, but does no harm in still being present.

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.