<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi,<br>
      <br>
      See the opensips-cli documentation <br>
          <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips-cli#configuration">https://github.com/OpenSIPS/opensips-cli#configuration</a><br>
      <br>
      In the CLI cfg file you can set a custom `</font><font
      face="monospace"><code>fifo_file` value, so that it will align
        with the value you have in the opensips cfg file.<br>
        <br>
        Regards,<br>
      </code></font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 10/24/23 8:17 AM, Saint Michael
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC9cSOD2wryVtD8HvfhtrBfJ0n5R3wM7A+5msHTTw2eSzK3_Aw@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">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?

_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>