<div>I just saw the sip debug and its showing that for every notify request, asterisk is sending a bad request response.</div>
<div>&nbsp;</div>
<div>here is the debug</div>
<div>&nbsp;</div>
<div>&lt;--- SIP read from <a href="http://70.80.000.00:1031">70.80.000.00:1031</a> ---&gt;<br>NOTIFY sip:<a href="http://69.90.111.11:9060">69.90.111.11:9060</a> SIP/2.0<br>Via: SIP/2.0/UDP 70.80.000.00:1032;branch=z9hG4bK-ade549bd<br>
From: Blake &lt;<a href="mailto:sip%3Ablakeday@69.90.111.11">sip:blakeday@69.90.111.11</a>&gt;;tag=90115683e082af23o0<br>To: &lt;sip:<a href="http://69.90.111.11">69.90.111.11</a>&gt;<br>Call-ID: <a href="mailto:966d3c03-ea9c07a3@10.4.1.22">966d3c03-ea9c07a3@10.4.1.22</a><br>
CSeq: 7741 NOTIFY<br>Max-Forwards: 70<br>Event: keep-alive<br>User-Agent: Linksys/SPA2102-5.2.3<br>Content-Length: 0</div>
<div><br>&lt;-------------&gt;<br>--- (10 headers 0 lines) ---</div>
<div>&lt;--- Transmitting (no NAT) to <a href="http://70.80.000.00:1031">70.80.000.00:1031</a> ---&gt;<br>SIP/2.0 489 Bad event<br>Via: SIP/2.0/UDP 70.80.000.00:1032;branch=z9hG4bK-ade549bd;received=<a href="http://70.80.000.00">70.80.000.00</a><br>
From: Blake &lt;<a href="mailto:sip%3Ablakeday@69.90.111.11">sip:blakeday@69.90.111.11</a>&gt;;tag=90115683e082af23o0<br>To: &lt;sip:<a href="http://69.90.111.11">69.90.111.11</a>&gt;;tag=as3ef6a439<br>Call-ID: <a href="mailto:966d3c03-ea9c07a3@10.4.1.22">966d3c03-ea9c07a3@10.4.1.22</a><br>
CSeq: 7741 NOTIFY<br>User-Agent: Asterisk PBX<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Supported: replaces<br>Content-Length: 0&nbsp;</div>
<div>&nbsp;</div>
<div>Why is it doing so?<br><br></div>
<div class="gmail_quote">On Thu, Apr 17, 2008 at 2:36 AM, Tony Mountifield &lt;<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">In article &lt;<a href="mailto:4809880c0804170159l7f760673xf0d4eaac61025581@mail.gmail.com">4809880c0804170159l7f760673xf0d4eaac61025581@mail.gmail.com</a>&gt;,<br>

<div>
<div></div>
<div class="Wj3C7c">Rizwan Hisham &lt;<a href="mailto:rizwanhasham@gmail.com">rizwanhasham@gmail.com</a>&gt; wrote:<br>&gt; I have been seeing a lot of the following warning messages on my asterisk<br>&gt; cli. Can naybody tell why these messages are showing up. I am using only SIP<br>
&gt; to make calls from m asterisk.<br>&gt;<br>&gt; [Apr 17 04:52:24] WARNING[2512]: chan_sip.c:6480 determine_firstline_parts:<br>&gt; Bad request protocol Bad event<br>&gt;<br>&gt; Also it will be great if anybody can tell where i can find the explanation<br>
&gt; of all the warnig codes and error codes of asterisk if there is any.<br><br></div></div>The [2512] is not a warning code. It is just the process ID of the Asterisk<br>process or thread that generated the warning.<br>
<br>The next part of your message (chan_sip.c:6480) shows the source file and<br>line number where the error was generated. You can go to that point in<br>the file to see what kind of checks it was making. You can also turn on<br>
SIP debugging at the Asterisk CLI&gt; prompt to see the packets sent to/from<br>Asterisk.<br><br>Cheers<br>Tony<br>--<br>Tony Mountifield<br>Work: <a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk/" target="_blank">http://www.softins.co.uk</a><br>
Play: <a href="mailto:tony@mountifield.org">tony@mountifield.org</a> - <a href="http://tony.mountifield.org/" target="_blank">http://tony.mountifield.org</a><br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>