VoIP communication using port TCP?

how to let the VoIP communication using port TCP ?

where should be setup?

information please,
thanks

Try the Asterisk Support forum.

TCP is not supported for the actual VoIP, only for call setup. Using TCP for the actual speech would not be a good idea.

Why do you want to use TCP?

For the signaling then, Asterisk doesn’t enable TCP by default, so you’ll have to turn it on in sip.conf:

tcpenable=yes
tcpbindaddr=0.0.0.0:5060 ;or whatever IP and port you want to bind to

Then for the peer, you’ll set the transport option, eg.:

transport=tcp