asterisk-11.x: fix srtp when key lifetime is specified

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2015-02-01 22:48:13 +01:00
parent 54a41da8cc
commit 445277b004
2 changed files with 13 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk11
PKG_VERSION:=11.15.0
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/

View file

@ -0,0 +1,12 @@
--- a/channels/sip/sdp_crypto.c
+++ b/channels/sip/sdp_crypto.c
@@ -252,8 +252,7 @@
lifetime = strsep(&info, "|");
if (lifetime) {
+ ast_log(LOG_NOTICE, "Crypto life time unsupported: %s. Ignoring.\n", attr);
- ast_log(LOG_NOTICE, "Crypto life time unsupported: %s\n", attr);
- continue;
}
found = 1;