Request 'OPTIONS' from - Failed to authenticate


I setup a freePBX iso to connect to 2 asterisk servers (stock asterisk 16 and 18). Registration is OK

freepbx-centos*CLI> pjsip show registrations

<Registration/ServerURI…> <Auth…> <Status…>

labo-sip/sip: labo-sip Registered (exp. 2700s)

but I have in logs on server (where I registered)

2022-11-11 19:00:12] NOTICE[3343424]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request ‘OPTIONS’ from ‘<sip:labo-sip AT>’ failed for ‘’ (callid: 82a603dc-73a8-41b0-9a81-79a3d482d69d) - Failed to authenticate

and on the freePBX one

[2022-11-11 19:00:14] WARNING[7756]: res_pjsip_outbound_authenticator_digest.c:554 digest_create_request_with_auth: Host: ‘’: Authentication credentials not accepted by server.

Any clue on this ?

Got it: the From: in the header is setted to the trunk name insteed of the username. Adding from_user in endpoint definition did the trick.

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