From: Jiri Slachta Date: Sun, 1 Feb 2015 21:48:13 +0000 (+0100) Subject: asterisk-11.x: fix srtp when key lifetime is specified X-Git-Url: http://git.openwrt.org/feed/telephony.git/?a=commitdiff_plain;h=445277b00492957f42a494ac09d70afc88d43da8;p=feed%2Ftelephony.git asterisk-11.x: fix srtp when key lifetime is specified Signed-off-by: Jiri Slachta --- diff --git a/net/asterisk-11.x/Makefile b/net/asterisk-11.x/Makefile index 8e3d412..120fb83 100644 --- a/net/asterisk-11.x/Makefile +++ b/net/asterisk-11.x/Makefile @@ -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/ diff --git a/net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch b/net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch new file mode 100644 index 0000000..fbebb1e --- /dev/null +++ b/net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch @@ -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;