Re: [asterisk-users] Realtime integration: Unregistered clients showing as registered?

2014-05-15 Thread Leandro Dardini
It is the way it works. First the phone sends a REGISTER without any password. Asterisk answers with a Unauthorized and provide a nonce to be used for the next registration attempt, using it to encrypt the password. Leandro 2014-05-14 13:12 GMT+02:00 Olli Heiskanen

Re: [asterisk-users] Realtime integration: Unregistered clients showing as registered?

2014-05-15 Thread Olli Heiskanen
Hello, Thank you for your response. Actually, I managed to solve a part of the problem; as I use Kamailio to handle authentication, problem was that even though authentication went ok through Kamailio, Asterisk refused to accept messages from Kamailio. That's why Asterisk sent the 401. I think I

Re: [asterisk-users] Realtime integration: Unregistered clients showing as registered?

2014-05-14 Thread Olli Heiskanen
Hello, After a small break from working on this, I got the idea of tcpdumping the correct ports. What I see is REGISTER messages from Kamailio port to Asterisk, which are replied with 401 Unauthorized. Why is this happening? In my sippeers table the secret field has no value (tried both NULL and

[asterisk-users] Realtime integration: Unregistered clients showing as registered?

2014-04-24 Thread Olli Heiskanen
Hello all, I've been testing a Kamailio Asterisk Realtime integration, and found a strange situation. My problem is that when using the integration, everything seems ok but Asterisk does not see the clients as registered. Kamailio and the clients report registered clients. Also calls fail. In