From 15d7543a49844b9b0bf392f70716cb678e3d281c Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 15 Apr 2014 13:43:25 +0200 Subject: [PATCH] change default behavior regarding changing srtp keys. They are now not changed by reINVITEs. --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index e3127a3e6..4b5f985d4 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -248,7 +248,7 @@ static void setup_encryption_keys(LinphoneCall *call, SalMediaDescription *md){ LinphoneCore *lc=call->core; int i; SalMediaDescription *old_md=call->localdesc; - bool_t keep_srtp_keys=lp_config_get_int(lc->config,"sip","keep_srtp_keys",0); + bool_t keep_srtp_keys=lp_config_get_int(lc->config,"sip","keep_srtp_keys",1); for(i=0; in_active_streams; i++) { if (md->streams[i].proto == SalProtoRtpSavp) {