Re: echo
Háber János <[email protected]> Tue, 16 Jan 2007 15:47:15 +0100
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Hi! Hmm... And if I use STUN with stun4j solve the firewall problem, or not? Cow ps: I found some information how work the SIP protocol but I found only complex "samples" (sip communicator and applet), with JMF and Jain cooperation :| M. Ranganathan írta: > Hi! > > examples/simplecallsetup should be a good starting point for you. It > creates a Session description from a String. You can use the SdpFactory > to create the session description. > > After ACK, the ports are exchanged and the codec information is > exchanged. The rest is outside the scope of SIP. You have to use an RTP > library ( i.e. JMF or something like that ) to create the RTP streams. > It will not work behind a firewall unless you correctly set up rport in > the outgoing response / request . Check on how rport is used in the SIP > specification. > > Ranga > > On Tue, 2007-01-16 at 13:55 +0100, Háber János wrote: > >> Hi! >> >> I'm new in SIP technology. I want to write a simple echo application >> (Call a remote sip server user and echo back all reply). >> I see the shootist example and I have some questions. >> >> - How can I create a SessionDescription (I see in the example created by >> hand, but this is the only one, and simplest way?) >> - After the ACK how can I access/send back the RTP stream data? >> - It's work behind a firewall? (I see I need to open a reply port, I >> think it's work with tcp but how?) >> >> Thanks, cow >> >> ps: If somebody have simple echo example please send to me. >> _______________________________________________ >> nist-sip mailing list >> [email protected] >> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip >> > > _______________________________________________ nist-sip mailing list [email protected] http://www-x.antd.nist.gov/mailman/listinfo/nist-sip