<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
my bad, I forgot to look inside modules folder, it is there:<br><br>[root@registrar modules]# ls<br>auth.so cfg_rpc.so db_mysql.so malloc_test.so mqueue.so prefix_route.so sl.so topoh.so<br>avpops.so counters.so debugger.so matrix.so mtree.so privacy.so sms.so xhttp.so<br>blst.so ctl.so enum.so mediaproxy.so pdb.so ratelimit.so textopsx.so<br>cfg_db.so db_flatstore.so lcr.so mi_rpc.so pipelimit.so sanity.so tm.so<br>[root@registrar modules]#<br><br>also, I forgot to declare the default values of the AVPs<br><br># ----- mi_fifo params -----<br>modparam("lcr", "gw_uri_avp", "$avp(i:709)")<br>modparam("lcr", "ruri_user_avp", "$avp(i:500)")<br>modparam("lcr", "flags_avp", "$avp(i:712)")<br>modparam("lcr", "lcr_id_avp", "$avp(s:lcr_id_avp)")<br>modparam("lcr", "defunct_gw_avp", "$avp(s:defunct_gw_avp)")<br><br>now, it loads fine<br><br>disregard this post<br><br><br><div><hr id="stopSpelling">From: fborot@hotmail.com<br>To: sr-users@lists.sip-router.org<br>Date: Mon, 27 Jun 2011 11:45:32 -0400<br>Subject: [SR-Users] LCR module<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
<br><br><div>
<div>After installing the latest stable version 3.1.4 I noticed that I can not run any 'lcr' commands from the 'kamctl fifo' interface. I noticed that the lcr.so is not on the lib64/modules_k or lib64/modules_s folders so I guess is was not included at installation time:<br><br><br><br>[root@registrar kamailio]# cd /usr/local/kamailio-3.1/lib64/kamailio/modules_k/<br>[root@registrar modules_k]# ls<br>acc.so db_text.so drouting.so mi_datagram.so permissions.so rtimer.so statistics.so usrloc.so<br>alias_db.so db_unixodbc.so exec.so mi_fifo.so pike.so rtpproxy.so textops.so xlog.so<br>auth_db.so dialog.so group.so msilo.so pua_mi.so siptrace.so tmx.so<br>auth_diameter.so dispatcher.so htable.so nathelper.so pv.so siputils.so uac_redirect.so<br>benchmark.so diversion.so imc.so nat_traversal.so qos.so speeddial.so uac.so<br>call_control.so domainpolicy.so kex.so path.so registrar.so sqlops.so uri_db.so<br>cfgutils.so domain.so maxfwd.so pdt.so rr.so sst.so userblacklist.so<br><br>[root@registrar modules_k]# cd /usr/local/kamailio-3.1/lib64/kamailio/modules_s/<br>[root@registrar modules_s]# ls<br>acc_db.so avp.so diversion.so fifo.so nathelper.so pike.so speeddial.so uri_db.so<br>acc_syslog.so db_ops.so domain.so gflags.so options.so print.so textops.so uri.so<br>auth_db.so dialog.so eval.so maxfwd.so pdt.so registrar.so timer.so usrloc.so<br>avp_db.so dispatcher.so exec.so msilo.so permissions.so rr.so uac.so xlog.so<br>[root@registrar modules_s]#<br><br>I checked the modules.lst file and it is not on the exclude list, because I did removed it along with db_mysql and db_odbc, so I expected it to be included but it is not. Am I missing something?<br><br>This is from the syslog<br><br>Jun 27 11:44:00 registrar /usr/local/kamailio-3.1/sbin/kamailio[3974]: ERROR: mi_fifo [fifo_fnc.c:470]: fifo command lcr is not available<br>Jun 27 11:44:00 registrar /usr/local/kamailio-3.1/sbin/kamailio[3974]: DEBUG: mi_fifo [fifo_fnc.c:549]: entered consume<br>Jun 27 11:44:00 registrar /usr/local/kamailio-3.1/sbin/kamailio[3974]: DEBUG: mi_fifo [fifo_fnc.c:549]: **** done consume<br><br>and this is from the fifo interface:<br><br>[root@registrar kamailio]# /usr/local/kamailio-3.1/sbin/kamctl fifo lcr reload<br>500 command 'lcr' not available<br>[root@registrar kamailio]#<br><br></div></div>                                            </div>
<br>_______________________________________________
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</div>                                            </div></body>
</html>