Hi,
I have some more information on this problem.
On Oct 17, 4:28 pm, Hauke X <
hau...@zero-g.net> wrote:
> Although theoretically I should always be working with the same
> SipSession object, could my overwriting of originalReq be the problem,
> i.e. should I be getting the SipSession once and re-using that session
> object?
I have now tried re-using the same SipSession object and the result is
the same (CSeq numbers are not increasing).
> Also, I should note that because I am testing, the registrations are
> only a few (~15) seconds apart; I think that theoretically this should
> not be a problem but I know that JAIN always takes a little while to
> invalidate transactions, and maybe this has something to do with the
> problem?
I have now tried waiting longer between re-registrations and am having
some more problems. In some cases, the registrar has now sent back a
400 response indicating a bad CSeq number, and in other cases the
SipSession seems to have been invalidated. I am not yet sure why the
400 responses are only happening sometimes, and I assume that in the
other case the SipSession times out. My understanding with REGISTER
SipSessions is that they stay in the INITIAL state and are used to
send re-registrations to the same registrar, so I would find them
timing out a little strange?
Thanks,
-- Hauke D