[OpenSIPS-Users] mi_open_reply_pipe: open error

Jayesh Nambiar jayesh1017 at gmail.com
Sat Nov 8 12:50:29 CET 2014


Hi,
I am currently running opensips 2.1 version. From my script, based on a
certain event I execute exec command as follows:
exec_avp("/usr/local/sbin/opensipsctl fifo t_uac_cancel $avp(caller_cid)
$avp(caller_cseq)", "$avp(result)")
But the syslog always shows error as:

Nov  8 11:40:05 v146 /usr/local/sbin/opensips[17362]:
ERROR:mi_fifo:mi_open_reply_pipe: open error (/tmp/osips_rply_598a709a): No
such file or directory

Nov  8 11:40:05 v146 /usr/local/sbin/opensips[17362]:
ERROR:mi_fifo:mi_fifo_server: cannot open reply pipe
/tmp/osips_rply_598a709a

But if I execute the same command from the shell it executes properly and
behaves as expected. I am running opensips as root user and root group. My
mi_fifo parameters are as follows:

modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")

modparam("mi_fifo", "fifo_mode", 0755)

modparam("mi_fifo", "fifo_user", "root")

modparam("mi_fifo", "fifo_group", "root")

I even tried changing the reply fifo parameter to a different directory and
gave 0777 permission to that directory, but it didn't help. My current tmp
directory is also running with 0777 permissions but the error is still
same. Any suggestion on what opensips fifo is doing when I execute the
t_uac_cancel from the script directly?? I've tried all possible permission
related stuff but nothing seems to help here. Let me know if there's any
direction that I could take !!

--- Jayesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141108/927eb9c9/attachment.htm>


More information about the Users mailing list