D70 provisioning : https 401 code

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

D70 provisioning : https 401 code

Postby jonaskellens » Wed Jan 22, 2014 5:20 am

Hello,

I'm trying to provision a Digium D70 IP-phone from a https provisioning server.

The Digium D70 contacts the provisioning server correctly but seems to log in with the wrong credentials :

/var/log/ssl_access_log :

XX.XX.XX.46 - - [22/Jan/2014:12:15:09 +0100] "GET /101001/000fd3068c59.cfg HTTP/1.1" 401 481
XX.XX.XX.46 - - [22/Jan/2014:12:15:10 +0100] "GET /101001/000FD3068C59.cfg HTTP/1.1" 401 481
XX.XX.XX.46 - - [22/Jan/2014:12:15:10 +0100] "GET /101001/000000000000.cfg HTTP/1.1" 401 481
XX.XX.XX.46 - - [22/Jan/2014:12:15:11 +0100] "GET /101001 HTTP/1.1" 401 481

I am absolutely sure that I have given the correct username and password in the Digium D70 phone.

I have tried logging in with my Firefox browser to the provisioning server, and that is succesful ! I get asked for the username and password, and I can see the content of the cfg-file.

/var/log/ssl_access_log :

XX.XX.XX.46 - 101001 [22/Jan/2014:12:32:26 +0100] "GET /101001/000fd3068c59.cfg HTTP/1.1" 200 2257

The difference I see is the "101001", which is the username.

So why can the Digium D70 IP-phone not log in with these same credentials ? It seems to be forgetting the username "101001".

EDIT :

I see the following in the logs of the https provisioning server :

[Wed Jan 22 14:00:34 2014] [error] [client XX.XX.XX.46] Digest: client used wrong authentication scheme `Basic': /101001

So how do I get the Digium IP-phone to use the md5 authentication ??
jonaskellens
Oldsterisk
 
Posts: 81
Joined: Wed Apr 08, 2009 2:01 pm

Re: D70 provisioning : https 401 code

Postby malcolmd » Wed Jan 22, 2014 10:08 am

Howdy,

It won't use MD5. It only uses Basic.

Cheers
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US


Return to Digium Phone API

Who is online

Users browsing this forum: No registered users and 1 guest