I'm trying to debug why the message waiting lamp on my phone won't light. I suspect it doesn't adhere to standards.<br><br>I used tcpdump to capture it's bootup sequence. From the dump, I can see the phone trying to subscribe to my asterisk server (
1.2.7), to which it receives an initial 401 unauthorized response. On the second notify request, it receives a 489 bad event response.<br><br>Below is the second notify and the 489 bad event response. I'm hoping that someone who is more skilled than I can see what is wrong with the notify request.
<br><br>TIA<br>Tom<br><br>No. Time Source Destination Protocol Info<br> 148 52.196856 <a href="http://192.168.1.50">192.168.1.50</a> <a href="http://192.168.1.1">192.168.1.1
</a> SIP Request: SUBSCRIBE <a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a><br><br>Frame 148 (713 bytes on wire, 713 bytes captured)<br> Arrival Time: Jul 14, 2006 18:30:45.344749000<br> Time delta from previous packet:
0.046162000 seconds<br> Time since reference or first frame: 52.196856000 seconds<br> Frame Number: 148<br> Packet Length: 713 bytes<br> Capture Length: 713 bytes<br> Protocols in frame: eth:ip:udp:sip<br>Ethernet II, Src:
<a href="http://192.168.1.50">192.168.1.50</a> (00:04:0d:50:22:8e), Dst: <a href="http://192.168.1.1">192.168.1.1</a> (00:b0:d0:5e:1e:a6)<br> Destination: <a href="http://192.168.1.1">192.168.1.1</a> (00:b0:d0:5e:1e:a6)
<br> Source: <a href="http://192.168.1.50">192.168.1.50</a> (00:04:0d:50:22:8e)<br> Type: IP (0x0800)<br>Internet Protocol, Src: <a href="http://192.168.1.50">192.168.1.50</a> (<a href="http://192.168.1.50">192.168.1.50
</a>), Dst: <a href="http://192.168.1.1">192.168.1.1</a> (<a href="http://192.168.1.1">192.168.1.1</a>)<br> Version: 4<br> Header length: 20 bytes<br> Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
<br> 0000 00.. = Differentiated Services Codepoint: Default (0x00)<br> .... ..0. = ECN-Capable Transport (ECT): 0<br> .... ...0 = ECN-CE: 0<br> Total Length: 699<br> Identification: 0x0041 (65)<br>
Flags: 0x00<br> 0... = Reserved bit: Not set<br> .0.. = Don't fragment: Not set<br> ..0. = More fragments: Not set<br> Fragment offset: 0<br> Time to live: 64<br> Protocol: UDP (0x11)<br>
Header checksum: 0xf46d [correct]<br> Good: True<br> Bad : False<br> Source: <a href="http://192.168.1.50">192.168.1.50</a> (<a href="http://192.168.1.50">192.168.1.50</a>)<br> Destination: <a href="http://192.168.1.1">
192.168.1.1</a> (<a href="http://192.168.1.1">192.168.1.1</a>)<br>User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)<br> Source port: 5060 (5060)<br> Destination port: 5060 (5060)<br> Length: 679
<br> Checksum: 0xede0 [correct]<br>Session Initiation Protocol<br> Request-Line: SUBSCRIBE <a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a> SIP/2.0<br> Method: SUBSCRIBE<br> Resent Packet: False
<br> Message Header<br> Via: SIP/2.0/UDP <a href="http://192.168.1.50:5060">192.168.1.50:5060</a>;branch=z9hG4bKecd8ca820<br> Max-Forwards: 70<br> Content-Length: 0<br> To: 203 <<a href="mailto:sip:203@tomlynn.com">
sip:203@tomlynn.com</a>><br> SIP Display info: 203 <br> SIP to address: <a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a><br> From: 203 <<a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com
</a>>;tag=7463f27760ed517<br> SIP Display info: 203 <br> SIP from address: <a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a><br> SIP tag: 7463f27760ed517<br> Call-ID:
<a href="mailto:b00cd7c33379cf3ea55ce8708d363c5d@192.168.1.50">b00cd7c33379cf3ea55ce8708d363c5d@192.168.1.50</a><br> CSeq: 1903799861 SUBSCRIBE<br> Route: <sip:<a href="http://192.168.1.1">192.168.1.1</a>
;lr><br> Supported: timer<br> Expires: 86400<br> Event: message-summary<br> Contact: 203 <sip:203@192.168.1.50:5060><br> Contact Binding: 203 <sip:203@192.168.1.50:5060>
<br> URI: 203 <sip:203@192.168.1.50:5060><br> SIP Display info: 203 <br> SIP contact address: sip:203@192.168.1.50:5060<br> Supported: replaces<br> Authorization:Digest response="8533130fceedb3d6c8f14ea63c79d278",username="203",realm="asterisk",nonce="66fd9409",uri="
<a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a>"<br> User-Agent: Avaya SIP R2.2 Endpoint Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26<br><br>0000 00 b0 d0 5e 1e a6 00 04 0d 50 22 8e 08 00 45 00 ...^.....P"...E.
<br>0010 02 bb 00 41 00 00 40 11 f4 6d c0 a8 01 32 c0 a8 ...A..@..m...2..<br>0020 01 01 13 c4 13 c4 02 a7 ed e0 53 55 42 53 43 52 ..........SUBSCR<br>0030 49 42 45 20 73 69 70 3a 32 30 33 40 74 6f 6d 6c IBE sip:203@toml
<br>0040 79 6e 6e 2e 63 6f 6d 20 53 49 50 2f 32 2e 30 0d <a href="http://ynn.com">ynn.com</a> SIP/2.0.<br>0050 0a 56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 55 44 .Via: SIP/2.0/UD<br>0060 50 20 31 39 32 2e 31 36 38 2e 31 2e 35 30 3a 35 P
<a href="http://192.168.1.50:5">192.168.1.50:5</a><br>0070 30 36 30 3b 62 72 61 6e 63 68 3d 7a 39 68 47 34 060;branch=z9hG4<br>0080 62 4b 65 63 64 38 63 61 38 32 30 0d 0a 4d 61 78 bKecd8ca820..Max<br>0090 2d 46 6f 72 77 61 72 64 73 3a 20 37 30 0d 0a 43 -Forwards: 70..C
<br>00a0 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 ontent-Length: 0<br>00b0 0d 0a 54 6f 3a 20 32 30 33 20 3c 73 69 70 3a 32 ..To: 203 <sip:2<br>00c0 30 33 40 74 6f 6d 6c 79 6e 6e 2e 63 6f 6d 3e 0d <a href="mailto:03@tomlynn.com">
03@tomlynn.com</a>>.<br>00d0 0a 46 72 6f 6d 3a 20 32 30 33 20 3c 73 69 70 3a .From: 203 <sip:<br>00e0 32 30 33 40 74 6f 6d 6c 79 6e 6e 2e 63 6f 6d 3e <a href="mailto:203@tomlynn.com">203@tomlynn.com</a>><br>
00f0 3b 74 61 67 3d 37 34 36 33 66 32 37 37 36 30 65 ;tag=7463f27760e<br>0100 64 35 31 37 0d 0a 43 61 6c 6c 2d 49 44 3a 20 62 d517..Call-ID: b<br>0110 30 30 63 64 37 63 33 33 33 37 39 63 66 33 65 61 00cd7c33379cf3ea
<br>0120 35 35 63 65 38 37 30 38 64 33 36 33 63 35 64 40 55ce8708d363c5d@<br>0130 31 39 32 2e 31 36 38 2e 31 2e 35 30 0d 0a 43 53 192.168.1.50..CS<br>0140 65 71 3a 20 31 39 30 33 37 39 39 38 36 31 20 53 eq: 1903799861 S
<br>0150 55 42 53 43 52 49 42 45 0d 0a 52 6f 75 74 65 3a UBSCRIBE..Route:<br>0160 20 3c 73 69 70 3a 31 39 32 2e 31 36 38 2e 31 2e <sip:192.168.1.<br>0170 31 3b 6c 72 3e 0d 0a 53 75 70 70 6f 72 74 65 64 1;lr>..Supported
<br>0180 3a 20 74 69 6d 65 72 0d 0a 45 78 70 69 72 65 73 : timer..Expires<br>0190 3a 20 38 36 34 30 30 0d 0a 45 76 65 6e 74 3a 20 : 86400..Event: <br>01a0 6d 65 73 73 61 67 65 2d 73 75 6d 6d 61 72 79 0d message-summary.
<br>01b0 0a 43 6f 6e 74 61 63 74 3a 20 32 30 33 20 3c 73 .Contact: 203 <s<br>01c0 69 70 3a 32 30 33 40 31 39 32 2e 31 36 38 2e 31 <a href="mailto:ip:203@192.168.1">ip:203@192.168.1</a><br>01d0 2e 35 30 3a 35 30 36 30 3e 0d 0a 53 75 70 70 6f .50:5060>..Suppo
<br>01e0 72 74 65 64 3a 20 72 65 70 6c 61 63 65 73 0d 0a rted: replaces..<br>01f0 41 75 74 68 6f 72 69 7a 61 74 69 6f 6e 3a 44 69 Authorization:Di<br>0200 67 65 73 74 20 72 65 73 70 6f 6e 73 65 3d 22 38 gest response="8
<br>0210 35 33 33 31 33 30 66 63 65 65 64 62 33 64 36 63 533130fceedb3d6c<br>0220 38 66 31 34 65 61 36 33 63 37 39 64 32 37 38 22 8f14ea63c79d278"<br>0230 2c 75 73 65 72 6e 61 6d 65 3d 22 32 30 33 22 2c ,username="203",
<br>0240 72 65 61 6c 6d 3d 22 61 73 74 65 72 69 73 6b 22 realm="asterisk"<br>0250 2c 6e 6f 6e 63 65 3d 22 36 36 66 64 39 34 30 39 ,nonce="66fd9409<br>0260 22 2c 75 72 69 3d 22 73 69 70 3a 32 30 33 40 74 ",uri="
sip:203@t<br>0270 6f 6d 6c 79 6e 6e 2e 63 6f 6d 22 0d 0a 55 73 65 <a href="http://omlynn.com">omlynn.com</a>"..Use<br>0280 72 2d 41 67 65 6e 74 3a 20 41 76 61 79 61 20 53 r-Agent: Avaya S<br>0290 49 50 20 52 32 2e 32 20 45 6e 64 70 6f 69 6e 74 IP
R2.2 Endpoint<br>02a0 20 42 72 63 6d 20 43 61 6c 6c 63 74 72 6c 2f 31 Brcm Callctrl/1<br>02b0 2e 35 2e 31 2e 30 20 4d 78 53 46 2f 76 33 2e 32 .5.1.0 MxSF/v3.2<br>02c0 2e 36 2e 32 36 0d 0a 0d 0a .6.26....
<br><br>No. Time Source Destination Protocol Info<br> 149 52.197592 <a href="http://192.168.1.1">192.168.1.1</a> <a href="http://192.168.1.50">192.168.1.50</a> SIP Status: 489 Bad Event
<br><br>Frame 149 (477 bytes on wire, 477 bytes captured)<br> Arrival Time: Jul 14, 2006 18:30:45.345485000<br> Time delta from previous packet: 0.000736000 seconds<br> Time since reference or first frame: 52.197592000
seconds<br> Frame Number: 149<br> Packet Length: 477 bytes<br> Capture Length: 477 bytes<br> Protocols in frame: eth:ip:udp:sip<br>Ethernet II, Src: <a href="http://192.168.1.1">192.168.1.1</a> (00:b0:d0:5e:1e:a6), Dst:
<a href="http://192.168.1.50">192.168.1.50</a> (00:04:0d:50:22:8e)<br> Destination: <a href="http://192.168.1.50">192.168.1.50</a> (00:04:0d:50:22:8e)<br> Source: <a href="http://192.168.1.1">192.168.1.1</a> (00:b0:d0:5e:1e:a6)
<br> Type: IP (0x0800)<br>Internet Protocol, Src: <a href="http://192.168.1.1">192.168.1.1</a> (<a href="http://192.168.1.1">192.168.1.1</a>), Dst: <a href="http://192.168.1.50">192.168.1.50</a> (<a href="http://192.168.1.50">
192.168.1.50</a>)<br> Version: 4<br> Header length: 20 bytes<br> Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)<br> 0000 00.. = Differentiated Services Codepoint: Default (0x00)<br> .... ..0. = ECN-Capable Transport (ECT): 0
<br> .... ...0 = ECN-CE: 0<br> Total Length: 463<br> Identification: 0x0000 (0)<br> Flags: 0x04 (Don't Fragment)<br> 0... = Reserved bit: Not set<br> .1.. = Don't fragment: Set<br> ..0. = More fragments: Not set
<br> Fragment offset: 0<br> Time to live: 64<br> Protocol: UDP (0x11)<br> Header checksum: 0xb59a [correct]<br> Good: True<br> Bad : False<br> Source: <a href="http://192.168.1.1">192.168.1.1</a>
(<a href="http://192.168.1.1">192.168.1.1</a>)<br> Destination: <a href="http://192.168.1.50">192.168.1.50</a> (<a href="http://192.168.1.50">192.168.1.50</a>)<br>User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
<br> Source port: 5060 (5060)<br> Destination port: 5060 (5060)<br> Length: 443<br> Checksum: 0xb809 [correct]<br>Session Initiation Protocol<br> Status-Line: SIP/2.0 489 Bad Event<br> Status-Code: 489
<br> Resent Packet: False<br> Message Header<br> Via: SIP/2.0/UDP <a href="http://192.168.1.50:5060">192.168.1.50:5060</a>;branch=z9hG4bKecd8ca820;received=<a href="http://192.168.1.50">192.168.1.50</a><br>
From: 203 <<a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a>>;tag=7463f27760ed517<br> SIP Display info: 203 <br> SIP from address: <a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com
</a><br> SIP tag: 7463f27760ed517<br> To: 203 <<a href="mailto:sip:203@tomlynn.com">sip:203@tomlynn.com</a>>;tag=as4d0e25d6<br> SIP Display info: 203 <br> SIP to address: <a href="mailto:sip:203@tomlynn.com">
sip:203@tomlynn.com</a><br> SIP tag: as4d0e25d6<br> Call-ID: <a href="mailto:b00cd7c33379cf3ea55ce8708d363c5d@192.168.1.50">b00cd7c33379cf3ea55ce8708d363c5d@192.168.1.50</a><br> CSeq: 1903799861 SUBSCRIBE
<br> User-Agent: Asterisk PBX<br> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br> Contact: <<a href="mailto:sip:203@192.168.1.1">sip:203@192.168.1.1</a>><br> Contact Binding: <
<a href="mailto:sip:203@192.168.1.1">sip:203@192.168.1.1</a>><br> URI: <<a href="mailto:sip:203@192.168.1.1">sip:203@192.168.1.1</a>><br> SIP contact address: <a href="mailto:sip:203@192.168.1.1">
sip:203@192.168.1.1</a><br> Content-Length: 0<br><br>0000 00 04 0d 50 22 8e 00 b0 d0 5e 1e a6 08 00 45 00 ...P"....^....E.<br>0010 01 cf 00 00 40 00 40 11 b5 9a c0 a8 01 01 c0 a8 ....@.@.........<br>0020 01 32 13 c4 13 c4 01 bb b8 09 53 49 50 2f 32 2e .2........SIP/2.
<br>0030 30 20 34 38 39 20 42 61 64 20 45 76 65 6e 74 0d 0 489 Bad Event.<br>0040 0a 56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 55 44 .Via: SIP/2.0/UD<br>0050 50 20 31 39 32 2e 31 36 38 2e 31 2e 35 30 3a 35 P <a href="http://192.168.1.50:5">
192.168.1.50:5</a><br>0060 30 36 30 3b 62 72 61 6e 63 68 3d 7a 39 68 47 34 060;branch=z9hG4<br>0070 62 4b 65 63 64 38 63 61 38 32 30 3b 72 65 63 65 bKecd8ca820;rece<br>0080 69 76 65 64 3d 31 39 32 2e 31 36 38 2e 31 2e 35 ived=
<a href="http://192.168.1.5">192.168.1.5</a><br>0090 30 0d 0a 46 72 6f 6d 3a 20 32 30 33 20 3c 73 69 0..From: 203 <si<br>00a0 70 3a 32 30 33 40 74 6f 6d 6c 79 6e 6e 2e 63 6f <a href="mailto:p:203@tomlynn.co">p:203@tomlynn.co
</a><br>00b0 6d 3e 3b 74 61 67 3d 37 34 36 33 66 32 37 37 36 m>;tag=7463f2776<br>00c0 30 65 64 35 31 37 0d 0a 54 6f 3a 20 32 30 33 20 0ed517..To: 203 <br>00d0 3c 73 69 70 3a 32 30 33 40 74 6f 6d 6c 79 6e 6e <
sip:203@tomlynn<br>00e0 2e 63 6f 6d 3e 3b 74 61 67 3d 61 73 34 64 30 65 .com>;tag=as4d0e<br>00f0 32 35 64 36 0d 0a 43 61 6c 6c 2d 49 44 3a 20 62 25d6..Call-ID: b<br>0100 30 30 63 64 37 63 33 33 33 37 39 63 66 33 65 61 00cd7c33379cf3ea
<br>0110 35 35 63 65 38 37 30 38 64 33 36 33 63 35 64 40 55ce8708d363c5d@<br>0120 31 39 32 2e 31 36 38 2e 31 2e 35 30 0d 0a 43 53 192.168.1.50..CS<br>0130 65 71 3a 20 31 39 30 33 37 39 39 38 36 31 20 53 eq: 1903799861 S
<br>0140 55 42 53 43 52 49 42 45 0d 0a 55 73 65 72 2d 41 UBSCRIBE..User-A<br>0150 67 65 6e 74 3a 20 41 73 74 65 72 69 73 6b 20 50 gent: Asterisk P<br>0160 42 58 0d 0a 41 6c 6c 6f 77 3a 20 49 4e 56 49 54 BX..Allow: INVIT
<br>0170 45 2c 20 41 43 4b 2c 20 43 41 4e 43 45 4c 2c 20 E, ACK, CANCEL, <br>0180 4f 50 54 49 4f 4e 53 2c 20 42 59 45 2c 20 52 45 OPTIONS, BYE, RE<br>0190 46 45 52 2c 20 53 55 42 53 43 52 49 42 45 2c 20 FER, SUBSCRIBE,
<br>01a0 4e 4f 54 49 46 59 0d 0a 43 6f 6e 74 61 63 74 3a NOTIFY..Contact:<br>01b0 20 3c 73 69 70 3a 32 30 33 40 31 39 32 2e 31 36 <<a href="mailto:sip:203@192.16">sip:203@192.16</a><br>01c0 38 2e 31 2e 31 3e 0d 0a 43 6f 6e 74 65 6e 74 2d
8.1.1>..Content-<br>01d0 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a Length: 0....<br><br>