projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix contact self-service password reset link vs. outlook, RT#32657
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
SelfService
/
FreeRadiusVoip.pm
diff --git
a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm
b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm
index
6086717
..
25f673f
100644
(file)
--- 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'};
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
return RLM_MODULE_OK;
} else {
# if the called number is free, put 1 in the Termination-Action attribute