Comments (7)
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.
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.
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.
@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.
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.
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.
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)
- How to compile libsrtp2.3.0 with AES-GCM cipher group support ? HOT 1
- Cross-compile libsrtp to Windows (64-bit) is failing given that OpenSSL can't be found HOT 1
- When is safe to use srtp_remove_stream? HOT 2
- Bad link in README.md HOT 1
- Release Version 3.0.0 HOT 3
- Use consistent types through out code base HOT 1
- Review public API
- libsrtp + openssl + certificates HOT 2
- remove NO_64BIT_MATH code
- Cygwin compile broken HOT 3
- update config options for crypto backend
- ABI break in 2.6.0 HOT 2
- meson ci build failing with mbedtls on macos HOT 2
- meson ci builds failing for openssl on macos HOT 4
- Failure to update key after mki failure HOT 3
- consider merging the gcm encrypt and get tag functions of cipher api
- Authentication error return by srtp_unprotect for AES CM 256 HMAC SHA1 80 HOT 4
- srtp_unprotect returns success, but the entire payload except for the header turns into 0xFF. HOT 5
- Consider making some of the private headers public HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsrtp.