Commit 08d4960df7 for asterisk.org
commit 08d4960df70b30869473a579a64d525ae4779c93
Author: Sean Bright <sean@seanbright.com>
Date: Mon Dec 22 11:43:41 2025 -0500
http.c: Include remote address in URI handler message.
Resolves: #1662
diff --git a/main/http.c b/main/http.c
index 220019873f..38aa5654c8 100644
--- a/main/http.c
+++ b/main/http.c
@@ -1518,7 +1518,8 @@ static int handle_uri(struct ast_tcptls_session_instance *ser, char *uri,
}
res = urih->callback(ser, urih, uri, method, get_vars, headers);
} else {
- ast_debug(1, "Requested URI [%s] has no handler\n", uri);
+ ast_debug(1, "Request from %s for URI [%s] has no registered handler\n",
+ ast_sockaddr_stringify_addr(&ser->remote_address), uri);
ast_http_error(ser, 404, "Not Found", "The requested URL was not found on this server.");
}