Hi Sven,
Well, to prevent fields from being required you have to do a very simple
thing:
- edit the file :
/var/www/opensips-cp/web/tools/users/user_management/lib/user_management.test.inc.php
- for example, if you want to stop alias username from being required
just comment the following lines :
if ($form_valid)
if ($alias=="") {
$form_valid=false;
$form_error="- invalid<b>Alias</b> field -";
}
You can do the same for the other fields - just find them (the names are very
intuitive) and comment the lines above.
Unfortunately, for now, there is no way of "configuring" what fields are
required and what fields are not.
Hope this helps you !
Regards,
Alex
On 5/18/2010 23:21, Sven Schulz wrote:
Running opensips 1.6.2 and opensips-cp 4.0
I would like to prevent certain required fields in opensips-cp from
being... required. For example, when adding a new user (Users -> Users
Management-> Add new user) I don't want alias username and email to be
a required field. Where can I set this up?
Sven Schulz
Penn State University
Telecommunications and Network Services
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Alex Ionescu
www.voice-system.ro
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users