End Point Manager problem

Hi,

Endpoint manager version 2.11.0.1.89

I have a problem with End Point Manager provisioning aastra 6753i and 6751i phones.
The problem is that sometime the configuration file for the phone is missing a couple of vital lines, the “sip line1 password”, and “sip line1 screen name”

When I do get a bad configuration file, if I do a rebuild configs on it then the missing lines are usually added correctly.

Bad file:-

#Configuration automatically generated via the EndPoint Module
#DO NOT HAND MODIFY THIS FILE!
#generated: Fri, 03 Oct 2014 10:32:11 +0100

###############################################################################
# Common configuration
###############################################################################
tagging enabled: "1"
VLAN id: "10"
admin password: "537541"
user password: "300300"
paging group listening: ""
sip dial plan: "x+#|xx+*"
auto resync mode: "3"
auto resync time: "05:00"
sip line1 auth name: "2427"
sip line1 user name: "2427"
sip line1 display name: "2427"
sip line1 proxy ip: "172.24.0.1"
sip line1 proxy port: "5060"
sip line1 registrar ip: "172.24.0.1"
sip line1 registrar port: “5060”

Then rebuild configs and I get a good file:-

#Configuration automatically generated via the EndPoint Module
#DO NOT HAND MODIFY THIS FILE!
#generated: Fri, 03 Oct 2014 10:33:17 +0100

###############################################################################
# Common configuration
###############################################################################
tagging enabled: "1"
VLAN id: "10"
admin password: "537541"
user password: "300300"
paging group listening: ""
sip dial plan: "x+#|xx+*"
auto resync mode: "3"
auto resync time: "05:00"
sip line1 auth name: "2427"
sip line1 password: "200fc3f0615b605214229f4a971b3dc0"
sip line1 user name: "2427"
sip line1 display name: "2427"
sip line1 screen name: "Nigel Millwood"
sip line1 proxy ip: "172.24.0.1"
sip line1 proxy port: "5060"
sip line1 registrar ip: "172.24.0.1"
sip line1 registrar port: “5060”

As can be seen two extra lines have appeared and it works fine.

I noticed a load of the following errors in the Freepbx.log which look relevant:-

[2014-Oct-03 11:58:13] [PHP-NOTICE] (/drbd/httpd/www/html/admin/modules/endpoint/functions.inc/functions_aastra.php:461) - Undefined index: value
[2014-Oct-03 11:58:13] [PHP-NOTICE] (/drbd/httpd/www/html/admin/modules/endpoint/functions.inc/functions_aastra.php:461) - Undefined index: key
[2014-Oct-03 11:58:13] [PHP-NOTICE] (/drbd/httpd/www/html/admin/modules/endpoint/functions.inc/functions_aastra.php:461) - Undefined index: value
[2014-Oct-03 11:58:13] [PHP-NOTICE] (/drbd/httpd/www/html/admin/modules/endpoint/functions.inc/functions_aastra.php:461) - Undefined index: key
[2014-Oct-03 11:58:13] [PHP-NOTICE] (/drbd/httpd/www/html/admin/modules/endpoint/functions.inc/functions_aastra.php:461) - Undefined index: value

Any suggestions as to what is wrong?

Thanks

Paul

Are you adding these mappings from the extension mapping section of EPM or from the extension page? If extension page yes this is a problem with hooks in FreePBX 2.11 and older and is fixed in 12.

Hi,

Thanks, yup the problem does occur when adding these mapping from the extension page. SO may be I will have to look at updating to version 12 as soon as its released. We are busy testing and installing a new system for about 800 extensions but there maybe time to upgrade to 12 when released as long as we don’t break too much that’s already working:-)

Paul