Skip to content

Commit

Permalink
Remove validation r-Uri number
Browse files Browse the repository at this point in the history
  • Loading branch information
mwolff44 authored Apr 30, 2024
1 parent 2393b9c commit a16c042
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/sip/kamailio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,6 @@ route[REQINIT] {
xlog("Malformed SIP request from $si:$sp\n");
exit;
}

if (is_method("INVITE")) {
if !($rU =~ "^[0-9]{1,15}$") {
# we expect the R-URI username to consist of up to 15 digits only
xlog("Malformed R-URI username: '$rU'\n");
exit;
}
}
}

# Handle requests within SIP dialogs
Expand Down

0 comments on commit a16c042

Please sign in to comment.