Skip to content

Commit

Permalink
fix(kamailio.cfg): Log rejected INVITES or REGISTER for unrecognized …
Browse files Browse the repository at this point in the history
…destination (#52)

L_INFO isn't shown by default and this message is helpful to debug problems with trunks
  • Loading branch information
Stell0 authored Feb 14, 2025
1 parent 140611c commit 08704ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kamailio/config/kamailio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ request_route {
$var(destinationXavp) = "";
#checking if it's for me
if (uri!=myself && is_method("INVITE|REGISTER") && !ds_is_from_list() && !has_totag()) {
xlog('L_INFO', "[DEV] - $ci $rm-$cs - request not for me, rejecting! \n");
xlog('L_WARN', "[DEV] - $ci $rm-$cs - request not for me, rejecting! \n");
#sl_send_reply("404","Not here");
exit;
}
Expand Down

0 comments on commit 08704ed

Please sign in to comment.