Asterisk warning message removed

Allready for months I got my asterisk log-file filled with a message every 10 seconds:

WARNING[6511] chan_sip.c: Bad request protocol Packet

Turns out this messsage is some issue with an incompatible protocol with the XS4All account and it can be solved with:

sudo iptables -A INPUT -p udp -m udp –dport 5060 -m string –algo=bm –string KeepAlive -j DROP

Note: instead of the long dash before dport, algo and string you should type a double -. Some formatting issue of WordPress.

Met dank aan deze forum-post op tweakers.net .