[prev in list] [next in list] [prev in thread] [next in thread]
List: sip-implementors
Subject: Re: [Sip-implementors] NOTIFY without SUBSCRIBE
From: kishore sowdi <kishore_r_s () yahoo ! co ! in>
Date: 2007-12-12 9:03:03
Message-ID: 492555.48941.qm () web94103 ! mail ! in2 ! yahoo ! com
[Download RAW message or body]
section 3.2 of rfc 3265 says -
"If any non-SUBSCRIBE mechanisms are defined to create subscriptions,it is the \
responsibility of the parties defining those mechanisms to ensure that correlation of \
a NOTIFY message to the corresponding subscription is possible.
Designers of such mechanisms are also warned to make a distinction between sending \
a NOTIFY message to a subscriber who is aware of the subscription, and sending a \
NOTIFY message to an unsuspecting node.
The latter behavior is invalid, and MUST receive a "481 Subscription does not \
exist" response (unless some other 400- or 500-class error code is more applicable), \
as described in section 3.2.4.
In other words, knowledge of a subscription must exist in both the subscriber and \
the notifier to be valid, even if installed via a non-SUBSCRIBE mechanism".
So sending 481 in this case is the correct behaviour ....
"Jack W. Lix" <jacklix@comcast.net> wrote:
Hi all,
Please confirm my understanding of subscribe for MWI. NOTIFY should not be
sent to a UA unless a SUBSCRIBE has been sent to it.
I'm doubting my understanding because I just got an asterisk server running
and it immediately sends a NOTIFY after I REGISTER with it. The NOTIFY does
not have "Subscription-State" header.
Request-Line: NOTIFY sip:jack@192.168.1.59 SIP/2.0
Message Header
Via: SIP/2.0/UDP 192.168.1.57:5060;branch=z9hG4bK03865702;rport
From: "asterisk" ;tag=as50084360
To:
Contact:
Call-ID: 20cc908d65c07b977767a16a19f71614@192.168.1.57
CSeq: 102 NOTIFY
User-Agent: Jacks_Asterisk
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 92
Message body
Messages-Waiting: no\r\n
Message-Account: sip:asterisk@192.168.1.57\r\n
Voice-Message: 0/0 (0/0)\r\n
How do other UA's handle such a situation. I'm currently responding with
481.
TIA,
Jack
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
---------------------------------
Save all your chat conversations. Find them online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic