Re: (no subject)

"Michalis Michail" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi again,

You are wright, the responses are coming over UDP.I 've added an transport
parameter to the contact header but i still get the responses over UDP.I also
checked the application that receives the original requests and the server
transaction that is created to send back the response ,is also created from a
tcp provider.furthermore although i also create udp providers i dont use the
addSipListener for them they shouldnt be creating any events.How can a
provider that has no Listener attached to it ,create a response event?Also how
a server transction created from a tcp provider ,can send back the responses
over UDP.Is there a parameter that i must set ,in the application that
receives the request?

Thanks for all your troumble Michael  



"M. Rangnathan" <[email protected]> said:

> Hi,
> 
> Check to see if  the transport of the provider is what you expect it to 
> be. You possibly created both a UDP and a TCP provider (like the 
> examples do). You may be getting your request in on a UDP provider 
> (because that is the default transport) whereas you sent your original 
> request out via TCP. Check what transport you are setting on your 
> Contact header.
> 
> Thats my guess about whats happening anyway. The creation of providers 
> is entirely under application control so you are only ever going to 
> recieve events on providers that *your applicaton* previously created.
> 
> 
> Ranga
> 
> Michalis Michail wrote:
> 
> >Hi ,again
> >
> >As i mentioned in previeus messages i am trying to build a UAS-UAC generating
> >programm based in the jain-sip-1.2\src\examples\reinvite\ReInviteTest
> >example,so  i create several providers ,which later i associate with a
> >listener with the help of a hash table.This works fine when i'm using udp ,but
> >when i try to use tcp ,the providers that are the source of the events dont
> >seem to match the providers that have  previusly been created.ie:
> >gov.nist.javax.sip.SipProviderImpl@12d15a9
> >{gov.nist.javax.sip.SipProviderImpl@1d2068d=UserAgentServer@106082,
> >gov.nist.javax.sip.SipProviderImpl@169ca65=UserAgentServer@1301ed8,
> >gov.nist.javax.sip.SipProviderImpl@1ac2f9c=UserAgentServer@3901c6}
> >
> >The first is the provider which caused the event and the latter is the
> >previusly created hashtable.As you can see there is no matching between the
> >providers.
> >I am using a previus version of nist-sip and i dont know if this is bug that
> >is now fixed,or if there is something else i must do.In any case can you tell
> >me why this is happening?
> >
> >   With lots of thanks Michael     
> >_______________________________________________
> >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.