D65 phone XML-API

Freepbx version 16 . D65 phone. DPMA
I am trying to use contact manager to add contacts since speed dial is not available on Freepbx 16. Phone gets config from pbx but I dont see contacts and this is what I have in access_log

“GET /dphoneApi.php/xml HTTP/1.1” 401 28 “-” “Digium D65 2_9_23_4 000FD30DXXXX”

The .xml file associated to my extension shows contacts but I done know how to set it to get my extensions .xml file.
Any idea?

Assuming the 401 is the status code, which seems to be the case, you are being asked to authenticate.

Where is this auth set ? Https auth in set to none in system admin. And phone auth setting is set to none ( DPMA managent)

I see this in .cfg file . And I am not connecting to switchvox. So I removed this section ,

<setting id="pbx_credentials" value="SWVX-7151" network="0.0.0.0/0"

pbx_credentials
For Switchvox-connected phones only, specifies the set of credentials used by an application when the use_pbx_credentials appconfig parameter is true. This should be omitted for phones connecting to something other than Switchvox.

Could this be the issue?

Freepbx 16, using phoneapps for S310. DPMA
Base file shows

But .cfg file shows

And

The issue I am having , phoneapp does not work. And in access_log I get 401 error.
If I edit these lines in .cfg and remove pbx
_ceredntial , I get 400 error message in access_log

Is this a bug?

Freepbx 16, DPMA

This is the message I get in access-log
“GET /dphoneApi.php/xml HTTP/1.1” 401 28 “-” “Sangoma P310 4_18_2 000FD3XXXXXX”
127.0.0.1 - - [06/Mar/2025:14:49:20 -0500] “POST /dphoneApi.php/xml HTTP/1.1” 400 226 “-” “Sangoma P310 4_18_2 000FD3XXXXXX”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.