X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_phone.pm;h=965f3a5770c2821caa00d02e26d1678a7572a2f9;hb=2641816698538bbe52d56365266a66e292ce08f1;hp=b91ba6551cbbe6fcabc21a631db3caf1dbf8e24c;hpb=ee2d1447f9130fb9ed20d54f0169ab7a8f87167e;p=freeside.git diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index b91ba6551..965f3a577 100644 --- a/FS/FS/svc_phone.pm +++ b/FS/FS/svc_phone.pm @@ -2,6 +2,7 @@ package FS::svc_phone; use strict; use vars qw( @ISA @pw_set ); +use FS::Conf; #use FS::Record qw( qsearch qsearchs ); use FS::svc_Common; @@ -217,6 +218,35 @@ sub check_pin { $check_pin eq $self->pin; } +=item radius_reply + +=cut + +sub radius_reply { + my $self = shift; + #XXX Session-Timeout! holy shit, need rlm_perl to ask for this in realtime + {}; +} + +=item radius_check + +=cut + +sub radius_check { + my $self = shift; + my %check = (); + + my $conf = new FS::Conf; + + $check{'User-Password'} = $conf->config('svc_phone-radius-default_password'); + + %check; +} + +sub radius_groups { + (); +} + =back =head1 BUGS