SIP server authentication


#1

Is it smart to authenticate two Asterisk servers that are connected with SIP? The same question goes for IAX2.

I have two * servers that will be connected together over Internet with SIP protocol. Can I and shuld I authenticate one to another (use username and secret)?

What about IAX2?

Tomislav


#2

Id say IAX is the way to go, simpler, faster, better.


#3

I agree. When It’s up to me, I chose IAX". Sometimes it isn’t up to me, so sometimes I have to use SIP.

btw, do you know the answer? Do I need, is it smart, is it recomended to use username and secret with SIP and IAX2 when connection two servers over Internet?

One more thing. I’m not even shure is it posible to authenticate one server to another. Is it possible? If yes, how? (it isn’t the same like registering phone - I have tried and it doesn’t work)

Tomislav


#4

OK, I will change the question.

Do you use username and secret when connecting two * over Internet with SIP?

Second question
Do you use username and secret when connecting two * over Internet with IAX2?

Tomislav


#5

Why wouldn’t you?

Does it matter if you do? You can never have too much security - only too little.


#6

[quote=“WillKemp”]Why wouldn’t you?

Does it matter if you do? You can never have too much security - only too little.[/quote]

Because I can’t make it work.

Have you make it work between two Asterisk?

Tomislav