Re: echo
"M. Ranganathan" <[email protected]> Tue, 16 Jan 2007 09:22:20 -0500
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Organization | NIST |
| Message-ID | <[email protected]> |
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