add svc_phone-phone_name-max_length config, RT#7047
[freeside.git] / httemplate / edit / svc_phone.cgi
index 4715ec1..b77d962 100644 (file)
@@ -44,7 +44,10 @@ push @fields, { field => 'pbxsvc',
               },
               'sip_password',
               'pin',
-              'phone_name',
+              { field => 'phone_name',
+                type  => 'text',
+                maxlength => $conf->config('svc_phone-phone_name-max_length'),
+              },
 
               { value   => 'E911 Information',
                 type    => 'tablebreak-tr-title',