Subject: [Sip] RFC 3842 Cantact header missing in some examples

From: Diego B <[email-masked]>
Date: Mon, 23 May 2005 18:39:36 +0200

Hi;
Checking the examples of RFC 3842 I found out that some of the
SIP messages ( actually responses ) includes a Contact header and some not
OK from page 10 doesn't include Contact
OK from page 12 and 13 does contain contain Contact
for example:
Page 10
      SUBSCRIBE sip:[email-masked] SIP/2.0
      To: <sip:[email-masked]>
      From: <sip:[email-masked]>;tag=78923
      Date: Mon, 10 Jul 2000 03:55:06 GMT
      Call-Id: [email-masked]
      CSeq: 4 SUBSCRIBE
      Contact: <sip:[email-masked]>
      Event: message-summary
      Expires: 86400
      Accept: application/simple-message-summary
      Content-Length: 0

          A2: Notifier -> Subscriber

      SIP/2.0 200 OK
      To: <sip:[email-masked]>;tag=4442
      From: <sip:[email-masked]>;tag=78923
      Date: Mon, 10 Jul 2000 03:55:07 GMT
      Call-Id: [email-masked]
      CSeq: 4 SUBSCRIBE
      Expires: 86400
      Content-Length: 0

the OK doesn't includes a contact Header

Also from Page 10
          A3: Notifier -> Subscriber
          (immediate synchronization of current state:
           2 new and 8 old [2 urgent] messages)

      NOTIFY sip:[email-masked] SIP/2.0
      To: <sip:[email-masked]>;tag=78923
      From: <sip:[email-masked]>;tag=4442
      Date: Mon, 10 Jul 2000 03:55:07 GMT
      Call-Id: [email-masked]
      CSeq: 20 NOTIFY
      Contact: <sip:[email-masked]>
      Event: message-summary
      Subscription-State: active
      Content-Type: application/simple-message-summary
      Content-Length: 99

      Messages-Waiting: yes
      Message-Account: sip:[email-masked]
      Voice-Message: 2/8 (0/2)

          A4: Subscriber -> Notifier

      SIP/2.0 200 OK
      To: <sip:[email-masked]>;tag=78923
      From: <sip:[email-masked]>;tag=4442
      Date: Mon, 10 Jul 2000 03:55:08 GMT
      Call-Id: [email-masked]
      CSeq: 20 NOTIFY
      Content-Length: 0

The OK doesn't contain a Contact Header

but examples from
Page 12 and 13 do have a Contact header

          A9: Notifier -> Subscriber
          (immediate synchronization of current state)

      NOTIFY sip:[email-masked] SIP/2.0
      To: <sip:[email-masked]>;tag=78923
      From: <sip:[email-masked]>;tag=4442
      Date: Mon, 10 Jul 2000 15:55:07 GMT
      Call-Id: [email-masked]
      CSeq: 47 NOTIFY
      Contact: <sip:[email-masked]>
      Event: message-summary
      Subscription-State: active
      Content-Type: application/simple-message-summary
      Content-Length: 99

      Messages-Waiting: yes
      Message-Account: sip:[email-masked]
      Voice-Message: 4/8 (1/2)

          A10: Subscriber -> Notifier

      SIP/2.0 200 OK
      To: <sip:[email-masked]>;tag=78923
      From: <sip:[email-masked]>;tag=4442
      Date: Mon, 10 Jul 2000 15:55:08 GMT
      Call-Id: [email-masked]
      CSeq: 47 NOTIFY
      Contact: <sip:[email-masked]>      <=======

          A11: Subscriber  ->  Notifier
          Un-subscribe after "alice" logs out.

      SUBSCRIBE sip:[email-masked] SIP/2.0
      To: <sip:[email-masked]>;tag=4442
      From: <sip:[email-masked]>;tag=78923
      Date: Mon, 10 Jul 2000 19:35:06 GMT
      Call-Id: [email-masked]
      CSeq: 17 SUBSCRIBE
      Contact: <sip:[email-masked]>
      Event: message-summary
      Expires: 0
      Accept: application/simple-message-summary
      Content-Length: 0

          A12: Notifier -> Subscriber

      SIP/2.0 200 OK
      To: <sip:[email-masked]>;tag=4442
      From: <sip:[email-masked]>;tag=78923
      Date: Mon, 10 Jul 2000 19:35:07 GMT
      Call-Id: [email-masked]
      CSeq: 17 SUBSCRIBE
      Contact: <sip:[email-masked]>   <=====
      Expires: 0
      Content-Length: 0

_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [email-masked] for questions on current sip
Use [email-masked] for new developments on the application of sip