Cant register pbx to public provider (voip.ms)

CLI :
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 ‘sip:montreal1.voip.ms’ from client ‘sip:338929_test@montreal1.voip.ms’

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

pjsip.conf (partial)

[transport-udp-nat]

type=transport

protocol=udp

bind=0.0.0.0

local_net=192.168.1.200/24

external_media_address=my public ip is here

external_signaling_address=my public ip is here

;

[voipms]

type = registration

transport = transport-udp-nat

outbound_auth = voipms

client_uri = sip:338929_test@montreal1.voip.ms

;client_uri = sip:338929@sip.voip.ms:5060

server_uri = sip:montreal1.voip.ms

retry_interval=60

forbidden_retry_interval=600

expiration=3600

line=yes

endpoint=voipms

;

[voipms]

type = auth

auth_type = userpass

username 338929_test

password = ******

;

[voipms]

type = aor

contact = sip:338929_test@montreal1.voip.ms

;

[voipms]

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