Re: TCP Connection Problem

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

What does the route header for the outgong request look like? You should 
specify transport="tcp" explicitly in the Route  SipURI.

There are complete examples that work entirely on TCP in  the 
distribution. For example see src/test/tck/msgflow/callflows/redirect

Ranga


>Hi once more,
>
>I 've done a little bit more investigation ,and i found out that the messagesa
>are never send over TCP.I first realized that both requests and responses were
>actually transported by udp.Then i tryed to create only a tcp provider but i
>got the following exception:
>
>javax.sip.TransactionUnavailableException: Could not resolve next hop or
>listening point unavailable! 
>	at
>gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:344)
>	at sip_test.sendMessage(sip_test.java:228)
>	at sip_test.main(sip_test.java:251)
>
>So i can imagine that the requests were never transmitted over tcp ,but always
>on udp.Is there a reason why this is happenning.It could be that something is
>wrong with my systems settings and i cannot create tcp connections?
>
>Thanks for your time , Michael
>
>  
>


-- 
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.