- 创建Kamailio启动脚本
sudo cp /usr/local/kamailio/sbin/kamailio /etc/init.d/kamailio
sudo chmod +x /etc/init.d/kamailio
- 启动Kamailio
sudo systemctl start kamailio
sudo systemctl enable kamailio
- 查看Kamailio运行状态
sudo systemctl status kamailio
sudo cp /usr/local/kamailio/sbin/kamailio /etc/init.d/kamailio
sudo chmod +x /etc/init.d/kamailio
sudo systemctl start kamailio
sudo systemctl enable kamailio
sudo systemctl status kamailio