Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: edeganay on October 16, 2009, 02:22:24 PM
-
Hello,
I havn't been around for a while, but I have an interesting issue.
I just changed my sip provider to a new (cheaper) one.
Everything is (almost) fine, except a constant error message on the asterisk log and CLI
chan_sip.c:6797 determine_firstline_parts: Bad request protocol Packet
The SIP Provider knows it, ans propose a solution :
iptables -A INPUT -p udp -m udp --dport 5060 -m string --string "Cirpack KeepAlive Packet" --algo bm --to 65535 --source SIPProviderAddress -j DROP
I know that doing this will be done untill SME reboot, how to add this permanently ?
More over, when pasting the commande to SME commandline, I have the following error
iptables v1.2.11: Couldn't load match `string':/lib/iptables/libipt_string.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
any idea to what to do ?
Edd
-
Hi
I think you should re-post this in the contribs section of the site because this is a firewall issue and nothing to do with SAIL. There are SME experts on that forum who I'm sure can help you. I might add that I've never before heard of a SIP provider requiring special firewall rules be applied. If it were me, I think I might be tempted to choose a different provider. Anyway... there is some information here
http://lists.digium.com/pipermail/asterisk-users/2008-February/205617.html
Best
S
-
noted,
Tahnks,
Edd
-
Hello,
1 year later, I did'nt find how to add patches.
Actually, I found this explanation :
http://www.voip-info.org/wiki/view/asterisk+developer+guidelines
but couldn't find the asterisk source in SME
Any help ?
Many thanks,
Edd