Hello,

On 1/11/11 4:40 PM, Ricardo Martinez wrote:

Hello.

I’m trying to use the kamctl command to get information about dialogs.  I’m using the next line :

 

kamctl fifo profile_get_size:kamailio_fifo


first the way you use the command is wrong, try:

kamctl fifo profile_get_size your_dlg_profile


If the error persists, send the new output. Also, be sure kamailio is running as an user that has privileges to read from the fifo file.

Cheers,
Daniel

 

 

and I’m getting the next output in the log file :

 

Jan 11 12:34:38 /usr/local/sbin/kamailio[15051]: ERROR: mi_fifo [fifo_fnc.c:223]: open error (/tmp/kamailio_fifo:openser_receiver_15073): No such file or directory

Jan 11 12:34:38 /usr/local/sbin/kamailio[15051]: ERROR: mi_fifo [fifo_fnc.c:484]: cannot open reply pipe /tmp/kamailio_fifo:openser_receiver_15073

 

 

What I’m doing wrong?

 

This is part of the configuration file :

# ----- mi_fifo params ------

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

modparam("mi_fifo", "fifo_group", 0)

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

modparam("mi_fifo", "fifo_user", 0)

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

 

 

and this is  the file kamailio_fifo in the /tmp directory :

 

[root@kamailio]# ls -la /tmp

total 52

drwxrwxrwt.  4 root   root    4096 Jan 11 12:38 .

dr-xr-xr-x. 25 root   root    4096 Jan  7 09:25 ..

drwxrwxrwt   2 root   root    4096 Jan  7 09:25 .ICE-unix

prw-rw----   1 root   root       0 Jan 11 12:34 kamailio_fifo

drwx------   2 root   root    4096 Jan 11 09:54 ssh-gpTCQ12700

 

Hope someone could help me.

 

Regards,

Ricardo.-

_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com