Skip to content

Commit

Permalink
FIX MESSAGE-ROLE 2
Browse files Browse the repository at this point in the history
message dispatcher relies on lookup to deliver the message
(cherry picked from commit a9d666d)
  • Loading branch information
lazedo committed Feb 24, 2015
1 parent 2acf9c4 commit fd0b64b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kamailio/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ route[HANDLE_MESSAGE]
t_on_reply("MESSAGE_REPLY");
if (isflagset(FLAG_INTERNALLY_SOURCED) || src_ip == myself) {
xlog("L_INFO", "$ci| routing MESSAGE to external from $fu to $tu");
if (registered("location")) {
lookup("location");
xlog("L_INFO", "$ci|log|routing to $ruid");
}
route(INTERNAL_TO_EXTERNAL_RELAY);
#!ifdef TRAFFIC-FILTER-ROLE
} else if (!isflagset(FLAG_TRUSTED_SOURCE)
Expand Down

0 comments on commit fd0b64b

Please sign in to comment.