How to enable TCP for Asterisk

From Kolmisoft Wiki
Revision as of 13:30, 2 July 2015 by Rita (talk | contribs) (Created page with 'To allow SIP TCP clients to connect to MOR, it is necessary to enable TCP first. <br> To enable TCP, edit sip.conf at /etc/asterisk directory. Add these lines in General section:…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.