Git Product home page Git Product logo

Comments (7)

MCFHTAGENTS avatar MCFHTAGENTS commented on August 18, 2024 1

ok - asterisk have confirmed the number is actually an error count not an error code. I need to confirm what is being used on the peer but am assuming it is related to SIPS not being used properly or old libraries.

from libsrtp.

pabuhler avatar pabuhler commented on August 18, 2024

Hi @MCFHTAGENTS ,

I think all returns values should be one of the srtp_err_status_xxx, I will try to trackdown where this 160 comes from.
The documentation should also be updated, my understand here is that it could be an other value from the srtp_err_status_xxx list.

What version and configuration of libSRTP are you using ? ie with OpenSSL or not.

from libsrtp.

MCFHTAGENTS avatar MCFHTAGENTS commented on August 18, 2024

Thank you. version 2.5 but embedded in Asterisk 2.7. Am not 100% sure how to evidence whether OpenSSL is in use!

from libsrtp.

pabuhler avatar pabuhler commented on August 18, 2024

@MCFHTAGENTS , I have looked but can not find where the value 160 would be returned :( .
As far as 10 well that is "srtp_err_status_replay_old", which means the seq number of the current packet is determined to be to far in the past.
If you have captured a sequence of packets that create the error then it might be possible to reproduce and find the cause.
Are you sure the error does not come from Asterisk?

from libsrtp.

MCFHTAGENTS avatar MCFHTAGENTS commented on August 18, 2024

Thank you
https://community.freepbx.org/t/documentation-of-error-codes/96259/5
They didn’t think it was Asterisk. My current hypothesis is it’s down to one end not supporting sips properly

from libsrtp.

pabuhler avatar pabuhler commented on August 18, 2024

Either way I have not found anywhere were we would not return a value not from the srtp_err_status_t list so the value of 160 is still a mystery.
Are any of the received packets successfully unprotected?
The return value 10, is about jumps, gaps & reordering of RTP sequence numbers, not specifically related to encryption. So to understand why you get that you need to look at the sequence of RTP packets that are being received.

from libsrtp.

MCFHTAGENTS avatar MCFHTAGENTS commented on August 18, 2024

I would say yes. i have a full log from Asterisk and from the calling device but don't want to post it to a public forum
Agreed re 10 - am wondering if it is a consequence of the 160

from libsrtp.

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.