hamidlee / fusionpbx

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

Snom M3 template issue #899

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. do a provision for an snom m3
2. same if you copy m3 and make m9 template
3.

What is the expected output? What do you see instead?

Nice clean page of XML from the provision template is expected, I change on 
device page to snom/7xx and I get a nice page of provisioning xml

What version of the product are you using? On what operating system?
System Information
Version 3.7.1
Operating System    Linux switch 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 
x86_64 GNU/Linux

Please provide any additional information below.

When using the M3 template I get :

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template 
"/var/www/fusionpbx/resources/templates/provision/snom/m3/{$mac}.cfg" on line 
176 "%SUBSCR_7_UA_DATA_AUTH_PASS%:"{$user_password-*}" // insert SIP password 
here" - Unexpected "*" <-- thrown in 
/var/www/fusionpbx/resources/templates/engine/smarty/sysplugins/smarty_internal_
templatecompilerbase.php on line 176

Going to the URL : 
http://switch.domain.com/app/provision/index.php?mac=0004133095D7

Original issue reported on code.google.com by netea...@gmail.com on 31 Mar 2015 at 7:00