[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,

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

Changing

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

by

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

solve the issue.