summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-10-24 22:53:59 +0000
committerivan <ivan>2008-10-24 22:53:59 +0000
commit71511219f5ccc68f66cc440aaa4b0826d7312d35 (patch)
treec3d96e03c268a596acff9821e406df023668d788
parentf7f4bae5a7f8891957eed9a10bbdfc8363bc08e9 (diff)
use Reply-Message for the RADIUS error message, RT#4100
-rw-r--r--fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm
index 5f244d4a7..0df24f7d7 100644
--- a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm
+++ b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm
@@ -36,13 +36,13 @@ use constant RLM_MODULE_NUMCODES=> 9; #How many return codes there are
sub authorize {
- #my $src = $RAD_REQUEST{'User-Name'};
+ #&log_request_attributes();
my $response = call_time( 'src' => $RAD_REQUEST{'Calling-Station-Id'},
'dst' => $RAD_REQUEST{'Called-Station-Id'}, );
if ( $response->{'error'} ) {
- $RAD_REPLY{'Access-Reject'} = $response->{'error'};
+ $RAD_REPLY{'Reply-Message'} = $response->{'error'};
return RLM_MODULE_REJECT;
} else {
$RAD_REPLY{'Session-Timeout'} = $response->{'seconds'};