[Home]

Summary:ASTERISK-24715: chan_sip: stale nonce causes failure
Reporter:Kevin Harwell (kharwell)Labels:
Date Opened:2015-01-23 14:26:26.000-0600Date Closed:2015-01-27 13:20:22.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:13.1.0 Frequency of
Occurrence
Constant
Related
Issues:
is related toASTERISK-18759 Asterisk re-uses stale nonce in edge case
Environment:Attachments:
Description:A stale nonce problem occurs when trying to fresh a registration with chan_sip.  With a small enough timeout and upon register refresh Asterisk replies with the following:

{noformat}
[Jan 14 11:43:29] NOTICE[19356] chan_sip.c: Correct auth, but based on stale nonce received from '<sip:siptrunk@xxx.xxx.xxx.xxx>;tag=f4e4eb10-9c46-4efd-871b-297f410f5bd3'
{noformat}

steps to reproduce:

Using two Asterisk systems configure one using res_pjsip for outbound registration and the other using chan_sip to receive the registration(s). Specify a low expiration (~15 seconds seems to always reproduce) and then start both systems.

It will initially register and then upon refresh the problem will occur.
Comments: