Wazo requiring authentication from a voip provider trunk

Hello everybody!

I managed to register a trunk from a voip provider and I’m making some calls to wazo, but wazo always returns 401, requesting authentication from the voip provider to be able to receive the call. Analyzing the Asterisk logs it actually fails due to an authentication error. My question is, I’ve been learning about VoIP for some time, but why is the client requesting authentication from the server to be able to receive calls? How can I disable this on wazo?

hi,

please, refer to your provider documentation.

you simply can’t disable it, because it’s your provider who need to secure the connection.

not related on wazo.

give some details for better help.

who is your provider ?

cheers

Let’s say I’m my own provider, I have an instance of Magnus Billing (https://www.magnusbilling.org/) and a trunk of it that I’m trying to register with Wazo. I added some prints of how my configuration is, all the other tabs that are not in the prints are empty, I don’t know if this is the correct way, but it was the way I was able to identify with some guides on the internet and here on the forum itself . Regarding the documentation, I saw that it only addresses configuration via API, without any guide to carry it out via Wazo UI.

under trunk,
set templates:
image

in outbound auth
set the same as you have in “registration authbound auth”
they should be the same setting
this is surely why you have the 401 error

under endpoint, set it like

under AOR

thanks to provide feedback.

cheers

Thank you very much!

After making your adjustments, other errors appeared to me, but they were very objective and I managed to resolve them. Now everything works normally.

Great !!

Can you share the other adjustements you made ?

Maybe someone else is interested, or with this information, we can make a plugin to easily create the trunk.

cheers