How to enable TCP for Asterisk
From Kolmisoft Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
To allow SIP TCP clients to connect to MOR, it is necessary to enable TCP first.
To enable TCP, edit sip.conf at /etc/asterisk directory. Add these lines in General section:
[general] tcpenable=yes tcpbindaddr=0.0.0.0
Once it is done, reload sip in asterisk CLI, or run
asterisk -rx 'sip reload'
It is important to also choose TCP as Transport in the device settings.