[SR-Users] xhttp - default reply
Ilie Soltanici
iliusha.md at gmail.com
Wed Oct 5 14:55:23 CEST 2022
Hello,
Is there a way to set a default reply message for the xhttp module, or at
least drop the TCP connection when 'url_match' parameter is used? For
example, if used:
modparam("xhttp", "url_match", "^/rpc/")
which should handle only HTTP requests to this endpoint:
http://127.0.0.1:5060/rpc, now if HTTP requests are sent to another
endpoint (http://127.0.0.1:5060/v2) - then the TCP connection just stays
established even nobody process it. I know I can ignore this parameter and
filter all requests in the event_route, but dropping them before calling
event_route will make more sense for me, or at least add another
parameter to this module that can control that.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221005/59747f56/attachment.htm>
More information about the sr-users
mailing list