<div dir="ltr">Thank you!!<br>Getting Error while executing kamailio,<br><br> 0(16640) ERROR: lcr [lcr_mod.c:479]: mod_init(): AVP gw_uri_avp has not been defined<br> 0(16640) ERROR: <core> [core/sr_module.c:968]: init_mod(): Error while initializing module lcr (/usr/local/lib64/kamailio/modules/lcr.so)<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 5:22 PM, Anthony Joseph Messina <span dir="ltr"><<a href="mailto:amessina@messinet.com" target="_blank">amessina@messinet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You typically only need to include the modparam configuration entries that<br>
either don't have a default value, or where you want to override the default.<br>
<span class="HOEnZb"><font color="#888888"><br>
-A<br>
<br>
--<br>
Anthony - <a href="https://messinet.com/" rel="noreferrer" target="_blank">https://messinet.com/</a> - <a href="https://messinet.com/~amessina/gallery
F9B6" rel="noreferrer" target="_blank">https://messinet.com/~<wbr>amessina/gallery<br>
F9B6</a> 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wednesday, July 26, 2017 6:21:29 AM CDT Logeshwaran G wrote:<br>
> Hi All,<br>
><br>
> I have created an lcr_gw, lcr_rule and lcr_rule_target tables according to<br>
> my convenient .<br>
><br>
> I have doubt on kamailio.cfg, whether I need to add the below params in cfg<br>
> file??<br>
><br>
> # ----- lcr params -----<br>
> #modparam("lcr","db_url","<wbr>DBURL")<br>
> #modparam("lcr", "lcr_gw_table","gw")<br>
> #modparam("lcr", "id_column", "row_id")<br>
> #modparam("lcr", "lcr_id_column", "lcr_identifier")<br>
> #modparam("lcr", "gw_name_column", "name")<br>
> #modparam("lcr", "ip_addr_column", "ip")<br>
> #modparam("lcr", "hostname_column", "host")<br>
> #modparam("lcr", "port_column", "port")<br>
> #modparam("lcr", "params_column", "parameters")<br>
> #modparam("lcr", "uri_scheme_column", "uri_scheme")<br>
> #modparam("lcr", "transport_column", "trans")<br>
> #modparam("lcr", "strip_column", "strip_count")<br>
> #modparam("lcr", "prefix_column", "number_prefix")<br>
> #modparam("lcr", "tag_column", "gw_tag")<br>
> #modparam("lcr", "flags_column", "gw_flags")<br>
> #modparam("lcr", "defunct_column", "defunct_until")<br>
> #modparam("lcr", "lcr_rule_table", "rules")<br>
> #modparam("lcr", "prefix_column", "number_prefix")<br>
> #modparam("lcr", "from_uri_column", "caller_uri")<br>
> #modparam("lcr", "request_uri_column", "callee_uri")<br>
> #modparam("lcr", "stopper_column", "stop")<br>
> #modparam("lcr", "enabled_column", "in_use")<br>
> #modparam("lcr", "lcr_rule_target_table", "rules")<br>
> #modparam("lcr", "rule_id_column", "rule")<br>
> #modparam("lcr", "gw_id_column", "gw")<br>
> #modparam("lcr", "priority_column", "priority")<br>
> #modparam("lcr","weight_<wbr>column", "target_weight")<br>
> #modparam("lcr", "gw_uri_avp", "$avp(i:709)")<br>
> #modparam("lcr", "ruri_user_avp", "$avp(i:500)")<br>
><br>
> Please guide me.<br>
><br>
> Thanks in Advance,<br>
> Logeshwaran G<br>
<br>
</div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>