Git Product home page Git Product logo

Comments (14)

rfuchs avatar rfuchs commented on June 24, 2024

More information please. What happened in this call previously and who's sending what kind of RTP traffic where?

from rtpengine.

virmis avatar virmis commented on June 24, 2024

Cisco phone <---> asterisk <---> kamailio + rtpengine <---> sipml5

Cisco phone calls to sipml5, sipml5 answers, call is established, then sipml5 presses hold this happen.

from rtpengine.

rfuchs avatar rfuchs commented on June 24, 2024

So rtpengine was talking SRTP to sipml and RTP to asterisk. Then sipml went sendonly, and then rtpengine started sending SRTP to asterisk? Is that what you're saying?

from rtpengine.

virmis avatar virmis commented on June 24, 2024

yes, that's right

from rtpengine.

virmis avatar virmis commented on June 24, 2024

Here's trace from asterisk:
https://www.dropbox.com/s/pkbfeumgboqt9y3/glue.pcap?dl=0

from rtpengine.

rfuchs avatar rfuchs commented on June 24, 2024

The pcap shows that the call is hung up (BYE in packet 1411) before the re-invite to sendonly (1412). Also there's no RTP packets after this point.

I tried reproducing what you describe but I can't.

from rtpengine.

virmis avatar virmis commented on June 24, 2024

What can be wrong? Maybe I'm calling rtpengine_manage with wrong options?

from rtpengine.

rfuchs avatar rfuchs commented on June 24, 2024

Can you make a pcap of the other side as well, and also post the full rtpengine log for the entire call please. I'm guessing that packet 1409 is what triggers the error in asterisk.

from rtpengine.

virmis avatar virmis commented on June 24, 2024

Hi,

took pcap from kamailio to sipml5, also here's log files from rtpengine and from sipml5:
https://www.dropbox.com/sh/mt4zu396frb3be0/AACZriVHq5h7xL4DbcmLV1Jqa?dl=0

from rtpengine.

rfuchs avatar rfuchs commented on June 24, 2024

Can you please try apply the following patch, recompile and see if that fixes your issue?

diff --git a/daemon/call.c b/daemon/call.c
index 548f98c..c60cd6c 100644
--- a/daemon/call.c
+++ b/daemon/call.c
@@ -611,8 +611,7 @@ static int stream_packet(struct stream_fd *sfd, str *s, struct sockaddr_in6 *fsi

        if (MEDIA_ISSET(media, DTLS) && is_dtls(s)) {
                ret = dtls(stream, s, fsin);
-               if (!ret)
-                       goto done;
+               goto done;
        }

        if (PS_ISSET(stream, STUN) && is_stun(s)) {

from rtpengine.

virmis avatar virmis commented on June 24, 2024

Did not work, still getting the same.

from rtpengine.

rfuchs avatar rfuchs commented on June 24, 2024

Anything helpful in the logs? I can't see to find any actual logs in what you've uploaded earlier, there's only some MacOS specific files that I don't know what to do with.

from rtpengine.

virmis avatar virmis commented on June 24, 2024

Sorry. Moved from pages to txt files:
https://www.dropbox.com/sh/mt4zu396frb3be0/AACZriVHq5h7xL4DbcmLV1Jqa?dl=0

from rtpengine.

rfuchs avatar rfuchs commented on June 24, 2024

I've finally been able to reproduce this and the above commit should fix this issue for you. Let me know if there's any more problems.

from rtpengine.

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.