From: Jeremy Davis Date: Thu, 12 Dec 2013 16:39:58 +0000 (-0500) Subject: #21337 terminate-action changes X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=16e4d124e582098b658ef544b5f550f2055b7b4f #21337 terminate-action changes --- diff --git a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm index 6086717ec..25f673f4a 100644 --- a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm +++ b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm @@ -51,6 +51,7 @@ sub authorize { return RLM_MODULE_REJECT; } elsif ( $response->{'seconds'} ) { $RAD_REPLY{'Session-Timeout'} = $response->{'seconds'}; + $RAD_REPLY{'Termination-Action'} = 0; return RLM_MODULE_OK; } else { # if the called number is free, put 1 in the Termination-Action attribute