asterisk-11.x: fix srtp when key lifetime is specified
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
parent
54a41da8cc
commit
445277b004
2 changed files with 13 additions and 1 deletions
|
@ -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/
|
||||
|
|
12
net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch
Normal file
12
net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch
Normal 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;
|
Loading…
Reference in a new issue