Has anyone experienced this on iVoIP Provider 4.4?

33 views
Skip to first unread message

Angelo Paolo Coronel

unread,
Jun 23, 2025, 2:50:38 PM6/23/25
to ivozprovider-users

Has anyone experienced this on iVoIP Provider 4.4? Both kamailio@proxytrunks and kamailio@proxyusers fail to start with errors related to config file paths.
They are supposed to load from:
/etc/kamailio/proxytrunks/kamailio.cfg and /etc/kamailio/proxyusers/kamailio.cfg,
but the system tries something like:
/etc/kamailio/proxyproxytrunkskamailio.cfg instead.

Here is the relevant line from /lib/systemd/system/kamailio@.service:

ini
CopiarEditar
ExecStart=/usr/sbin/kamailio -f /etc/kamailio/proxy%ikamailio.cfg -m ${SH_MEM} -M ${PRIV_MEM} -P /run/kamailio-%i.pid

And the error when starting the service:

bash
CopiarEditar
systemctl status kamailio@proxytrunks # ... Failed to open config file /etc/kamailio/proxyproxytrunkskamailio.cfg: No such file or directory

Did you have to edit the unit file and fix the %i expansion manually? What's the recommended way to structure this on iVoIP Provider 4.4?
Thanks in advance!


Kaian

unread,
Jun 23, 2025, 2:53:35 PM6/23/25
to Angelo Paolo Coronel, ivozprovider-users
Hi Angelo,

Looks like your service has been edited somehow, the original has a slash after %i

ExecStart=/usr/sbin/kamailio -f /etc/kamailio/proxy%i/kamailio.cfg -m ${SH_MEM} -M ${PRIV_MEM} -P /run/kamailio-%i.pid


Best regards,


De: ivozprovi...@googlegroups.com <ivozprovi...@googlegroups.com> en nombre de Angelo Paolo Coronel <corone...@gmail.com>
Enviado: lunes, 23 de junio de 2025 20:50
Para: ivozprovider-users <ivozprovi...@googlegroups.com>
Asunto: Has anyone experienced this on iVoIP Provider 4.4?
 
--
You received this message because you are subscribed to the Google Groups "ivozprovider-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ivozprovider-us...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ivozprovider-users/56857de5-ecd3-49d2-9c62-01e3f6714195n%40googlegroups.com.

Angelo Paolo Coronel

unread,
Jun 23, 2025, 2:54:20 PM6/23/25
to ivozprovider-users

./status_dos_servicos.sh

Status resumido dos serviços em voip-vsbc-pmp - 2025-06-23 15:52:32
------------------------------------------------------------
systemctl status mysql ok.
systemctl status redis ok.
systemctl status bind9 ok.
systemctl status apache2 ok.
systemctl status memcached ok.
systemctl status supervisor ok.
systemctl status gearman-job-server ok.
systemctl status cgrates ?? ( Active: activating (auto-restart) since Mon 2025-06-23 15:52:30 -03; 3s ago)
systemctl status kamailio@users fail!
systemctl status kamailio@trunks fail!
systemctl status rtpengine ok.
systemctl status ivozprovider-cdrs.timer ?? ( Active: active (waiting) since Mon 2025-06-23 15:47:12 -03; 5min ago)
systemctl status asterisk ok.

Angelo Paolo Coronel

unread,
Jun 23, 2025, 3:05:50 PM6/23/25
to ivozprovider-users

Subject: Thank you, Kaian!

Hi Kaian,

Just wanted to let you know everything is working perfectly again after restoring the original Kamailio @.service template and removing our overrides. Your excellent work on the IvozProvider project—especially around Kamailio proxy configurations—made all the difference! 🙏

Really appreciate your contributions. Thanks a lot!

Best regards,
Angelo


./status_dos_servicos.sh

Status resumido dos serviços em voip-vsbc-pmp - 2025-06-23 16:01:14
------------------------------------------------------------
systemctl status mysql ok.
systemctl status redis ok.
systemctl status bind9 ok.
systemctl status apache2 ok.
systemctl status memcached ok.
systemctl status supervisor ok.
systemctl status gearman-job-server ok.
systemctl status cgrates ok.
systemctl status kamailio@users ok.
systemctl status kamailio@trunks ok.
systemctl status rtpengine ok.
systemctl status ivozprovider-cdrs.timer ?? ( Active: active (waiting) since Mon 2025-06-23 15:47:12 -03; 14min ago)
systemctl status asterisk ok.
Reply all
Reply to author
Forward
0 new messages