[OpenSIPS-Users] Problem with mi_fifo replies
Iulia Bublea
iulia at opensips.org
Thu Dec 10 12:36:45 CET 2009
Hi,
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.
You can find the changed version of opensips on svn.
Regards,
Iulia
PROBLEM
>>> -------
>>>
>>> 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
>>>
>>>
> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Iulia Bublea
Web: www.voice-system.ro
Email: iulia at opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091210/388665b4/attachment.htm
More information about the Users
mailing list