From 7c827c71344499495daa82cc061346a2641267b8 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 7 Nov 2016 15:16:00 +0100 Subject: [PATCH] Fix incorrect status report by linphonecsh. --- console/commands.c | 2 +- tester/flexisip/flexisip.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/console/commands.c b/console/commands.c index 72510bd65..449af0695 100644 --- a/console/commands.c +++ b/console/commands.c @@ -2070,7 +2070,7 @@ static int lpc_cmd_status(LinphoneCore *lc, char *args) linphonec_out("hook=paused sip:%s\n",linphonec_get_callee()); break; case LinphoneCallIdle: - linphonec_out("hook=offhook\n"); + linphonec_out("hook=on-hook\n"); break; case LinphoneCallStreamsRunning: case LinphoneCallConnected: diff --git a/tester/flexisip/flexisip.conf b/tester/flexisip/flexisip.conf index 5ad6cb028..5c29e9e7f 100644 --- a/tester/flexisip/flexisip.conf +++ b/tester/flexisip/flexisip.conf @@ -605,7 +605,7 @@ time-period=15000 # Maximum packet rate received in [time-period] millisecond(s) to # consider it as a DoS attack. # Default value: 20 -packet-rate-limit=5 +packet-rate-limit=10 # Number of minutes to ban the ip/port using iptables (might be # less because it justs uses the minutes of the clock, not the seconds.