[OpenSIPS-Users] How can I write down the MI commands into the FIFO file, using an editor.
Rodrigo Pimenta Carvalho
pimenta at inatel.br
Tue Dec 1 18:04:28 CET 2015
Dear OpenSIPS-users,
I my opensips.cfg I have:
---------------------------------------------------------
##### FIFO Management Interface
loadmodule "mi_fifo.so"
modparam("mi_fifo", "fifo_name", "/tmp/FifoCommands.txt") # arquivo para ler comandos solicitados por aplicações externas.
modparam("mi_fifo", "reply_dir", "/tmp") # diretório onde serão escritas as respostas do OpenSIPS, que serão lidas pelas aplicações externas.
modparam("mi_fifo", "fifo_mode", 0777) # permissão de scrita e leitura.
modparam("mi_fifo", "fifo_group", "root") # grupo de usuários para o arquivo.
modparam("mi_fifo", "fifo_user", "root") # usuário do arquivo.
----------------------------------------------------------
When OpenSIPS is not running, I can edit the file FifoCommands.txt using emacs or vi, for example.
However, when OpenSIPS is running I can not. The editor tells me that the file is read only Why? How to solve this? Any configuration?
Any hint will be very helpful!
Thanks a lot.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151201/8ae54da4/attachment.htm>
More information about the Users
mailing list