VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tony at softins.clara.... Guest
|
Posted: Thu Apr 17, 2008 4:36 am Post subject: [asterisk-users] Asterisk Warning 2512 |
|
|
In article <4809880c0804170159l7f760673xf0d4eaac61025581 at mail.gmail.com>,
Rizwan Hisham <rizwanhasham at gmail.com> wrote:
Quote: | I have been seeing a lot of the following warning messages on my asterisk
cli. Can naybody tell why these messages are showing up. I am using only SIP
to make calls from m asterisk.
[Apr 17 04:52:24] WARNING[2512]: chan_sip.c:6480 determine_firstline_parts:
Bad request protocol Bad event
Also it will be great if anybody can tell where i can find the explanation
of all the warnig codes and error codes of asterisk if there is any.
|
The [2512] is not a warning code. It is just the process ID of the Asterisk
process or thread that generated the warning.
The next part of your message (chan_sip.c:6480) shows the source file and
line number where the error was generated. You can go to that point in
the file to see what kind of checks it was making. You can also turn on
SIP debugging at the Asterisk CLI> prompt to see the packets sent to/from
Asterisk.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org |
|
Back to top |
|
|
rizwanhasham at gmail.com Guest
|
Posted: Thu Apr 17, 2008 5:10 am Post subject: [asterisk-users] Asterisk Warning 2512 |
|
|
I just saw the sip debug and its showing that for every notify request,
asterisk is sending a bad request response.
here is the debug
<--- SIP read from 70.80.000.00:1031 --->
NOTIFY sip:69.90.111.11:9060 SIP/2.0
Via: SIP/2.0/UDP 70.80.000.00:1032;branch=z9hG4bK-ade549bd
From: Blake <sip:blakeday at 69.90.111.11 <sip%3Ablakeday at 69.90.111.11>
Quote: | ;tag=90115683e082af23o0
| To: <sip:69.90.111.11>
Call-ID: 966d3c03-ea9c07a3 at 10.4.1.22
CSeq: 7741 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/SPA2102-5.2.3
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
<--- Transmitting (no NAT) to 70.80.000.00:1031 --->
SIP/2.0 489 Bad event
Via: SIP/2.0/UDP 70.80.000.00:1032;branch=z9hG4bK-ade549bd;received=
70.80.000.00
From: Blake <sip:blakeday at 69.90.111.11 <sip%3Ablakeday at 69.90.111.11>
Quote: | ;tag=90115683e082af23o0
| To: <sip:69.90.111.11>;tag=as3ef6a439
Call-ID: 966d3c03-ea9c07a3 at 10.4.1.22
CSeq: 7741 NOTIFY
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
Why is it doing so?
On Thu, Apr 17, 2008 at 2:36 AM, Tony Mountifield <tony at softins.clara.co.uk>
wrote:
Quote: | In article <4809880c0804170159l7f760673xf0d4eaac61025581 at mail.gmail.com>,
Rizwan Hisham <rizwanhasham at gmail.com> wrote:
Quote: | I have been seeing a lot of the following warning messages on my
| asterisk
Quote: | cli. Can naybody tell why these messages are showing up. I am using only
| SIP
Quote: | to make calls from m asterisk.
[Apr 17 04:52:24] WARNING[2512]: chan_sip.c:6480
| determine_firstline_parts:
Quote: | Bad request protocol Bad event
Also it will be great if anybody can tell where i can find the
| explanation
Quote: | of all the warnig codes and error codes of asterisk if there is any.
|
The [2512] is not a warning code. It is just the process ID of the
Asterisk
process or thread that generated the warning.
The next part of your message (chan_sip.c:6480) shows the source file and
line number where the error was generated. You can go to that point in
the file to see what kind of checks it was making. You can also turn on
SIP debugging at the Asterisk CLI> prompt to see the packets sent to/from
Asterisk.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Best Regards
Rizwan Hisham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080417/30225051/attachment.htm |
|
Back to top |
|
|
tony at softins.clara.... Guest
|
Posted: Thu Apr 17, 2008 7:35 am Post subject: [asterisk-users] Asterisk Warning 2512 |
|
|
In article <4809880c0804170310h73a4b0d3pd62fe00788b0cac at mail.gmail.com>,
Rizwan Hisham <rizwanhasham at gmail.com> wrote:
Quote: | -=-=-=-=-=-
-=-=-=-=-=-
I just saw the sip debug and its showing that for every notify request,
asterisk is sending a bad request response.
here is the debug
<--- SIP read from 70.80.000.00:1031 --->
NOTIFY sip:69.90.111.11:9060 SIP/2.0
Via: SIP/2.0/UDP 70.80.000.00:1032;branch=z9hG4bK-ade549bd
From: Blake <sip:blakeday at 69.90.111.11 <sip%3Ablakeday at 69.90.111.11>
Quote: | ;tag=90115683e082af23o0
|
|
The above two lines look very wrong to me. No wonder Asterisk is
complaining!
I'm not familiar with the Linksys SPA2102, but it looks like you have
something wrong in its configuration of the SIP details.
I think the From line ought to read something like this instead:
From: Blake <sip:blakeday at 69.90.111.11>;tag=90115683e082af23o0
Why it is trying to nest another <sip%3Ablakeday at 69.90.111.11> inside
the SIP address, I don't know.
Cheers
Tony
Quote: | To: <sip:69.90.111.11>
Call-ID: 966d3c03-ea9c07a3 at 10.4.1.22
CSeq: 7741 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/SPA2102-5.2.3
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
<--- Transmitting (no NAT) to 70.80.000.00:1031 --->
SIP/2.0 489 Bad event
Via: SIP/2.0/UDP 70.80.000.00:1032;branch=z9hG4bK-ade549bd;received=
70.80.000.00
From: Blake <sip:blakeday at 69.90.111.11 <sip%3Ablakeday at 69.90.111.11>
Quote: | ;tag=90115683e082af23o0
| To: <sip:69.90.111.11>;tag=as3ef6a439
Call-ID: 966d3c03-ea9c07a3 at 10.4.1.22
CSeq: 7741 NOTIFY
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
Why is it doing so?
On Thu, Apr 17, 2008 at 2:36 AM, Tony Mountifield <tony at softins.clara.co.uk>
wrote:
Quote: | In article <4809880c0804170159l7f760673xf0d4eaac61025581 at mail.gmail.com>,
Rizwan Hisham <rizwanhasham at gmail.com> wrote:
Quote: | I have been seeing a lot of the following warning messages on my
| asterisk
Quote: | cli. Can naybody tell why these messages are showing up. I am using only
| SIP
Quote: | to make calls from m asterisk.
[Apr 17 04:52:24] WARNING[2512]: chan_sip.c:6480
| determine_firstline_parts:
Quote: | Bad request protocol Bad event
Also it will be great if anybody can tell where i can find the
| explanation
Quote: | of all the warnig codes and error codes of asterisk if there is any.
|
The [2512] is not a warning code. It is just the process ID of the
Asterisk
process or thread that generated the warning.
The next part of your message (chan_sip.c:6480) shows the source file and
line number where the error was generated. You can go to that point in
the file to see what kind of checks it was making. You can also turn on
SIP debugging at the Asterisk CLI> prompt to see the packets sent to/from
Asterisk.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Best Regards
Rizwan Hisham
-=-=-=-=-=-
[Alternative: text/html]
-=-=-=-=-=-
-=-=-=-=-=-
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-=-=-=-=-=-
| --
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|