Configuring SCTP
(→Other configuration steps) |
(→Other configuration steps) |
||
Line 52: | Line 52: | ||
==Other configuration steps== | ==Other configuration steps== | ||
− | * [[Configure M2PA]] | + | * [[Configuring M2PA|Configure M2PA]] |
* [[Configure M2UA]] | * [[Configure M2UA]] | ||
* [[Configure MTP3]] | * [[Configure MTP3]] |
Latest revision as of 11:27, 26 October 2017
You will need to configure the SCTP stack of the operating system yate is running on if you plan to use SIGTRAN. The default configuration on most systems is inadequate for the tight timings required in telephony - timeouts range in tens of seconds instead of hundreds of milliseconds.
On this page:
Contents |
[edit] Linux configuration
The SCTP kernel module must be loaded at boot time so the settings can be applied. As root edit the /etc/modprobe.preload file and add to it the SCTP related lines:
# /etc/modprobe.preload: kernel modules to load at boot time. # # other modules are listed here # SCTP must be loaded early for sysctl sctp
The actual settings are in the /etc/sysctl.conf file that is applied at boot time. Edit this file and add the SCTP timeout tweaking lines:
# /etc/sysctl.conf: kernel sysctl configuration file # # other settings are listed here # SCTP tweaking for SIGTRAN net.sctp.rto_min=200 net.sctp.rto_initial=400 net.sctp.rto_max=800 net.sctp.hb_interval=5000
You can apply the configuration immediately by running (again, as root):
modprobe sctp sysctl -p
If Yate was already started you must restart it to allow the settings to apply to the SCTP sockets.
[edit] Yate configuration
To use SCTP in yate you must configure it in sigtransport module.
[edit] Example
In sigtransport.conf:
[link] type=sctp stream=false local=192.168.168.156:5050 remote=192.168.168.200:6999