xyj70 / fusionpbx

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

Provisioning Module forces all MAC addresses to lower case #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to enter a mac address with uppercase letters
2.
3.

What is the expected output? What do you see instead?
The case should be preserved.  mac is set to lower case

What version of the product are you using? On what operating system?
-r1877

Please provide any additional information below.
aastra phones request <mac>.cfg in UPPERCASE characters.  If writing out the 
config files to a tftp directory for provisioning, files are written out in 
lowercase.  when the phone boots, it requests UPPERCASE.cfg, and the tftp 
server doesn't find the file.

Original issue reported on code.google.com by n...@servercorps.com on 19 Feb 2012 at 10:55

GoogleCodeExporter commented 9 years ago
Patch Attached which fixes this and two more bugs:
 variable v_linenumber_displayname is improperly replaced with line number, it should be effective_caller_id

the files do not get written to v_http_provision_dir, even if it's set in the 
Settings

Original comment by n...@servercorps.com on 20 Feb 2012 at 11:47

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in revision 2401 thanks for reporting the issue I couldn't apply the 
patch directly too many changes to this file but it showed me what needed to be 
worked on.

Original comment by markjcrane@gmail.com on 12 Apr 2012 at 7:17