[OpenSIPS-Users] ERROR:registrar:update_contacts: invalid cseq for aor

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Apr 29 22:11:22 CEST 2013


Using the thresholds (script, mysql, etc) may give you some hints on the 
source of the delay. See:
         
http://www.opensips.org/html/docs/modules/1.9.x/db_mysql.html#id249058
         
http://www.opensips.org/Documentation/Script-CoreFunctions-1-9#toc51

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 04/29/2013 11:04 PM, Duane Larson wrote:
> I will try the t_newtran().  I can only guess that the 500ms is coming 
> from my MySQL database lookup.
>
>
> On Mon, Apr 29, 2013 at 7:40 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hello Duane,
>
>     The Invalid Cseq is actually a side effect of the REGISTER
>     retransmissions - you have 2 REGISTER (original + retransmission)
>     with CSeq: 756 REGISTER .
>
>     First is executed in one process, gets stored and a 200 reply ;
>     the retransmission gets executed in a different process, and
>     because it has same cseq the storing generated the error.
>
>     You need to filter out the retransmissions (use a t_newtran()
>     before the save(location) ) - it should solve the problem.
>
>     But the question is why does it take for OpenSIPS more than 500ms
>     to generate the answer (and make the sender to do retransmission) ??
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>     On 04/26/2013 03:23 AM, Duane Larson wrote:
>>     I originally posted this via Nabble but I am not sure if it went
>>     to the Opensips User mailing list so please excuse me if this
>>     shows up as multiple posts.
>>
>>
>>     I am starting to see this issue a lot lately.  My Snom phones
>>     will so as not registered on their display screen and when I look
>>     in the syslogs I see the following error
>>
>>     ERROR:registrar:update_contacts: invalid cseq for aor
>>     <9*1******@all.com <http://all.com>>
>>
>>
>>     I am not sure if this started happening because of updated Snom
>>     code or because of updated OpenSIPS code.  Luckily I was able to
>>     capture a SIP trace from one of the Snom phones today.
>>
>>     Here is a SIP trace of REGISTERs without the issue
>>     http://pastebin.com/RyaZQUBa
>>
>>     Here is a SIP trace of REGISTER showing the issue
>>     http://pastebin.com/YC1AyTJ6<--- The last message in this paste
>>     is a 400 Bad Request
>>
>>     So is the Snom phone doing something wrong or might it be on the
>>     OpenSIPS side?
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> --
> *--*--*--*--*--*
> Duane
> *--*--*--*--*--*
> -- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130429/fd57a626/attachment-0001.htm>


More information about the Users mailing list