Request 'OPTIONS' from - Failed to authenticate

Hi,

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:10.0.70.12 labo-sip Registered (exp. 2700s)

but I have in logs on 10.0.70.12 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 192.168.12.251>’ failed for ‘192.168.12.251:5060’ (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: ‘10.0.70.12:5060’: 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.