I’m trying to get a SIP servlet chat server working, together with the textclient found here.
When I use 2 clients to send messages to eachother (peer to peer), everything goes well. But when I use one or more clients together with my server, I have to wait exactly 32 seconds before the server picks up any new messages in the doMessage() method.
I’m using Netbeans together with Sailfin as my SIP server. Is there some kind of limitation or configurable delay or timeout between requests or responses in Sailfin I’m looking over?
I can post the server code, if needed.
Thanks
To answer my own question, if someone ever encounters the same problem, i found this is a bug in the textclient against the following section 8.1.1.7 of RFC 3261.
The following line in SipLayer.java
Will create every message with the “branch1” parameter. Making this parameter unique fixes the problem.