From 638e1f5f0e1df8bbf88de547dadc85b327fb03ee Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 5 Jan 2015 13:26:45 -0500 Subject: [PATCH] Default to enabling status-before-login In the wild, Bibliotheca, Envisionware, Relais, and 3M clients have all been observed requesting status before login. Default to enabling the behaviour by default. Signed-off-by: Dan Scott --- SIPconfig.xml | 2 +- Sip/Configuration/Service.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SIPconfig.xml b/SIPconfig.xml index ce5d939..976083b 100644 --- a/SIPconfig.xml +++ b/SIPconfig.xml @@ -49,7 +49,7 @@ port="127.0.0.1:6001/tcp" transport="RAW" protocol="SIP/2.00" - allow_sc_status_then_login="disabled" + allow_sc_status_then_login="enabled" timeout="60" /> diff --git a/Sip/Configuration/Service.pm b/Sip/Configuration/Service.pm index 88fe971..875f817 100644 --- a/Sip/Configuration/Service.pm +++ b/Sip/Configuration/Service.pm @@ -41,7 +41,7 @@ sub timeout { sub allow_sc_status_then_login { my $self = shift; - return $self->{'allow_sc_status_then_login'} =~ /true|yes|enabled/i ? 1 : 0; + return $self->{'allow_sc_status_then_login'} =~ /false|no|disabled/i ? 0 : 1; } 1; -- 2.11.0