FreeSWITCH          




Page tree
Skip to end of metadata
Go to start of metadata

About

A discussion of various issues to consider when configuring a FreeSWITCH™ installation.

 Click to expand Table of Contents

Bandwidth

The bandwidth required by a FreeSWITCH installation depends on the codecs used to transport the RTP voice streams and the maximum simultaneous number of calls expected.

Network Address Translation (NAT)

NAT is a pox upon the house of SIP, but there are techniques to solve some of the problems on the NAT Traversal page.

Privileged Ports

In the unlikely event that your FreeSWITCH™ installation requires access to privileged ports (numbered below 1024), the portable method is to map the lower port number to a higher port number to which FreeSWITCH™ already has common access. An alternate method is to use the setcap command to change the effective and permitted capabilities of the freeswitch binary to allow it to access privileged ports. Obviously, you must have root privileges on the machine that runs FreeSWITCH™ in order to use these commands.

IPtables

This will redirect incoming tcp packets arriving for privileged port 443 to common port 5061 on which FS is listening.

Some examples omit the --src and --dst arguments; presumably this applies the rule to all interfaces. Also, different firewall frontends require different formatting of the command and install rules in different files, so this is only a guide to direct you in the correct direction. There is MUCH more information in the links below.

IPTables Additional Info

Debian wiki

Frozen Tux tutorial

Debian Administration article

Stack Overflow discussion

Capabilities

Capabilities are only available on newer linux kernels, so this is not a preferred solution.

The documentation and articles do not indicate whether this is a persistent change or must be done before each invocation of the target binary. If you know, please let us know in the comments below or by opening a ticket on the Docs JIRA system. Thanks.

Capabilities Additional Info

Stack Overflow discussion