Browse Source

default.cfg:disable replys to Options from outside

3.17
Anca Vamanu 12 years ago
parent
commit
033eeb46f4
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      kamailio/default.cfg

+ 4
- 3
kamailio/default.cfg View File

@ -251,9 +251,10 @@ route[HANDLE_OPTIONS]
if (is_method("OPTIONS")) {
if (isflagset(FLAG_INTERNALLY_SOURCED)) {
route(INTERNAL_TO_EXTERNAL_RELAY);
} else {
sl_send_reply("200", "Rawr!!");
}
# else {
# sl_send_reply("200", "Rawr!!");
# }
exit;
}
}
@ -484,4 +485,4 @@ onsend_route {
xlog("L_INFO", "$ci|pass|$sndfrom(ip):$sndfrom(port) -> $sndto(ip):$sndto(port)");
}
## vim:set tabstop=4 softtabstop=4 shiftwidth=4 expandtab
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab

Loading…
Cancel
Save