<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No, I meant that OSISP_FIFO is not used in osipsconsolerc. <br>
Indeed it is used in osispconsole, but it is just a parameter and it's
value comes from splitting MI_CONNECTOR by ":". That is all. For param
configuring just use osipsconsolerc or opensispctlrc.<br>
<br>
Iulia<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:opensipslist@encambio.com">opensipslist@encambio.com</a> wrote:
<blockquote cite="mid:20091210132734.GA29294@debut.europalab.com"
type="cite">
<pre wrap="">Hello Iulia,
An jeu., déc 10, 2009, Iulia Bublea schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">To my knowledge OSIPS_FIFO is not used in osispsconsolerc, the only
parameter used is MI_FIFO.
</pre>
</blockquote>
<pre wrap=""><!---->I think you mean 'OSIPS_FIFO is not used in osipsconsol' but that
is be a wrong impression, see grep(1) output below. Both MI_FIFO
and OSIPS_FIFO are indeed used by osipsconsole. The question is if
both should be set to the same path value, or where the
documentation is to describe choosing a path for the various
(how many?) FIFOs being used.
---- Cut ----
[host]/tmp/opensips-1.6.0-tls.orig$ grep OSIPS_FIFO scripts/osipsconsole
my $OSIPS_FIFO = "";
$OSIPS_FIFO = $list[1];
$OSIPS_FIFO = "/tmp/opensips_fifo";
&write_read_fifo($OSIPS_FIFO,$path,$cmd_fifo);
&write_read_fifo($OSIPS_FIFO,$path,$cmd_fifo);
&write_read_fifo($OSIPS_FIFO,$path,$cmd_fifo);
&write_read_fifo($OSIPS_FIFO,$path,":get_statistics:$name\nUAS_transactions\nUAC_transactions\ninuse_transactions\n\n");
&write_read_fifo($OSIPS_FIFO,$path,":get_statistics:$name\nsent_replies\nsent_err_replies\nreceived_ACKs\n\n");
&write_read_fifo($OSIPS_FIFO,$path,":get_statistics:$name\nusrloc:\n\n");
$OSIPS_FIFO = $_[0];
if (!-e $OSIPS_FIFO){
print "File $OSIPS_FIFO does not exist!";
if ( !-w $OSIPS_FIFO ) {
print "Error opening OpenSIPS's FIFO " . $OSIPS_FIFO . "\n" .
"Make sure you have the line 'modparam(\"mi_fifo\", \"fifo_name\", \" " . $OSIPS_FIFO . "\")' in your config\n" .
open(ANS,">$OSIPS_FIFO") or die "Could not open $OSIPS_FIFO for writing: $!\n";
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>