My digest authentication looks correct but keeps getting challenged. Why?
Almost always the realm. Ours is always 5.9.65.215, on both addresses, never your own host.
| Check | Correct value | Common mistake |
|---|---|---|
| Realm | 5.9.65.215 | Using your own host, or changing it for the secondary address |
| Username | Bare value | Appending @domain |
| qop | Omit it | Sending qop=auth, which we do not offer |
| REGISTER | Not required | Registering first; a trunk answers the challenge per call |
A hash computed over any other realm cannot match. The symptom of a wrong realm is specific: a correct-looking response, challenged again.
