Re: Mismatch ClientTransactions from multiple INVITEs

"M. Rangnathan" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Kalman,

That zip is pretty old. If you are working with the proxy,  sorry its 
badly out of date. I will attempt to catch up with the proxy and update 
it to the current jain-sip version -- its on my todo list but I cant say 
when. If you can  pitch in and help with that, it can happen sooner than 
I can manage on my own.

If you are building your own application on top of jain-sip, I strongly 
suggest getting the latest source (i.e. jain-sip-1.2)  from the nist cvs 
repository (see jain-sip.dev.java.net for cvs details). Although the TCK 
is still to be done, it fixes some bugs with the older version and 
includes some important missing functionality (i.e. Jain-SIP-1.2).

In particular the implementation includes a per transaction semaphore 
for the transaction state machine that the old version did not have. 
This may well be the issue you are having in a multithreaded 
environment. Do download and try it out.  If you still have such 
problems with the latest version from cvs, however, it would be great if 
you can provide me with a small test case that I can debug.

Regards,

Ranga

Kalman Lau wrote:

>I am experiencing the following conditions:
>
>(1) Occasionally, repeated invocations to
>SipProvider.getNewClientTransaction() (using different INVITE Request
>instances) return the same ClientTransaction instance.  (BTW, the
>invocations originated from different threads but against the same
>SipProvider instance.)  I was expecting different client transactions.
>
>(2) SipListener.processResponse() is invoked with a ResponseEvent e, such that:
>
>e.getResponse()'s "Call-ID" header field does NOT always match
>e.getClientTransaction().getDialog().getCallId().
>
>(Needless to say, the Dialog's application data can not be relied upon
>in these cases.)
>
>Has anyone seen this?  I used
>[http://is2.antd.nist.gov/pub/nist-sip/proxy-libs.zip].
>
>Kalman
>
>
>_______________________________________________
>nist-sip mailing list
>[email protected]
>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>
>  
>


-- 
M. Ranganathan 

Advanced Networking Technologies Division,
National Institute of Standards and Technology (NIST),
100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. 
tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/
Advanced Networking Technologies For the People!
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.