Browse Source

when using fs_path FS sets it as a route header and if not removed breaks upstream elements (#144)

(cherry picked from commit 94c97087a1)
5.0
bitbashing 5 years ago
committed by Luis Azedo
parent
commit
48939f92c9
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      kamailio/default.cfg

+ 5
- 3
kamailio/default.cfg View File

@ -517,11 +517,12 @@ route[PREPARE_INITIAL_REQUESTS]
}
if (!isflagset(FLAG_INTERNALLY_SOURCED)) {
xlog("L_INFO", "$ci|log|call is not from internal source, recording route");
remove_hf("Route");
}
if(!isflagset(FLAG_INTERNALLY_SOURCED)) {
record_route();
} else if (loose_route()) {
xlog("L_WARN", "$ci|end|loose routing of internal initial request\n");
exit();
}
}
@ -546,6 +547,7 @@ route[BRANCH_HEADERS]
route(AUTH_HEADERS);
} else {
remove_hf_re("^X-");
remove_hf_re("^k-cid");
}
}


Loading…
Cancel
Save