multiSwitch – user manual
© TOPEX 2008 45
7.5 “register_users.cfg” configuration
The “register_users” configuration file located in “
mnt/app/cfg/register_users.cfg
” allows the
registration to one or more SIP registrar servers It can be used also as a testing tool for SIP registrar.
Allows the register to a alternative SIP server in order to test the first one functionality.
For instance to register a SIP phone with the number 301 the following parameters must be
inserted.
[301]
User name
password=301
Password
first_proxy=mysippbx.ro
ip/dns_name of first server to which the client try to register
second_proxy=89.38.11.22
ip/dns_name of second server to which the client try to
register. In case it does not succeed to the first one
expires=120
Registration time (in seconds) offered in REGISTER message
to the server. Registration time used is the one received from
server; depending of the server configuration registration time
can be the one sent in REGISTER or any other value
nat_refresh=50
Time interval in seconds at which the client send keep alive
messages to the server in order to keep NAT connection
open recommended value is between 20 and 60 seconds
7.6 “public_private.cfg” configuration
In this file can be made the calls filtering made by SIP users according to the public and
private IP address. Also it allows defining a maximum number of concurrent calls for each pair of
classes public and private.
If this file is missing from the configuration in text mode (exist also the mode with configuration
from the data base) causes the calls reject on SIP with the message “
403 Forbidden
”.
Bellow it is an example of a “public_private.cfg” file content:
class1 89.38.188.0 24 192.168.0.0 16 100
class2 172.27.0.0 16 192.168.1.0 24 100
The fields significance is detailed in the table below:
Field 1
Singular identification name. Can be any name but it must be unique
Field 2
Public class
Field 3
Netmask length for the public class
Field 4
Private class
Field 5
Netmask length for the private class
Field 6
Maximum number of concurrent calls