my bad, I forgot to look inside modules folder, it is there:
[root@registrar modules]# ls
auth.so cfg_rpc.so db_mysql.so malloc_test.so mqueue.so prefix_route.so
sl.so topoh.so
avpops.so counters.so debugger.so matrix.so mtree.so privacy.so
sms.so xhttp.so
blst.so ctl.so enum.so mediaproxy.so pdb.so ratelimit.so
textopsx.so
cfg_db.so db_flatstore.so lcr.so mi_rpc.so pipelimit.so sanity.so
tm.so
[root@registrar modules]#
also, I forgot to declare the default values of the AVPs
# ----- mi_fifo params -----
modparam("lcr", "gw_uri_avp", "$avp(i:709)")
modparam("lcr", "ruri_user_avp", "$avp(i:500)")
modparam("lcr", "flags_avp", "$avp(i:712)")
modparam("lcr", "lcr_id_avp", "$avp(s:lcr_id_avp)")
modparam("lcr", "defunct_gw_avp", "$avp(s:defunct_gw_avp)")
now, it loads fine
disregard this post
From: fborot(a)hotmail.com
To: sr-users(a)lists.sip-router.org
Date: Mon, 27 Jun 2011 11:45:32 -0400
Subject: [SR-Users] LCR module
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:
[root@registrar kamailio]# cd /usr/local/kamailio-3.1/lib64/kamailio/modules_k/
[root@registrar modules_k]# ls
acc.so db_text.so drouting.so mi_datagram.so permissions.so
rtimer.so statistics.so usrloc.so
alias_db.so db_unixodbc.so exec.so mi_fifo.so pike.so
rtpproxy.so textops.so xlog.so
auth_db.so dialog.so group.so msilo.so pua_mi.so
siptrace.so tmx.so
auth_diameter.so dispatcher.so htable.so nathelper.so pv.so
siputils.so uac_redirect.so
benchmark.so diversion.so imc.so nat_traversal.so qos.so
speeddial.so uac.so
call_control.so domainpolicy.so kex.so path.so registrar.so
sqlops.so uri_db.so
cfgutils.so domain.so maxfwd.so pdt.so rr.so sst.so
userblacklist.so
[root@registrar modules_k]# cd /usr/local/kamailio-3.1/lib64/kamailio/modules_s/
[root@registrar modules_s]# ls
acc_db.so avp.so diversion.so fifo.so nathelper.so pike.so
speeddial.so uri_db.so
acc_syslog.so db_ops.so domain.so gflags.so options.so print.so
textops.so uri.so
auth_db.so dialog.so eval.so maxfwd.so pdt.so registrar.so
timer.so usrloc.so
avp_db.so dispatcher.so exec.so msilo.so permissions.so rr.so
uac.so xlog.so
[root@registrar modules_s]#
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?
This is from the syslog
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
Jun 27 11:44:00 registrar /usr/local/kamailio-3.1/sbin/kamailio[3974]: DEBUG: mi_fifo
[fifo_fnc.c:549]: entered consume
Jun 27 11:44:00 registrar /usr/local/kamailio-3.1/sbin/kamailio[3974]: DEBUG: mi_fifo
[fifo_fnc.c:549]: **** done consume
and this is from the fifo interface:
[root@registrar kamailio]# /usr/local/kamailio-3.1/sbin/kamctl fifo lcr reload
500 command 'lcr' not available
[root@registrar kamailio]#
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users