Right!

Thank you!

That fixed the issue J

 

From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Olle E. Johansson
Sent: maandag 26 september 2016 16:03
To: Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org>
Subject: Re: [SR-Users] REGISTER between Kamailio 4.4 and Asterisk 13

 

 

On 26 Sep 2016, at 15:53, Grant Bagdasarian <gb@cm.nl> wrote:

 

Hello, 

 

We’re trying to get our Asterisk test server to REGISTER with Kamailio.

The first attempts are ok, but once the nonce timer is exceeded Kamailio starts rejecting the REGISTER requests from Asterisk, due to the nonce being expired.

The auth_check function is the one returning error -4.

 

Is this an issue in Asterisk or Kamailio? Which component is responsible for generating a new nonce value?

I’m a bit confused regarding the flow of SIP REGISTER. 

In that case, Asterisk should get a new challenge from Kamailio and asterisk should send a new register with the

new nonce. Asterisk chan_sip will retry with the old nonce but if the server it registers to challenges again,

then it will retry auth automatically.

 

/O

 

I hope someone could help me out on this. 

 

Thanks!

 

Regards,

 

Grant Bagdasarian

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users