[Users] Newbie question about FIFO in Openser 1.2.x

Thiago Maluf malufrj at gmail.com
Tue May 22 23:02:46 CEST 2007


Hi list,
I never worked with FIFO, and I need exec one command in fifo, the
trusted_reload !

********** openser.cfg **********************


alias="insta.voip.nce.ufrj.br"

mpath="/lib/openser/modules"

children=8
tcp_children=4

debug=3
fork=yes
log_facility=LOG_DAEMON
log_stderror=yes

group="openser"
user="openser"
sock_group="openser"
sock_user="openser"
disable_tcp=no
mhomed=no
server_signature=yes
sock_mode=0600
unix_sock="/tmp/openser.sock"
unix_sock_children=1
reply_to_via=no
sip_warning=no
check_via=no
dns=no
rev_dns=no
disable_core_dump=no
dns_try_ipv6=yes
dns_use_search_list=yes

.......

loadmodule "mi_fifo.so"
modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
modparam("mi_fifo", "fifo_mode", 0660)
modparam("mi_fifo", "fifo_group", "openser")
modparam("mi_fifo", "fifo_user", "openser")
modparam("mi_fifo", "reply_dir", "/tmp/")
modparam("mi_fifo", "reply_indent", "\t")

......

**************** openserctl *****************

# $Id: openserctlrc 1827 2007-03-12 15:22:53Z bogdan_iancu $
#
# openser control tool resource file
#
# here you can set variables used in the openserctl

## your SIP domain
SIP_DOMAIN=insta.voip.nce.ufrj.br

## database type: MYSQL or PGSQL, by defaulte none is loaded
DBENGINE=PGSQL

## database host
DBHOST=146.164.247.209

## database name
DBNAME=openser

## database read/write user
DBRWUSER=openser

## database read only user
# DBROUSER=openserro

## password for database read only user
DBROPW=openserro

## database super user
DBROOTUSER="postgres"

## type of aliases used: DB - database aliases; UL - usrloc aliases
## - default: none
ALIASES_TYPE="DB"

## control engine: FIFO or UNIXSOCK
## - default FIFO
CTLENGINE="UNIXSOCK"

## path to FIFO file
OSER_FIFO="/tmp/"

## check ACL names; default on (1); off (0)
VERIFY_ACL=1

## ACL names - if VERIFY_ACL is set, only the ACL names from below list
## are accepted
# ACL_GROUPS="local ld int voicemail free-pstn"

## presence of serweb tables - default "no"
# HAS_SERWEB="yes"

## verbose - debug purposes - default '0'
VERBOSE=1

## do (1) or don't (0) store plaintext passwords
## in the subscriber table - default '1'
# STORE_PLAINTEXT_PW=0




***************************

My doubt is what my conf is correct and what is the command that I use in
the Konsole!?

Thanks in advanced for your dedication to someone that read  to here.
Thiago Maluf.


----------------------------------------------------------------
THIAGO MALUF RESENDE
Consultor Voip e Programador WEB (Voip Developer and Web Developer)
Tel: +55 21 86042100
e-mail: malufrj at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070522/9167f4ff/attachment.htm 


More information about the Users mailing list