DSL status pulling, RT#13656
[freeside.git] / FS / FS / svc_dsl.pm
index b02e74f..5e6a149 100644 (file)
@@ -279,6 +279,15 @@ sub check {
   $self->SUPER::check;
 }
 
+=item gateway_access_or_phonenum
+
+=cut
+
+sub gateway_access_or_phonenum {
+  my $self = shift;
+  $self->gateway_access_number || $self->phonenum;
+}
+
 =item dsl_device
 
 Returns the MAC addresses associated with this DSL service, as FS::dsl_device