M4 User-Agent

From Kolmisoft Wiki
Jump to navigationJump to search

How to change SIP User-Agent header in M4

In /etc/m2/system.conf add the following option:

user_agent = My Custom User Agent

Then, Kamailio and SEMS should be reconfigured and restarted for this change to take effect.

/usr/src/m4/kamailio/kamailio_cfg_update.sh
/usr/src/m4/sems/sems_config_files_update.sh
systemctl restart sems
systemctl restart kamailio