[OpenSIPS-Users] fifo not found

Saint Michael venefax at gmail.com
Tue Oct 24 05:17:37 UTC 2023


I am using opensips 3.4
my /etc/opensips/opensips.cfg has

loadmodule "mi_fifo.so"
modparam("mi_fifo", "fifo_name", "/home/opensips/opensips_fifo")
modparam("mi_fifo", "fifo_mode", 0666)

and it does exists:
file /home/opensips/opensips_fifo
/home/opensips/opensips_fifo: fifo (named pipe)

stat /home/opensips/opensips_fifo
  File: /home/opensips/opensips_fifo
  Size: 0               Blocks: 0          IO Block: 4096   fifo
Device: fe00h/65024d    Inode: 21530043    Links: 1
Access: (0666/prw-rw-rw-)  Uid: ( 1001/opensips)   Gid: ( 1001/opensips)
Access: 2023-10-24 01:13:01.766009199 -0400
Modify: 2023-10-24 01:13:01.766009199 -0400
Change: 2023-10-24 01:13:01.766009199 -0400

opensips is running
 ps ax | grep opensips
 /usr/local/sbin/opensips -P /run/opensips/opensips.pid -f
/etc/opensips/opensips.cfg -m 5096 -M
....

but
/usr/local/bin/opensips-cli -x mi address_reload

ERROR: fifo file /tmp/opensips_fifo does not exist!
ERROR: Is OpenSIPS running?

it is trying to find opensips_fifo at the default place, how do  make
it look in the place indicated by opensips.cfg?



More information about the Users mailing list