[Spce-user] User-Agent string pattern for config.yml
Hohl Matthias
matthias.hohl at telematica.at
Fri Dec 14 06:50:16 EST 2018
Hello,
can you tell me how the string has to look like?
* kamailio.proxy.block_useragents.ua_patterns: List of User-Agent
string patterns that trigger the block action.
Currently I block it directly in
/etc/ngcp-config/templates/etc/kamailio/lb/kamailio.cfg.customtt.tt2 with
this string:
if( is_method("REGISTER|INVITE") && ($ua =~ "friendly-scanner" || $ua =~
"friendly-request" || $ua =~ "sipvicious" || $ua =~ "^sipcli.+") )
how I had to add it in the config.yml file?
"friendly-scanner","friendly-request","sipvicious","etc","etc"?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20181214/4335333a/attachment.html>
More information about the Spce-user
mailing list