[OpenSIPS-Users] newbie need help on opensips -- opensipsctl moni cli
ha donguyen
haloha201 at gmail.com
Mon Oct 6 11:00:21 CEST 2008
Hi
i am new to opensips and i installed opensips
i edit the Makefile -- clear the db-mysql + everything is related to radius
exclude_modules?= jabber cpl-c db_postgres osp db_unixodbc \
db_oracle \
xmpp presence presence_xml presence_mwi pua pua_bla pua_mi \
pua_usrloc pua_xmpp rls mi_xmlrpc perl snmpstats perlvdb \
ldap carrierroute h350 xcap_client db_berkeley seas peering
do
make prefix=/ all
make prefix=/ install
when install successfully, i edit the opensipsctl which is located in
/etc/opensips/
## your SIP domain
SIP_DOMAIN=192.168.2.11
## chrooted directory
# $CHROOT_DIR="/path/to/chrooted/directory"
DBENGINE=MYSQL
DBHOST=localhost
DBNAME=opensips
# database path used by dbtext or db_berkeley
# DB_PATH="/usr/local/etc/opensips/dbtext"
DBRWUSER=opensips
DBRWPW="opensipsrw"
DBROUSER=opensipsro
DBROPW=opensipsro
## database super user (for ORACLE this is 'scheme-creator' user)
DBROOTUSER="root"
# user name column
# USERCOL="username"
# FOREVER="2020-05-28 21:32:15"
# DEFAULT_ALIASES_EXPIRES=$FOREVER
# DEFAULT_Q="1.0"
# DEFAULT_CALLID="Default-Call-ID"
# DEFAULT_CSEQ="13"
# DEFAULT_LOCATION_EXPIRES=$FOREVER
# Program to calculate a message-digest fingerprint
# MD5="md5sum"
# awk tool
# AWK="awk"
# grep tool
# GREP="egrep"
# sed tool
# SED="sed"
# If to install tables for the modules in the EXTRA_MODULES variable.
# INSTALL_EXTRA_TABLES=ask
# If to install presence related tables.
# INSTALL_PRESENCE_TABLES=ask
# opensips standard modules
STANDARD_MODULES="standard acc lcr domain group permissions registrar
usrloc msilo
alias_db uri_db speeddial avpops auth_db pdt dialog
dispatcher
dialplan"
# opensips extra modules
# EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist"
## type of aliases used: DB - database aliases; UL - usrloc aliases
## - default: none
# ALIASES_TYPE="DB"
## control engine: FIFO or UNIXSOCK
## - default FIFO
CTLENGINE="FIFO"
## path to FIFO file
OSIPS_FIFO="FIFO"
## 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"
## 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
## OPENSIPS START Options
## PID file path - default is: /var/run/opensips.pid
PID_FILE=/var/run/opensips.pid
## Extra start options - default is: not set
# example: start opensips with 64MB share memory: STARTOPTIONS="-m 64"
# STARTOPTIONS=
[root at Centos opensips]#
i start opensips with opensipsctl start
[root at Centos opensips]# opensipsctl start
INFO: Starting OpenSIPS :
INFO: started (pid: 15590)
but when i do
root at Centos opensips]# opensipsctl moni
ERROR: Error opening OpenSIPS's FIFO FIFO
ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name",
"FIFO")' in your config
ERROR: and also have loaded the mi_fifo module.
the /etc/opensips/opensips.cfg, i didnt change anything in this file
could someone give me a hand on this problem
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081006/46bdf24a/attachment.htm
More information about the Users
mailing list