Hi Kamailio Users,
I'm trying to use LCR module in Kamailio 3.1.1 and I', having some problems with this function (load_gws).
I'm my kamailio.cfg , I have this route:
# SEARCH DEST route[NUMBER] { xlog("L_ALERT", "NUMBER IS $rU \n"); if ($rU=~"^55211020[0-9]{4}$") { # IS MY USERS route(LDAP_NUM2USER); } else { # NOT IS MY USER if (!load_gws(1,$rU)) { xlog("L_ALERT", "LOAD LOCAL GW FAILED $rU \n"); route(DSER); return; } else { xlog("L_ALERT", "LOAD GW DEBUG $avp(i:709)\n"); } ;
if (!next_gw()) { xlog("L_ALERT", "NEXT LOCAL GW FAILED\n"); sl_send_reply("503", "Service not available - No gateways"); return; };
setflag(29); route(RELAY); return; }; };
When my call arrive to load_gws, I have this problem:
(2198) ERROR: <core> [action.c:1158]: runtime fixup failed for load_gws param 2 (2198) ERROR: <core> [action.c:1511]: run action error at: /etc/kamailio/kamailio.cfg:472
I already saw the Kamailio Code and this error doesn't make sense.
Would somebody Help me with it?
Very thanks, Thiago Maluf.
---------------------------------------------------------------- Thiago Maluf Resende Tel: +55 21 9700-9113 e-mail: malufrj@gmail.com
Thiago Maluf writes:
When my call arrive to load_gws, I have this problem:
(2198) ERROR: <core> [action.c:1158]: runtime fixup failed for load_gws param 2 (2198) ERROR: <core> [action.c:1511]: run action error at: /etc/kamailio/kamailio.cfg:472
I already saw the Kamailio Code and this error doesn't make sense.
Would somebody Help me with it?
if you have not yet got it working, try enclosing the arguments of load_gws to quotes (").
-- juha