dropped REGISTER on wan with >500ms RTT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am an an end-user of pjsip via CsipSimple v.0.03-01 r1108 on an 
Android smartphone, and I'm encountering unexpected pjsip behaviour.

Specifically, when the UA is further than 500ms RTT from the server, the 
initial REGISTER handshake succeds, but subsequent re-REGISTERs fail due 
to what appears to be a race condition between the UA's retransmision 
timer and the server's nonce freshness (ie, the nonce stays fresh for 
less than the RTT due to the retransmit timer being shorter than RTT).

Looking at the pjsip's test suite, it seems that network latencies of 
200ms and 300ms are tested, but not higher. Should pjsip be able to 
register on networks with higher latency than 500ms? If yes, what can I 
do to help this scenario being tested?

I've tested this problem by introducing a delay on the linux router with 
the command "tc qdisc add dev venet0 root netem delay 2000ms". Delays < 
475ms cause no registration problems, while >500ms causes consistent 
registration drops.


Thank you,
Radu.



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux