Browse Source

KAZOO-3773: Adding loose_route check before sending NOTIFY to remove Route: headers and other such routing information and process it properly.

3.21
Darren Schreiber 11 years ago
parent
commit
70c5910af7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      kamailio/default.cfg

+ 4
- 0
kamailio/default.cfg View File

@ -351,6 +351,10 @@ route[HANDLE_NOTIFY]
{ {
if (is_method("NOTIFY")) { if (is_method("NOTIFY")) {
if (isflagset(FLAG_INTERNALLY_SOURCED)) { if (isflagset(FLAG_INTERNALLY_SOURCED)) {
if (loose_route()) {
xlog("L_INFO", "$ci|log|Able to loose-route. Cool beans!");
}
if (registered("location")) { if (registered("location")) {
lookup("location"); lookup("location");
xlog("L_INFO", "$ci|log|routing to $ruid"); xlog("L_INFO", "$ci|log|routing to $ruid");


Loading…
Cancel
Save