*** empty log message ***
This commit is contained in:
parent
3cc74d37d0
commit
047ac5384f
4
COPYING
4
COPYING
@ -2,7 +2,7 @@
|
|||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@ -305,7 +305,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
|||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
0.6.0
|
0.6.0
|
||||||
=====
|
=====
|
||||||
|
19-Aug-2006: - increased DNS cache
|
||||||
18-Jun-2006: - included RTCP support and a de-jitter feature
|
18-Jun-2006: - included RTCP support and a de-jitter feature
|
||||||
(submitted by by Hans Carlos Hofmann)
|
(submitted by by Hans Carlos Hofmann)
|
||||||
|
|
||||||
|
|||||||
59
INSTALL
59
INSTALL
@ -1,5 +1,8 @@
|
|||||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
|
Installation Instructions
|
||||||
Foundation, Inc.
|
*************************
|
||||||
|
|
||||||
|
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
This file is free documentation; the Free Software Foundation gives
|
This file is free documentation; the Free Software Foundation gives
|
||||||
unlimited permission to copy, distribute and modify it.
|
unlimited permission to copy, distribute and modify it.
|
||||||
@ -67,9 +70,9 @@ The simplest way to compile this package is:
|
|||||||
Compilers and Options
|
Compilers and Options
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that
|
Some systems require unusual options for compilation or linking that the
|
||||||
the `configure' script does not know about. Run `./configure --help'
|
`configure' script does not know about. Run `./configure --help' for
|
||||||
for details on some of the pertinent environment variables.
|
details on some of the pertinent environment variables.
|
||||||
|
|
||||||
You can give `configure' initial values for configuration parameters
|
You can give `configure' initial values for configuration parameters
|
||||||
by setting variables in the command line or in the environment. Here
|
by setting variables in the command line or in the environment. Here
|
||||||
@ -99,19 +102,19 @@ for another architecture.
|
|||||||
Installation Names
|
Installation Names
|
||||||
==================
|
==================
|
||||||
|
|
||||||
By default, `make install' will install the package's files in
|
By default, `make install' installs the package's commands under
|
||||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||||
installation prefix other than `/usr/local' by giving `configure' the
|
can specify an installation prefix other than `/usr/local' by giving
|
||||||
option `--prefix=PATH'.
|
`configure' the option `--prefix=PREFIX'.
|
||||||
|
|
||||||
You can specify separate installation prefixes for
|
You can specify separate installation prefixes for
|
||||||
architecture-specific files and architecture-independent files. If you
|
architecture-specific files and architecture-independent files. If you
|
||||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||||
PATH as the prefix for installing programs and libraries.
|
PREFIX as the prefix for installing programs and libraries.
|
||||||
Documentation and other data files will still use the regular prefix.
|
Documentation and other data files still use the regular prefix.
|
||||||
|
|
||||||
In addition, if you use an unusual directory layout you can give
|
In addition, if you use an unusual directory layout you can give
|
||||||
options like `--bindir=PATH' to specify different values for particular
|
options like `--bindir=DIR' to specify different values for particular
|
||||||
kinds of files. Run `configure --help' for a list of the directories
|
kinds of files. Run `configure --help' for a list of the directories
|
||||||
you can set and what kinds of files go in them.
|
you can set and what kinds of files go in them.
|
||||||
|
|
||||||
@ -137,11 +140,11 @@ you can use the `configure' options `--x-includes=DIR' and
|
|||||||
Specifying the System Type
|
Specifying the System Type
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
There may be some features `configure' cannot figure out
|
There may be some features `configure' cannot figure out automatically,
|
||||||
automatically, but needs to determine by the type of machine the package
|
but needs to determine by the type of machine the package will run on.
|
||||||
will run on. Usually, assuming the package is built to be run on the
|
Usually, assuming the package is built to be run on the _same_
|
||||||
_same_ architectures, `configure' can figure that out, but if it prints
|
architectures, `configure' can figure that out, but if it prints a
|
||||||
a message saying it cannot guess the machine type, give it the
|
message saying it cannot guess the machine type, give it the
|
||||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||||
type, such as `sun4', or a canonical name which has the form:
|
type, such as `sun4', or a canonical name which has the form:
|
||||||
|
|
||||||
@ -156,7 +159,7 @@ where SYSTEM can have one of these forms:
|
|||||||
need to know the machine type.
|
need to know the machine type.
|
||||||
|
|
||||||
If you are _building_ compiler tools for cross-compiling, you should
|
If you are _building_ compiler tools for cross-compiling, you should
|
||||||
use the `--target=TYPE' option to select the type of system they will
|
use the option `--target=TYPE' to select the type of system they will
|
||||||
produce code for.
|
produce code for.
|
||||||
|
|
||||||
If you want to _use_ a cross compiler, that generates code for a
|
If you want to _use_ a cross compiler, that generates code for a
|
||||||
@ -167,9 +170,9 @@ eventually be run) with `--host=TYPE'.
|
|||||||
Sharing Defaults
|
Sharing Defaults
|
||||||
================
|
================
|
||||||
|
|
||||||
If you want to set default values for `configure' scripts to share,
|
If you want to set default values for `configure' scripts to share, you
|
||||||
you can create a site shell script called `config.site' that gives
|
can create a site shell script called `config.site' that gives default
|
||||||
default values for variables like `CC', `cache_file', and `prefix'.
|
values for variables like `CC', `cache_file', and `prefix'.
|
||||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
`CONFIG_SITE' environment variable to the location of the site script.
|
||||||
@ -186,14 +189,18 @@ them in the `configure' command line, using `VAR=value'. For example:
|
|||||||
|
|
||||||
./configure CC=/usr/local2/bin/gcc
|
./configure CC=/usr/local2/bin/gcc
|
||||||
|
|
||||||
will cause the specified gcc to be used as the C compiler (unless it is
|
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||||
overridden in the site shell script).
|
overridden in the site shell script). Here is a another example:
|
||||||
|
|
||||||
|
/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||||
|
|
||||||
|
Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
|
||||||
|
configuration-related scripts to be executed by `/bin/bash'.
|
||||||
|
|
||||||
`configure' Invocation
|
`configure' Invocation
|
||||||
======================
|
======================
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it
|
`configure' recognizes the following options to control how it operates.
|
||||||
operates.
|
|
||||||
|
|
||||||
`--help'
|
`--help'
|
||||||
`-h'
|
`-h'
|
||||||
|
|||||||
11
doc/FAQ
11
doc/FAQ
@ -128,9 +128,9 @@ A: The RTP proxy actually is quite simple. It does not use any RTP
|
|||||||
Q: Does siproxd need to be installed on the same host as the
|
Q: Does siproxd need to be installed on the same host as the
|
||||||
firewall / NAT is running?
|
firewall / NAT is running?
|
||||||
|
|
||||||
A: Yes. Siproxd needs to know the public IP address, as this address is
|
A: Not necesarily. Siproxd needs to know the public IP address, as this
|
||||||
included in the SIP signalling to establish a session. Also, siproxd
|
address is included in the SIP signalling to establish a session. Also,
|
||||||
needs control on the allocation of UDP ports for sending/receiving
|
siproxd needs control on the allocation of UDP ports for sending/receiving
|
||||||
RTP data (some User Agents get into trouble/silence if the sending and
|
RTP data (some User Agents get into trouble/silence if the sending and
|
||||||
receiving UDP port is not the same)
|
receiving UDP port is not the same)
|
||||||
|
|
||||||
@ -139,6 +139,11 @@ A: Yes. Siproxd needs to know the public IP address, as this address is
|
|||||||
UDP datagrams (SIP) as well as the UDP port range for RTP data as
|
UDP datagrams (SIP) as well as the UDP port range for RTP data as
|
||||||
specified in the config file (default 7070 - 7079).
|
specified in the config file (default 7070 - 7079).
|
||||||
|
|
||||||
|
One mode of operation is to run siproxd on the NAT host, using
|
||||||
|
different if_inboude and if_outbound interfaces.
|
||||||
|
The other method is to ruin siproxd "in front of" the NAT firewall.
|
||||||
|
For configuration details see the documentation (host_outbound).
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
Q: How do I configure siproxd to use ICPHAINS based UDP masquerading
|
Q: How do I configure siproxd to use ICPHAINS based UDP masquerading
|
||||||
tunnels for proxying the incomming RTP traffic?
|
tunnels for proxying the incomming RTP traffic?
|
||||||
|
|||||||
@ -31,6 +31,12 @@
|
|||||||
<authorinitials>tries@users.sourceforge.net</authorinitials>
|
<authorinitials>tries@users.sourceforge.net</authorinitials>
|
||||||
<revremark>Initial version</revremark>
|
<revremark>Initial version</revremark>
|
||||||
</revision>
|
</revision>
|
||||||
|
<revision>
|
||||||
|
<revnumber>0.2</revnumber>
|
||||||
|
<date>2006-07-28</date>
|
||||||
|
<authorinitials>tries@users.sourceforge.net</authorinitials>
|
||||||
|
<revremark>Comment on Asterisk Scenario</revremark>
|
||||||
|
</revision>
|
||||||
</revhistory>
|
</revhistory>
|
||||||
</bookinfo>
|
</bookinfo>
|
||||||
<toc></toc>
|
<toc></toc>
|
||||||
@ -916,6 +922,9 @@ iptables -A INPUT -m udp -p udp -i ppp0 --dport 5060 -j ACCEPT
|
|||||||
iptables -A INPUT -m udp -p udp -i ppp0 --dport 7070:7080 -j ACCEPT
|
iptables -A INPUT -m udp -p udp -i ppp0 --dport 7070:7080 -j ACCEPT
|
||||||
</screen>
|
</screen>
|
||||||
<para>Asterisk configuration (SIP related part):</para>
|
<para>Asterisk configuration (SIP related part):</para>
|
||||||
|
<para>Note: Very important are the fromuser and fromdomain
|
||||||
|
keywords in the client section. They are required to have
|
||||||
|
Asterisk send the correct From headers in SIP dialogs.</para>
|
||||||
<screen>
|
<screen>
|
||||||
sip.conf:
|
sip.conf:
|
||||||
|
|
||||||
|
|||||||
@ -238,7 +238,7 @@ int sip_message_set_body(osip_message_t * sip, const char *buf, size_t len);
|
|||||||
#define RTP_BUFFER_SIZE 512 /* max size of an RTP frame */
|
#define RTP_BUFFER_SIZE 512 /* max size of an RTP frame */
|
||||||
#define URL_STRING_SIZE 128 /* max size of an URL/URI string */
|
#define URL_STRING_SIZE 128 /* max size of an URL/URI string */
|
||||||
#define STATUSCODE_SIZE 5 /* size of string representation of status */
|
#define STATUSCODE_SIZE 5 /* size of string representation of status */
|
||||||
#define DNS_CACHE_SIZE 32 /* number of entries in internal DNS cache */
|
#define DNS_CACHE_SIZE 256 /* number of entries in internal DNS cache */
|
||||||
#define DNS_MAX_AGE 60 /* maximum age of an cache entry (sec) */
|
#define DNS_MAX_AGE 60 /* maximum age of an cache entry (sec) */
|
||||||
#define IFADR_CACHE_SIZE 32 /* number of entries in internal IFADR cache */
|
#define IFADR_CACHE_SIZE 32 /* number of entries in internal IFADR cache */
|
||||||
#define IFADR_MAX_AGE 5 /* max. age of the IF address cache (sec) */
|
#define IFADR_MAX_AGE 5 /* max. age of the IF address cache (sec) */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user