[SOLVED]ENDPOINT template for CISCO SPA922

2 posts / 0 new
Last post
tboulogne
tboulogne's picture
[SOLVED]ENDPOINT template for CISCO SPA922

Hello,

I get a problem with the endpoint(2.10.3.7) template for linksys spa922 :
The dialpan parameter is not set into the config file.

I do some debug into the phone.php file locate in the spa folder of endpoint, and i find that $dial_plan is empty (i put a dialplan into the manager form...).

So, could you help to solve this please ?

Thanks for help.

Regards,

tboulogne
tboulogne's picture
For records

In the cisco/spa/phone.php, line 27

Changing

 if ((isset($line_data['secret']) && ($line_data['secret'] != "") && (isset($line_data['dial_plan'])))) {
 $line_data['dial_plan'] = htmlentities($this->settings['dial_plan']);

by

 if ((isset($line_data['secret']) && ($line_data['secret'] != "") && (isset($this->settings['dial_plan'])))) {
 $line_data['dial_plan'] = htmlentities($this->settings['dial_plan']);

solve the issue.

Thierry BOULOGNE
------------------------
Bordeaux - France