<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Regarding the osipsconsole, I have renamed the fifo reply file from
$name to $fifo_reply_file. It is still hardcoded in the script. So u
can change in the script the $fifo_reply_file parameter and for the
path you can set, in the same file, the $fifo_reply_path. The two
parameters are one below the other.<br>
<br>
You can find the changed version of opensips on svn.<br>
<br>
<br>
Regards,<br>
Iulia<br>
<br>
<br>
PROBLEM<br>
<blockquote cite="mid:20091210101028.GA17875@debut.europalab.com"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">-------
When examining the location table using either opensipsctl(1) or
osipsconsoe(1) the commands hang:
$ opensipsctl ul show --brief
[hang]
In the log (debug=20) I see:
Dec 09 20:03:57 name.host.tld <error> opensips[6280]: ERROR:mi_fifo:mi_open_reply_pipe: open error (/pfx/var/opensips/opensips_receiver_6293): No such file or directory
Dec 09 20:03:57 name.host.tld <error> opensips[6280]: ERROR:mi_fifo:mi_fifo_server: cannot open reply pipe /pfx/var/opensips/opensips_receiver_6293
CONFIG opensipsctlrc
--------------------
CTLENGINE=FIFO
OSIPS_FIFO=/pfx/var/opensips/opensips.fifo
MI_CONNECTOR=FIFO:/pfx/var/opensips/opensips.fifo
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->With your advice I found 1/2 the solution. The OSER_FIRET
variable was missing from opensipsctlrc, which seems to describe
where the reply FIFO should be opened. I had it set to OSIPS_FIRET,
figuring that OpenSER names were no longer being used.
...so using opensipsctl(1) now works (1/2 the problem.)
But even after placing OSER_FIRET in osipsconsolerc, the
osipsconsole(1) still hangs when calling 'ul show --brief':
Dec 10 10:51:32 name.host.tld <error> opensips[17625]: ERROR:mi_fifo:mi_open_reply_pipe: open error (/pfx/var/opensips/fifo_reply): No such file or directory
Dec 10 10:51:32 name.host.tld <error> opensips[17625]: ERROR:mi_fifo:mi_fifo_server: cannot open reply pipe /pfx/var/opensips/fifo_reply
Looking in the perl file 'osipsconsole' I see that 'fifo_reply' is
hardcoded to a variable simply called 'name', which is impossible to
debug because 'name' is used everywhere in the perl modules.
Do you happen to know how to set the 'fifo_reply' name and path in
the osipsconsolerc? Are these really hard coded?
Regards,
Brian
_______________________________________________
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>
<br>
<div class="moz-signature">-- <br>
<quote>Iulia Bublea
<br>
Web: <a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a>
<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:iulia@opensips.org">iulia@opensips.org</a>
<br>
</quote>
</div>
</body>
</html>