diff options
author | ivan <ivan> | 2008-10-24 19:57:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-10-24 19:57:01 +0000 |
commit | edeb6e91840e4110ce41cadcb8d26cfe883b781a (patch) | |
tree | 886e5a35ff497605732f036dc1d56388db15bf12 /fs_selfservice/FS-SelfService | |
parent | 1b7db3fe3d9049141a13721d658747fe2a006859 (diff) |
rlm_perl hook for prepaid voip radius, RT#4100
Diffstat (limited to 'fs_selfservice/FS-SelfService')
-rw-r--r-- | fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm index 47a2bfa78..e494f2712 100644 --- a/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm +++ b/fs_selfservice/FS-SelfService/SelfService/FreeRadiusVoip.pm @@ -44,6 +44,10 @@ use constant RLM_MODULE_NOOP=> 7; #module succeeded without doing anything use constant RLM_MODULE_UPDATED=> 8; #OK (pairs modified) use constant RLM_MODULE_NUMCODES=> 9; #How many return codes there are +sub authorize { + return $LM_MODULE_OK; +} + sub authenticate { #my $src = $RAD_REQUEST{'User-Name'}; |