[SR-Users] Local call routing accross many kamailio servers
Ali Jawad
ali.jawad at splendor.net
Mon Dec 10 13:27:43 CET 2012
It does seem like a simple problem gone viral...the db_mode is set to 3,
the actual routing happens as follows :
# USER location service
route[LOCATION] {
#!ifdef WITH_ALIASDB
# search in DB-based aliases
alias_db_lookup("dbaliases");
#!endif
if (!lookup("location")) {
switch ($rc) {
case -1:
case -3:
t_newtran();
t_reply("404", "Not Found");
exit;
case -2:
sl_send_reply("405", "Method Not Allowed");
exit;
}
}
# when routing via usrloc, log the missed calls also
if (is_method("INVITE"))
{
setflag(FLT_ACCMISSED);
}
}
On Mon, Dec 10, 2012 at 2:22 PM, Alex Balashov <abalashov at evaristesys.com>wrote:
> db_mode
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121210/30de347b/attachment.htm>
More information about the sr-users
mailing list