[SR-Users] Change aliases table without a restart of Kamailio
Morten Isaksen
misak at misak.dk
Tue Jul 19 11:54:47 CEST 2011
Hi,
Is there any way to reload the content of the aliases table without
restarting Kamailio?
I have this in my cfg file
if (lookup("location")) {
xlog("L_WARN", "Callee is online - - M=$rm
RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
route(TO_USER_SIPCHECKS);
route(RELAY);
} else if (lookup("aliases")) {
xlog("L_WARN", "Callee is in aliases - - M=$rm
RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
route(TO_USER_SIPCHECKS);
route(RELAY);
} else {
xlog("L_WARN", "Callee is offline - - M=$rm
RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
t_newtran();
t_reply("486", "Busy here");
exit;
}
And changes in the aliases table does is ignored until I restart Kamailio.
--
Morten Isaksen
More information about the sr-users
mailing list