<div dir="ltr">it is working now<br>Thank you Bogdan<br><br><div class="gmail_quote">On Mon, Oct 6, 2008 at 5:52 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi there,<br>
<br>
In opensips.cfg the line<div class="Ih2E3d"><br>
'modparam("mi_fifo", "fifo_name", "FIFO")'<br></div>
^^^^^^^^^^^<br>
<br>
must have the same fifo_name as in opensipsctl.rc<br>
OSIPS_FIFO="fifo_name"<br>
^^^^^^^^^^^<br>
<br>
for example, set fifo_name = /tmp/opensips_fifo<br>
<br>
Regards,<br>
Bogdan<br>
<br>
<br>
ha donguyen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hi<br>
<br>
i am new to opensips and i installed opensips<br>
i edit the Makefile -- clear the db-mysql + everything is related to radius<br>
exclude_modules?= jabber cpl-c db_postgres osp db_unixodbc \<br>
db_oracle \<br>
xmpp presence presence_xml presence_mwi pua pua_bla pua_mi \<br>
pua_usrloc pua_xmpp rls mi_xmlrpc perl snmpstats perlvdb \<br>
ldap carrierroute h350 xcap_client db_berkeley seas peering<br>
<br>
do<br>
make prefix=/ all<br>
make prefix=/ install<br>
<br>
when install successfully, i edit the opensipsctl which is located in /etc/opensips/<br>
## your SIP domain<br></div>
SIP_DOMAIN=<a href="http://192.168.2.11" target="_blank">192.168.2.11</a> <<a href="http://192.168.2.11" target="_blank">http://192.168.2.11</a>><div><div></div><div class="Wj3C7c"><br>
<br>
## chrooted directory<br>
# $CHROOT_DIR="/path/to/chrooted/directory"<br>
<br>
DBENGINE=MYSQL<br>
DBHOST=localhost<br>
DBNAME=opensips<br>
<br>
# database path used by dbtext or db_berkeley<br>
# DB_PATH="/usr/local/etc/opensips/dbtext"<br>
<br>
DBRWUSER=opensips<br>
DBRWPW="opensipsrw"<br>
DBROUSER=opensipsro<br>
DBROPW=opensipsro<br>
<br>
## database super user (for ORACLE this is 'scheme-creator' user)<br>
DBROOTUSER="root"<br>
<br>
# user name column<br>
# USERCOL="username"<br>
<br>
# FOREVER="2020-05-28 21:32:15"<br>
# DEFAULT_ALIASES_EXPIRES=$FOREVER<br>
# DEFAULT_Q="1.0"<br>
# DEFAULT_CALLID="Default-Call-ID"<br>
# DEFAULT_CSEQ="13"<br>
# DEFAULT_LOCATION_EXPIRES=$FOREVER<br>
<br>
# Program to calculate a message-digest fingerprint<br>
# MD5="md5sum"<br>
<br>
# awk tool<br>
# AWK="awk"<br>
<br>
# grep tool<br>
# GREP="egrep"<br>
<br>
# sed tool<br>
# SED="sed"<br>
<br>
# If to install tables for the modules in the EXTRA_MODULES variable.<br>
# INSTALL_EXTRA_TABLES=ask<br>
<br>
# If to install presence related tables.<br>
# INSTALL_PRESENCE_TABLES=ask<br>
<br>
# opensips standard modules<br>
STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo<br>
alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher<br>
dialplan"<br>
<br>
# opensips extra modules<br>
# EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist"<br>
<br>
<br>
## type of aliases used: DB - database aliases; UL - usrloc aliases<br>
## - default: none<br>
# ALIASES_TYPE="DB"<br>
<br>
## control engine: FIFO or UNIXSOCK<br>
## - default FIFO<br>
CTLENGINE="FIFO"<br>
<br>
## path to FIFO file<br>
OSIPS_FIFO="FIFO"<br>
<br>
## check ACL names; default on (1); off (0)<br>
# VERIFY_ACL=1<br>
<br>
## ACL names - if VERIFY_ACL is set, only the ACL names from below list<br>
## are accepted<br>
# ACL_GROUPS="local ld int voicemail free-pstn"<br>
<br>
## verbose - debug purposes - default '0'<br>
# VERBOSE=1<br>
<br>
## do (1) or don't (0) store plaintext passwords<br>
## in the subscriber table - default '1'<br>
STORE_PLAINTEXT_PW=0<br>
<br>
## OPENSIPS START Options<br>
## PID file path - default is: /var/run/opensips.pid<br>
PID_FILE=/var/run/opensips.pid<br>
<br>
## Extra start options - default is: not set<br>
# example: start opensips with 64MB share memory: STARTOPTIONS="-m 64"<br>
# STARTOPTIONS=<br>
[root@Centos opensips]#<br>
<br>
<br>
i start opensips with opensipsctl start<br>
<br>
[root@Centos opensips]# opensipsctl start<br>
<br>
INFO: Starting OpenSIPS :<br>
INFO: started (pid: 15590)<br>
but when i do<br>
root@Centos opensips]# opensipsctl moni<br>
ERROR: Error opening OpenSIPS's FIFO FIFO<br>
ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "FIFO")' in your config<br>
ERROR: and also have loaded the mi_fifo module.<br>
<br>
the /etc/opensips/opensips.cfg, i didnt change anything in this file<br>
<br>
could someone give me a hand on this problem<br>
<br>
Thanks<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>