[asterisk-bugs] [JIRA] (ASTERISK-22717) Error sdp crypto - sdp_crypto.c:173

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Oct 18 09:32:04 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211032#comment-211032 ] 

Matt Jordan commented on ASTERISK-22717:
----------------------------------------

Are you sure you have res_srtp compiled and loaded?

This WARNING message implies that either {{res_srtp}} is not loaded, or {{libsrtp}} rejected creation of the security policy:

{noformat}
[2013-10-18 10:38:11] DEBUG[9655] sip/sdp_crypto.c: local_key64 ro1ZxO7b1bZyMSBq3b7600oGxh8IICcMYPF5vwcm len 40
[2013-10-18 10:38:11] WARNING[9655] sip/sdp_crypto.c: Could not set SRTP policies
{noformat}

Given that I've never seen creation of a key policy fail in {{libsrtp}}, I would suspect that {{res_srtp}} is not loaded or otherwise not available.
                
> Error sdp crypto - sdp_crypto.c:173
> -----------------------------------
>
>                 Key: ASTERISK-22717
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22717
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_crypto, Resources/res_srtp
>    Affects Versions: 1.8.23.1
>            Reporter: Martin
>         Attachments: issue_22717_full_log
>
>
> Hello, good morning. Can you help me? Upgrade asterisk to 1.8.23.1 and i have errors in srtp policies negotiation. The error is the following:
> 2013-10-14 13:01:58] WARNING[28065]: sip/sdp_crypto.c:173 sdp_crypto_activate: Could not set SRTP policies
> [2013-10-14 13:01:58] WARNING[28065]: sip/sdp_crypto.c:173 sdp_crypto_activate: Could not set SRTP policies
> [2013-10-14 13:01:58] WARNING[28065]: chan_sip.c:9622 process_sdp: Rejecting secure audio stream without encryption details: audio 4002 RTP/SAVP 18 0 8 9 101
> The version library srtp is 1.4.4 and the operaron system y debian.
> Thanks you
> Regards

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list