Cant register pbx to public provider (

Asterisk Ready.

*CLI> [Apr 30 20:46:12] NOTICE[16063]: res_pjsip/pjsip_configuration.c:2409 ast_sip_retrieve_auths: Couldn’t find auth ‘voipms’. Cannot authenticate

[Apr 30 20:46:12] WARNING[16063]: res_pjsip_outbound_registration.c:674 handle_client_registration: Failed to set initial authentication credentials

[Apr 30 20:46:12] WARNING[16063]: res_pjsip/pjsip_configuration.c:2435 ast_sip_retrieve_auths_vector: Auth object ‘voipms’ could not be found

[Apr 30 20:46:12] WARNING[16063]: res_pjsip_outbound_registration.c:1108 handle_registration_response: Failed to create authenticated REGISTER request to server ‘’ from client ‘’

[Apr 30 20:46:12] WARNING[16063]: res_pjsip_outbound_registration.c:1183 handle_registration_response: Fatal response ‘401’ received from ‘’ on registration attempt to ‘’, stopping outbound registration

pjsip.conf (partial)






external_media_address=my public ip is here

external_signaling_address=my public ip is here



type = registration

transport = transport-udp-nat

outbound_auth = voipms

client_uri =

;client_uri =

server_uri =








type = auth

auth_type = userpass

username 338929_test

password = ******



type = aor

contact =



type = endpoint

transport = transport-udp-nat

context = in-out

disallow = all

allow = ulaw

from_user = 338929_test

auth = voipms

outbound_auth = voipms

aors = voipms

rtp_symetric = yes

rewrite_contact = yes

send_rpid = yes

There is no = sign here, so it’s invalid. This would have been stated when the configuration was loaded when Asterisk started.

You have also misspelt “rtp_symmetric” in the endpoint. This would have also been stated when Asterisk loaded.

thanks. I should have seen thoses typos. Now I can register.

nice day and thanks

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