[asterisk-commits] res rtp asterisk: Issue ERROR if res srtp is not found. (asterisk[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 8 15:55:07 CDT 2015
Matt Jordan has submitted this change and it was merged.
Change subject: res_rtp_asterisk: Issue ERROR if res_srtp is not found.
......................................................................
res_rtp_asterisk: Issue ERROR if res_srtp is not found.
While trying to get WebRTC working with chan_pjsip, I was running
into the following error:
Attempted to set an invalid DTLS-SRTP configuration on RTP
instance...
Josh helpfully pointed out that res_srtp.so might not be loaded, and
sure enough, it wasn't. This patch adds a ERROR indiciating as much
to hopefully help others having a similar problem.
Change-Id: I13aa477b47b299876728a21b130998a0ea6cd19f
---
M res/res_rtp_asterisk.c
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Matt Jordan: Looks good to me, approved; Verified
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 62601dc..de75626 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -1270,6 +1270,7 @@
}
if (!ast_rtp_engine_srtp_is_registered()) {
+ ast_log(LOG_ERROR, "SRTP support module is not loaded or available. Try loading res_srtp.so.\n");
return -1;
}
--
To view, visit https://gerrit.asterisk.org/411
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I13aa477b47b299876728a21b130998a0ea6cd19f
Gerrit-PatchSet: 4
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
More information about the asterisk-commits
mailing list