res_rtp_asterisk: Issue ERROR if res_srtp is not found.
authorSean Bright <sean@malleable.com>
Fri, 8 May 2015 15:39:42 +0000 (15:39 +0000)
committerSean Bright <sean.bright@gmail.com>
Fri, 8 May 2015 18:34:18 +0000 (13:34 -0500)
commit63c71c9f4a21595b5c0020b235da67260df8d555
treec9b7f815bd7eb0dfc66cdc574ea7f15b6f81c28b
parentf2d147a838630bb288201e080b1698e8640a8412
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
res/res_rtp_asterisk.c