In article <[EMAIL PROTECTED]>,
Rizwan Hisham <[EMAIL PROTECTED]> wrote:
> -=-=-=-=-=-
> -=-=-=-=-=-
> 
> 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >;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:[EMAIL PROTECTED]>;tag=90115683e082af23o0

Why it is trying to nest another <[EMAIL PROTECTED]> inside
the SIP address, I don't know.

Cheers
Tony

> To: <sip:69.90.111.11>
> Call-ID: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >;tag=90115683e082af23o0
> To: <sip:69.90.111.11>;tag=as3ef6a439
> Call-ID: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> wrote:
> 
> > In article <[EMAIL PROTECTED]>,
> >  Rizwan Hisham <[EMAIL PROTECTED]> wrote:
> > > 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: [EMAIL PROTECTED] - http://www.softins.co.uk
> > Play: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - 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

Reply via email to