Extension not register with tls and srtp

I have asterisk 18.20 on ubuntu

Have generated the certificates as mentioned in https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial . Also configured sip.conf accordingly, added the ca.crt and malcolm.pem in softphone but it is not registering. I guess its not authenticating.

Not sure if I’m missing something.

Please Guide me

You need to be more specific. Is it not able to connect? Is anything shown on Asterisk? What does the endpoint say? Does it connect but the REGISTER fails?

This is the Logs i am getting, i do same configuration same as official documentation

<— Transmitting (NAT) to IP:57634 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.5.51.203:57634;branch=z9hG4bK-d8754z-1034ed167e137736-1—d8754z-;received=IP;rport=57634
From: <sip:extension@IP:Port>;tag=4b65001e
To: <sip:ext@IP:Port>;tag=as4a7262b9
Call-ID: MjZjNzc5ZmVjYjU5NjIwMjg3NDQ5ZDViZGYyOWZhM2I.
CSeq: 3 REGISTER
Server: Asterisk PBX 18.20.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce=“28688892”
Content-Length: 0

That log is clearly incomplete. Most REGISTER requests will receive a 401. The registrant will then resend with authentication information. However, 401 cannot be sent unless the REGISTER was received.

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