arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

gateway username and password required for fusionpbx 3.7.1 #826

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the username field and password field set to required even if register field 
select to false:

echo "    <input class='formfld' type='text' name='username' maxlength='255' 
autocomplete='off' value=\"$username\" required='required'>\n";

echo "    <input class='formfld' type='password' name='password' id='password' 
autocomplete='off' maxlength='255' onmouseover=\"this.type='text';\" 
onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { 
this.type='password'; }\" onblur=\"this.type='password';\" value=\"$password\" 
required='required'>\n";

It will solve the problem if removed required='required'

Original issue reported on code.google.com by spw...@gmail.com on 28 Jan 2015 at 4:46

GoogleCodeExporter commented 9 years ago
freeswitch requires those field, you can populate it with junk if registration 
is false.

Original comment by nysoluti...@gmail.com on 28 Jan 2015 at 5:14

GoogleCodeExporter commented 9 years ago
We cannot add gateway if the username and password empty even if register field 
is selected false because of required='required'.

In the stable version 3.6.3, there is no required='required'

Original comment by spw...@gmail.com on 28 Jan 2015 at 5:28

GoogleCodeExporter commented 9 years ago
That feature was added as users left the field blank and then freeswitch 
rejected the calls, we now made the field required so you enter something in 
the fields.

Original comment by nysoluti...@gmail.com on 28 Jan 2015 at 5:39

GoogleCodeExporter commented 9 years ago
Gateway username and password used to be required in FreeSWITCH when 
registration was set to false. However I just tested it on FreeSWITCH 1.4.15 
and that has been fixed. So I removed the username and password requirement 
when using register false.

Original comment by markjcrane@gmail.com on 29 Jan 2015 at 7:11