Re: A duplicated INVITE ...

"Jeroen van Bemmel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <00ab01c6ed5e$25d03a70$0601a8c0@BEMBUSTER>
Bruno,

This could be due to the code in 
SIPClientTransaction:inviteClientTransaction
>From what I see there, the code appears to be updating transaction state 
~after~ sending a response to the application for processing. So it could 
happen that the application sends an ACK while the transaction is not 
TERMINATED.

I've made some changes, please try them out.

Regards,
Jeroen

Bruno Vignola wrote:
> Good morning all,
>
> I am sorry to bother again, but have a strange problem with JAIN
> (I tried the last version because I hoped that it had been fixed, but
> it is still present).
>
> My application is a SIP client (UAC) and it seems that, sometimes,
> even though rarely (sometimes every 1000 or more calls) the client,
> after the ACK, it sends another INVITE with the same CSeq of the
> first one (which started the SIP transaction).
>
> does anyone encountered this problem?
>
> I did not set particular properties on the stack, just the one I
> found in the
> example, i.e.
>
> sipFactory.setPathName("gov.nist");
> properties.setProperty("javax.sip.IP_ADDRESS", originatorAddress);
> properties.setProperty("javax.sip.OUTBOUND_PROXY", proxyAddress + ":"
> + proxyPort  + "/" + protocol);
> properties.setProperty("javax.sip.ROUTER_PATH",
> "gov.nist.javax.sip.stack.DefaultRouter");
> properties.setProperty("javax.sip.STACK_NAME",  "MyStack");
> properties.setProperty("javax.sip.RETRANSMISSION_FILTER", "true");
> properties.setProperty("gov.nist.javax.sip.READ_TIMEOUT", "1000");
> properties.setProperty("gov.nist.javax.sip.CACHE_CLIENT_CONNECTIONS",
> "false");
>
> furthermore the problem do not occurs on fast machines, but it seems
> related to slow machines / high CPU load ....
>
> thank you all in advance !
>
> Bruno
>
>
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.