[asterisk-users] Couldn't find auth 'provider'

Marek Greško mgresko8 at gmail.com
Tue Oct 19 13:18:27 CDT 2021


Hello,

I am observing error:
res_pjsip/pjsip_configuration.c:2368 ast_sip_retrieve_auths: Couldn't find
auth 'provider'. Cannot authenticate.
res_pjsip_outbound_authenticator_digest.c:144
digest_create_request_with_auth: Endpoint: 'provider': Failed to set
authentication credentials

I use config below. It reports the auth section is missing, but it is
apparently here.

What am I doing wrong?

Thanks

Marek

; ================================================

[global]
type = global
debug = no

[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0
external_media_address = x.x.x.x
external_signaling_address = x.x.x.x
local_net =192.168.1.0/255.255.255.0

[provider]
type = registration
transport = transport-udp
outbound_auth = provider
server_uri = sip:...
client_uri = sip:...
contact_user = username
retry_interval = 20
forbidden_retry_interval = 600
expiration = 120
;max_retries = 10

[provider]
type = auth
auth_type = userpass
username = username
password = password

[provider]
type = endpoint
context = provider-in
dtmf_mode = rfc4733
;direct_media = no
from_domain = provider.domain
force_rport = yes
rewrite_contact = yes
rtp_symmetric = yes
allow_subscribe = no
outbound_auth = provider
aors = provider
disallow = all
allow = alaw
allow = ilbc
allow = g729
allow = gsm
allow = g723

[provider]
type = aor
contact = sip:...
qualify_frequency = 15

[provider]
type = identify
endpoint = provider
match = ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20211019/3671253c/attachment.html>


More information about the asterisk-users mailing list