D & P series phones - New Template - LDAP Error

Specifically, the D & P Phones new template button fails to load and generates a Error.

I can create a new template for the S Series Phones (not that it would be useful)

Whoops \ Exception \ ErrorException (E_WARNING)

Undefined array key “ldapServerAddress”

SOme additional Error Info:

5

Whoops\Exception\ErrorException

/var/www/html/admin/modules/endpoint/EndpointDigium.class.php1204

Environment & details:

GET Data

display “endpoint”
new “1”
view “digium”

POST Data empty

Files empty

Cookies

lang “en_US”
searchHide “1”
PHPSESSID “069ud1niminr2s6jb0jkjb2uve”
_ga “GA1.1.1517068437.1736872940”
_ga_D02TQL8VZ9 “GS1.1.1736973987.8.1.1736975070.0.0.0”

Session

langdirection “ltr”
module_name “endpoint”
module_page “endpoint”
AMP_user ampuser {#1}

Server/Request Data

SCRIPT_URL “/admin/config.php”
SCRIPT_URI http://192.168.0.48:8080/admin/config.php
SSLSETUP “true”
HTACCESS “on”
HTTP_HOST “192.168.0.48:8080”
HTTP_CONNECTION “keep-alive”
HTTP_UPGRADE_INSECURE_REQUESTS “1”
HTTP_USER_AGENT “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0”
HTTP_ACCEPT “text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7”
HTTP_REFERER http://192.168.0.48:8080/admin/config.php?display=endpoint&view=digium
HTTP_ACCEPT_ENCODING “gzip, deflate”
HTTP_ACCEPT_LANGUAGE “en-US,en;q=0.9,en-CA;q=0.8”
HTTP_COOKIE “lang=en_US; searchHide=1; PHPSESSID=069ud1niminr2s6jb0jkjb2uve; _ga=GA1.1.1517068437.1736872940; lang=en_US; _ga_D02TQL8VZ9=GS1.1.1736973987.8.1.1736975070.0.0. :arrow_forward:
PATH “/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”
SERVER_SIGNATURE “”
SERVER_SOFTWARE “Apache”
SERVER_NAME “192.168.0.48”
SERVER_ADDR “192.168.0.48”
SERVER_PORT “8080”
REMOTE_ADDR “192.168.0.128”
DOCUMENT_ROOT “/var/www/html”
REQUEST_SCHEME “http”
CONTEXT_PREFIX “”
CONTEXT_DOCUMENT_ROOT “/var/www/html”
SERVER_ADMIN “[no address given]”
SCRIPT_FILENAME “/var/www/html/admin/config.php”
REMOTE_PORT “63293”
GATEWAY_INTERFACE “CGI/1.1”
SERVER_PROTOCOL “HTTP/1.1”
REQUEST_METHOD “GET”
QUERY_STRING “display=endpoint&new=1&view=digium”
REQUEST_URI “/admin/config.php?display=endpoint&new=1&view=digium”
SCRIPT_NAME “/admin/config.php”
PHP_SELF “/admin/config.php”
REQUEST_TIME_FLOAT 1736975088.9151
REQUEST_TIME 1736975088

Environment Variables empty

Registered Handlers

  1. Whoops\Handler\PrettyPageHandler

Bugs should be reported on GitHub

Hello,

I wasnt 100% sure if this was a bug or not so before concluding that this is, i wanted to confirm via the community that im not missing anything prior to submitting.

What version are you on?

FreePBX 17 (Debian 12.9.0)
EPM 17.0.2

This needs to be reported as this is a coding issue it looks like.

Do you by chance have any other brands/models that you could try to create a template for, to determine whether this is an issue only with D&P? I’m wondering if you’re having the same problem I did here.

I’m going to check this out but unfortunately I do not have any other phones to try.

And what is kind of annoying, Is that the phones themselves need to be provisioned this way for proper functionality. I’m not even sure if I can get away with manually provisioning them. The p310-320-330 is what’s running.

And I can see to get certain details properly provisioned either. (That might turn into a different post after I have solved this issue to ensure one isn’t tied to the other).

I did not pay for endpoint manager because the phones should include that license.

But I’m going to look over what you have tagged tomorrow as it does seem similar.

Edit: I gave it a read. So to clarify, I’m not trying to import anything from version 15 or any other version for that matter. I am trying to create a new template by clicking on the new template button, and I’m getting an ldap error. I can edit the default template but I cannot rename it and I notice that sometimes default_template can cause issues during provisioning.

As right now it tries to grab default_template but it doesn’t provision the extension. Haven’t as a result, I cannot dial out.

We discovered this during our testing and got resolved yesterday itself.

Please use endpoint v17.0.2.2 moving forward.

fwconsole ma downloadinstall endpoint --tag=17.0.2.2
1 Like

Resolved!