Philip Prindeville
2007-Nov-09 00:11 UTC
[asterisk-users] Wanted: tutorial on troubleshooting SIP issues
For someone that's network-aware, but hasn't sat down and plowed through umpteen SIP-related RFC's and memorized the standards, is there a good primer on troubleshooting SIP issues? I'm seeing a lot of NOTIFY/603 messages on my network between Asterisk and my Sipura 942's, for instance... Not sure what these are... perhaps the qualify keepalives? In which case, I guess the 603 is moot... but since the messages are originating from the Sipuras to Asterisk and not vice-versa, it wouldn't seem to be the "qualify"... Next guess would be that they're NAT keepalives, but Asterisk and the phones are on the same private subnet (which in turn *is* NATted)... Anyway, pointers for someone wanting to learn to quickly diagnose SIP conversations would be great. Thanks, -Philip
Eric Chamberlain
2007-Nov-09 15:28 UTC
[asterisk-users] Wanted: tutorial on troubleshooting SIP issues
The NOTIFY packets are most likely keepalive packets from the SPA942 to the Asterisk server. In a NATed WAN environment they are used to keep the firewall ports open. In your LAN situation, you can turn them off. The NAT keepalive is configured on a per extension basis. To turn them off, log into the administrative interface on the SPA942 and go to each Ext tab. On each Ext tab, there will be a NAT Settings section, change the NAT Keep Alive Enable to No. -- Eric Chamberlain, CISSP Chief Technical Officer Voxilla - voxilla.com> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- > bounces at lists.digium.com] On Behalf Of Philip Prindeville > Sent: Thursday, November 08, 2007 4:11 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] Wanted: tutorial on troubleshooting SIP issues > > For someone that's network-aware, but hasn't sat down and plowed through > umpteen SIP-related RFC's and memorized the standards, is there a good > primer on troubleshooting SIP issues? > > I'm seeing a lot of NOTIFY/603 messages on my network between Asterisk > and my Sipura 942's, for instance... > > Not sure what these are... perhaps the qualify keepalives? In which > case, I guess the 603 is moot... but since the messages are originating > from the Sipuras to Asterisk and not vice-versa, it wouldn't seem to be > the "qualify"... Next guess would be that they're NAT keepalives, but > Asterisk and the phones are on the same private subnet (which in turn > *is* NATted)... > > Anyway, pointers for someone wanting to learn to quickly diagnose SIP > conversations would be great. > > Thanks, > > -Philip > > > _______________________________________________ > --Bandwidth and Colocation Provided by api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users
joakimsen at gmail.com
2007-Nov-09 15:42 UTC
[asterisk-users] Wanted: tutorial on troubleshooting SIP issues
On Nov 8, 2007 7:11 PM, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:> > Anyway, pointers for someone wanting to learn to quickly diagnose SIP > conversations would be great.Read rfc2543, rfc3261 & rfc3265. Otherwise what you want to do is akin to trying to diagnose a nuclear reactor and not wanting to learn about nuclear physics!
Darryl Dunkin
2007-Nov-09 23:58 UTC
[asterisk-users] Wanted: tutorial on troubleshooting SIP issues
For the non-GUI guys on the server end: ngrep -s 1500 -T -W byline host <phone IP> and udp port 5060 Add -O <file> to dump to a file for later Wireshark viewing on your local system. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alan Lord Sent: Friday, November 09, 2007 15:39 To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Wanted: tutorial on troubleshooting SIP issues Steve Edwards wrote: <snip />> > Examples of what I'd like to see: > > 1) A SIP telephone registering successfully. > > 2) A SIP telephone failing to register for reasons x, y, and z. ><snip /> I'm sorry but I don't see this as being very hard. Just install Wireshark and do it yourself... Alan _______________________________________________ --Bandwidth and Colocation Provided by api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: lists.digium.com/mailman/listinfo/asterisk-users
randulo
2007-Nov-12 09:20 UTC
[asterisk-users] Wanted: tutorial on troubleshooting SIP issues
On Nov 9, 2007 1:11 AM, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:> For someone that's network-aware, but hasn't sat down and plowed through > umpteen SIP-related RFC's and memorized the standards, is there a good > primer on troubleshooting SIP issues?It's true that using Ethereal (is that what Wireshark is nowadays?) will show you a lot and teach you a lot, but, I totally agree with you, it would be a popular site indeed that posted a commented cleaned up packet dump with examples of sequences for one or more popular phones and full explanations. Such a project would help a lot of people become more aware of SIP and bring attention to the person or company who does it.