[freeside-commits] freeside/fs_selfservice/FS-SelfService/SelfService FreeRadiusVoip.pm, 1.8, 1.9
Ivan,,,
ivan at wavetail.420.am
Fri Oct 24 15:54:02 PDT 2008
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/SelfService
In directory wavetail.420.am:/tmp/cvs-serv12135/SelfService
Modified Files:
FreeRadiusVoip.pm
Log Message:
use Reply-Message for the RADIUS error message, RT#4100
Index: FreeRadiusVoip.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- FreeRadiusVoip.pm 24 Oct 2008 21:26:20 -0000 1.8
+++ FreeRadiusVoip.pm 24 Oct 2008 22:53:59 -0000 1.9
@@ -36,13 +36,13 @@
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'};
More information about the freeside-commits
mailing list