Sachin Vidwans wrote:
Hello Folks,
I am new to the Subscribe/Notify RFC. Have a couple of questions.
1. The id parameter in the Event Header of the Subscribe message is
optional. If a UA sends a SUBSCRIBE within an existing dialog without
the id parameter. It then sends another SUBSCRIBE within the same
dialog without an id parameter. Is the second subscribe considered a
subscribe-refresh of the first subscribe. Or is this a new
subscription within the same dialog.

Or do we match the Event Header along with the id parameter to check
if this is a subscribe-refresh or a new Suscribe?

Yes, you match both event type and event id.

2. If a notify request fails i.e. the response times out or it gets an
error response, the subscription is removed. Does this also result in
Dialog termination if appropriate ? (i.e no other subscriptions or
INVITE requests prending etc.).

There is only explicit signaling about the usages of the dialog (e.g. subscriptions and calls), none about the dialog itself. At each end, the dialog lifetime is reference counted based on the usages.


So, when you decide there are no more usages then the dialog should quietly be removed.

        Paul

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to