Cuma, Ocak 31, 2025

Disable UNIStim In Asterisk

asterisk sip tcp ayarı, asterisk düzenleme, sip kurulumu, debian sipPin

You may have noticed that asterisk has UNIStim enabled by default which listens on port 5000.

firstly we have to look at the asterisk listening ports netstat -tapun | grep asterisk

udp        0      0 0.0.0.0:5000            0.0.0.0:* 19470/asterisk  
udp        0      0 0.0.0.0:5060            0.0.0.0:* 19470/asterisk  
udp        0      0 0.0.0.0:4569            0.0.0.0:* 19470/asterisk  

To disable unistim you will need to blacklist the unistim module by adding it to /etc/asterisk/modules.conf under the modules section.

[modules]
noload => chan_unistim.so

Once added, reload asterisk and asterisk will no longer be listening on port 5000.

systemctl restart asterisk
Your Mastodon Instance