Comments (4)
There is no crash here. Asterisk says it's going to exit and then it does.
from asterisk.
Ok, crash is not the best word to describe.
Asterisk not work if module is load.
from asterisk.
This does not appear to be specific to asterisk. If you compile and run this simple program:
[rocky@host]$ cat simple.c
#include <stdio.h>
#include <srtp2/srtp.h>
int main(int argc, char *argv[])
{
srtp_err_status_t status = srtp_init();
if (status != srtp_err_status_ok) {
fprintf(stderr, "Failed to initialize libsrtp (%d)\n", status);
return 1;
}
srtp_shutdown();
return 0;
}
[rocky@host]$ LDLIBS=$(pkg-config libsrtp2 --libs) make simple
cc simple.c -lsrtp2 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -o simple
[rocky@host]$ ./simple
Failed to initialize libsrtp (8)
Error 8
is srtp_err_status_cipher_fail
. I haven't dug in to this enough to know why it's happening but it's not asterisk that is causing it.
from asterisk.
As @seanbright stated, this is not an Asterisk issue but an issue with the underlying system libsrtp. Other individuals ended up resolving this by building libsrtp themselves, installing it, and using it as you have. It appears as though the packaged version has some kind of issue. I don't think load behavior is something we would change for this.
from asterisk.
Related Issues (20)
- [bug]: Watchers for call parking being deactivated during reload HOT 3
- [bug]: Park() application does not continue execution if lot is full HOT 15
- [bug]: Contact header in REGISTER response contains incorrect IPv6 address and port with multiple Contacts HOT 15
- [bug]: Unstable memory usage after multiple diaplan reload, no memory leak HOT 2
- [bug]: app_voicemail: Multiple executions of unit tests cause segfault
- [bug]: First call after system being idle, res_timing_pthread module causes high cpu usage. HOT 1
- [bug]: make install doesn't create the stir_shaken cache directory
- [bug]: Possible SEGV in res_stir_shaken due to wrong free function
- [bug]: app.c:3114 parse_options: Unrecognized option: 'X' when Monitor has b parameter HOT 3
- [improvement]: Allow for attended transfer to complete while in early state HOT 3
- [bug]: Prometheus bridge metrics contains duplicate entries and help
- [new-feature]: pjsip show contact -- show all details same as AMI PJSIPShowContacts HOT 1
- [bug]: Occasional SEGV in res_pjsip_stir_shaken.c
- [improvement]: Document EXTEN can include options/parameters for PJSIP HOT 11
- [improvement]: pjsip: Upgrade bundled version to pjproject 2.14.1
- [bug]: create_tables.py fails when trying to create MySQL 8.3 tables. HOT 2
- [improvement]: reduce boot time by ~20% by removing unnecessary xml config queries HOT 2
- [improvement]: Increase length of realtime host HOT 1
- [improvement]: Configurable TCP Keepalive Settings in PJSIP Transports
- [improvement]: Add support for Debian:Bullseye
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 asterisk.