multiSwitch – user manual
© TOPEX 2008 44
For multiSwitch equipments with more than one network interface (for instance one for local
class 192.168.0.0/16 and one for public class) is used the
[interface_ip]
parameter.
Here can be configured different IP/DNS_name for each source/destination IP class. It is also
useful for equipments behind NAT; in this case you put signaling IP the IP of NAT and bind IP the IP of
network interface used in that NAT.
Note:
Remember that always last rule must have class 0.0.0.0/0, application is searching from up to
down and must always must one class!
If you don't have a dns name for a specific ip address you can omit dns name from config. You
can use "interface ip" telnet command to check the values read by main application from the file into
the memory and see also the fd created for each interface.
In case of redundancy only the master will create sip udp sockets when virtual ip is up. If
“centrala” is slave the sip udp sockets will be closed.
The line bellow is for calls from private class 192.168.0.0/16 received on local network card:
192.168.0.0/16 192.168.1.1 192.168.1.1 local.turu.ro
The next line is for calls from public class 80.27.127.0/24 received on local network card (NAT
case)
80.27.127.0/24 80.27.127.10 192.168.1.1 public.turu.ro
The line bellow is for calls from class 0.0.0.0/0 received on public network card
0.0.0.0/0 89.249.83.193 89.249.83.193 public.turu.ro
An important parameter is the country code used for example if you want to add a country
code for call initiated. The syntax format is:
add_country_code 0[1-9][0-9]{4,} 004
By the SIP users to destinations on UA (other that SIP users). In this way you can keep in
routing table only prefixes with country code (E164 format). This change is also called E164 format
number conversion.
The “
ani_override_display
” parameter is used if enabled ANI info received from CCTL (call
control flow) will replace presentation info. It is enabled by default because most of the carriers don't
send this info, except British Telecom
# enable=1/disable=0; default 1
ani_override_display 1