2009/10/9 catalina oancea <catalina.oancea(a)gmail.com>om>:
If a phone re-sends a presence SUBSCRIBE requests even
after 5 or 500
milliseconds, kamailio replied with '400 Bad request' to the second
SUBSCRIBE
The scenario is:
Phone Kamailio
SUBSCRIBE ---------->
401 <----------
SUBSCRIBE ---------->
202 <----------
Pause [ 5ms] (or 500 ms, the same thing
happens)
SUBSCRIBE ----------> (previous SUBSCRIBE retransmitted)
400 Bad request <----------
Is this the expected behavior? Is there any way to get kamailio to
recognize the retransmission?
This causes problems with Snom phones because they receive 400 reply
when they retransmit the SUBSCRIBE, and presence stops working.
Ensure you use "t_newtran()" when the SUBSCRIBE is received.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>