Remco Barendse
2008-Feb-11 23:00 UTC
[asterisk-users] SIP Bad request protocol Packet on Asterisk 1.4.18
Hi all!! I have a really weird problem. I upgraded 2 Asterisk 1.2 boxes to Asterisk 1.4.18. Both are home PBX's and both boxes register to a SIP DID at exactly same provider. One box runs without errors on the console, the other box keeps repeating : [Feb 11 23:40:29] WARNING[11292]: chan_sip.c:6705 determine_firstline_parts: Bad request protocol Packet When i set debug on, it seems to come from that SIP DID. <--- SIP read from 82.101.62.99:5060 ---> Cirpack KeepAlive Packet <-------------> [Feb 11 23:37:59] WARNING[11292]: chan_sip.c:6705 determine_firstline_parts: Bad request protocol Packet --- (1 headers 0 lines) --- What i don't understand is why i get this message on one box only? Ideas anyone?
Patrick
2008-Feb-12 04:40 UTC
[asterisk-users] SIP Bad request protocol Packet on Asterisk 1.4.18
Remco Barendse wrote:> Hi all!! > > I have a really weird problem. I upgraded 2 Asterisk 1.2 boxes to Asterisk > 1.4.18. Both are home PBX's and both boxes register to a SIP DID at > exactly same provider. One box runs without errors on the console, the > other box keeps repeating : > > [Feb 11 23:40:29] WARNING[11292]: chan_sip.c:6705 > determine_firstline_parts: Bad request protocol Packet > > When i set debug on, it seems to come from that SIP DID. > <--- SIP read from 82.101.62.99:5060 ---> > Cirpack KeepAlive Packet > <-------------> > [Feb 11 23:37:59] WARNING[11292]: chan_sip.c:6705 > determine_firstline_parts: Bad request protocol Packet > --- (1 headers 0 lines) --- > > What i don't understand is why i get this message on one box only? > > Ideas anyone?Not sure. Difference in "core set verbose"? Afaik it's harmless but quite annoying. Attached are two patches. One should "fix" the keep alive stuff by silently dropping it and the other is a dtmf fix cause Cirpack has a bug with dtmf. At least it did a while ago. Not sure if it's still needed. Regards, Patrick -------------- next part -------------- A non-text attachment was scrubbed... Name: asterisk-1.4.13-Cirpack_drop_bogus_keepalive.patch Type: text/x-patch Size: 631 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080212/b5383bbe/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: asterisk-1.4.13-Cirpack_dtmf_fix.patch Type: text/x-patch Size: 448 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080212/b5383bbe/attachment-0001.bin