rtpproxy-1.1.beta.200804031

所属分类:网络
开发工具:Visual C++
文件大小:202KB
下载次数:19
上传日期:2008-06-01 15:24:28
上 传 者Johnny5
说明:  大名鼎鼎的 RTP Proxy 源代码 在OpenSER 中成熟应用的
(Famous RTP Proxy source code in a mature application OpenSER)

文件列表:
rtpproxy-1.1.beta.200804031\aclocal.m4 (32543, 2007-11-29)
rtpproxy-1.1.beta.200804031\AUTHORS (37, 2007-11-29)
rtpproxy-1.1.beta.200804031\ChangeLog (0, 2007-11-29)
rtpproxy-1.1.beta.200804031\config.guess (42037, 2007-11-29)
rtpproxy-1.1.beta.200804031\config.h.in (4117, 2007-11-29)
rtpproxy-1.1.beta.200804031\config.sub (30315, 2007-11-29)
rtpproxy-1.1.beta.200804031\configure (204338, 2008-04-04)
rtpproxy-1.1.beta.200804031\configure.ac (1895, 2008-04-04)
rtpproxy-1.1.beta.200804031\COPYING (1379, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\changelog (286, 2008-03-21)
rtpproxy-1.1.beta.200804031\debian\compat (2, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\conffiles.ex (212, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\control (995, 2008-03-21)
rtpproxy-1.1.beta.200804031\debian\copyright (1297, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\cron.d.ex (85, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\dirs (17, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\docs (12, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\manpage.1.ex (1744, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\manpage.sgml.ex (4637, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\manpage.xml.ex (4594, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\menu.ex (121, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\postinst.ex (927, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\postrm.ex (919, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\preinst.ex (696, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\prerm.ex (887, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\rtpproxy-default.ex (238, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\rtpproxy.doc-base.EX (530, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\rtpproxy.init (1909, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\rules (2518, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian\watch.ex (560, 2007-11-29)
rtpproxy-1.1.beta.200804031\debian (0, 2008-05-04)
rtpproxy-1.1.beta.200804031\depcomp (13866, 2007-11-29)
rtpproxy-1.1.beta.200804031\g711.h (160475, 2007-11-29)
rtpproxy-1.1.beta.200804031\INSTALL (7831, 2007-11-29)
rtpproxy-1.1.beta.200804031\install-sh (7122, 2007-11-29)
rtpproxy-1.1.beta.200804031\ltmain.sh (183665, 2007-11-29)
rtpproxy-1.1.beta.200804031\main.c (20872, 2008-05-21)
rtpproxy-1.1.beta.200804031\makeann.c (5724, 2008-03-21)
rtpproxy-1.1.beta.200804031\Makefile.am (836, 2008-04-02)
... ...

I. About The RTPproxy is a high-performance software proxy for RTP streams that can work together with SER or OpenSER. Originally created for handling NAT scenarious it can also act as a generic media relay as well as gateway RTP sessions between IPv4 and IPv6 networks. RTPproxy was developed by Maxim Sobolev and now is being actively maintained by the Sippy Software, Inc. The RTPproxy supports some advanced features, such as remote control mode, allowing building scalable distributed SIP VoIP networks. The nathelper module included into the SER or OpenSER SIP Proxy software allows using multiple RTPproxy instances running on remote machines for fault-tolerance and load-balancing purposes. The software also supports video relaying and RTP session recording. II. How it works This proxy works as follows: - When SER receives INVITE reqiest, it extracts call-id from it and communicates it to the proxy via Unix domain socket. Proxy looks for an existing sessions with such id, if the session exists it returns UDP port for that session, if not, then it creates a new session, binds to a first empty UDP port from the range specified at the compile time and returns number of that port to a SER. After receiving reply from the proxy, SER replaces media ip:port in the SDP to point to the proxy and forwards reqiest as usually; - when SER receives non-negative SIP reply with SDP it again extracts call-id from it and communicates it to the proxy. In this case the proxy does not allocate a new session if it doesn't exist, but simply performs a lookup among existing sessions and returns either a port number if the session is found, or error code indicating that there is no session with such id. After receiving positive reply from the proxy, SER replaces media ip:port in the SIP reply to point to the proxy and forwards reply as usually; - after the session has been created, the proxy listens on the port it has allocated for that session and waits for receiving at least one UDP packet from each of two parties participating in the call. Once such packet is received, the proxy fills one of two ip:port structures associated with each call with source ip:port of that packet. When both structures are filled in, the proxy starts relaying UDP packets between parties; - the proxy tracks idle time for each of existing sessions (i.e. the time within which there were no packets relayed), and automatically cleans up a sessions whose idle times exceed the value specified at compile time (60 seconds by default). III. Limitations Currently, rtpproxy does not support command-line definition of RTP port range. By default rtpproxy uses UDP ports 35000-65000 and these should be opened any firewalls in front of rtpproxy. The ports used can be modified in rtpp_defines.h file (PORT_MIN and PORT_MAX) and then recompile/reinstall. IV. TODO (in no particular order) - Port to another OSes; - make more parameters (e.g. ports range, max idle time etc.) to be adjustible via command line. V. Support Community-based support could be obtained via SER mailing lists . Commercial support is available from the Sippy Software, Inc. - visit http://www.sippysoft.com for details. $Id: README,v 1.3 2007/07/28 01:55:12 sobomax Exp $

近期下载者

相关文件


收藏者