In firmware version 3.0.* the LED status is exposed in a more
generalized settings endpoint /api/v1/set_device with a response body
like:
{
"error": "ok",
"message": "all values retrieved",
"data": {
"username": "admin",
"login_password": "",
"led": "true",
"http_state": "false"
},
"token": "xxxxx"
}
After upgrade to firmware version 3.0.41-IMS-KDG
vodafone-station-exporter stopped working
crashing with a segmentation violation after querying
/api/v1/phone_calllog/1,2/CallTbl.
Checking the HTTP traffic all API requests requiring authentication
failed with HTTP error 401 and JSON response
{"error":"error","message":"Unauthorized user!"}
Adding a simple GET request to /api/v1/session/menu directly after the
final login POST request fixes this.