Upgrade 3CX to v18 and get it hosted free!

SER faq authenticate

Author image

Question

In debugging yet another SIP hardware device I found that it was not authenticating after an INVITE. That is, the device sends me ‘INVITE’, I say ‘401‘, it says ‘SIP method ack‘, but I never hear from it again.

I am expecting another INVITE with the proper credentials…

In talking with the hardware vendor they let me know that I should be sending back a 407 instead of a 401. I have always done a www_challenge sequence, but, I wonder if that is truly proper. After all, SER is a proxy. Should I be challenging with a ‘proxy_challenge’?

Answer:

The standard wants to use proxy_challenge (407) for proxies, www_challenge (401) for UAS such as registrar. The practical value of having two does not seem to be big to me, but if it makes your device happy, there should be no issue.

So use www_challenge and www_authorize for REGISTERs and proxy_challenge|proxy_authorize for non-REGISTERs.

 


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.