[OpenSIPS-Users] Occasional registration handling errors

microx acmicrox at gmail.com
Tue Jul 1 12:49:34 CEST 2014


Dear all, 

Recently, I encounter a problem that the SIP server abnormally processes
REGISTER once or twice a day. An example is given as follows. A client sends
a REGISTER with stale nonce to the SIP server. The SIP server replies a 401
with a new nonce. The client sends a REGISTER with the new nonce to the SIP
server. For some unknown reason, the SIP server processes the REGISTER a
little longer and thus the client re-sends the REGISTER to the SIP server.
At the same time, the two threads of the SIP server processes the two
REGISTER separately. In the end, one thread replies 401 but the other
replies 200 OK. A real log is listed below. The version of OpenSIPS I use is
1.9.1. Any comment is very welcome.

Best regards,
Chen-Che

Jun 29 06:40:59 localhost /usr/sbin/opensips[25665]: REGISTER cseq nonce:
sip:1000000022 at thcloud.com 5855
53afb4e1000054af38f8986e1e4b16b275cee3ac325f6fd1
Jun 29 06:40:59 localhost /usr/sbin/opensips[25665]: code: -3
Jun 29 06:40:59 localhost /usr/sbin/opensips[25619]: 401:
sip:1000000022 at thcloud.com sip:1000000022 at thcloud.com
3700762647-73E1-0001 at 172.16.40.206 from 10.1.4.16
Jun 29 06:41:01 localhost /usr/sbin/opensips[25668]: REGISTER cseq nonce:
sip:1000000022 at thcloud.com 5856
53afb519000054b485bc2a10c601619817262c4ed2935dd5
Jun 29 06:41:01 localhost /usr/sbin/opensips[25678]: REGISTER cseq nonce:
sip:1000000022 at thcloud.com 5856
53afb519000054b485bc2a10c601619817262c4ed2935dd5
Jun 29 06:41:01 localhost /usr/sbin/opensips[25678]: code: -3
Jun 29 06:41:01 localhost /usr/sbin/opensips[25616]: 401:
sip:1000000022 at thcloud.com sip:1000000022 at thcloud.com
3700762647-73E1-0001 at 172.16.40.206 from 10.1.4.16
Jun 29 06:41:01 localhost /usr/sbin/opensips[25617]: 200:
sip:1000000022 at thcloud.com sip:1000000022 at thcloud.com
3700762647-73E1-0001 at 172.16.40.206 from 10.1.4.16



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Occasional-registration-handling-errors-tp7592164.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list