O'Reilly logo

The IMS: IP Multimedia Concepts And Services, Second Edition by Aki Niemi, Hisham Khartabil, Georg Mayer, Miikka Poikselka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12.13. SIP extensions

12.13.1. Event notification framework

SIP has been the extension used for the purpose of event notification. A user or resource subscribes to another resource that has an event of interest and receives notifications of the state and any changes in such an event.

The SIP SUBSCRIBE method is used for subscription while the NOTIFY method is used to deliver notifications of any changes to an event.

[RFC3265] is the IETF paper that documents this extension. It is a framework that describes subscriptions and notifications in a generic manner and provides rules for creating SUBSCRIBE requests and NOTIFY requests. It also describes the behaviour of subscribers when sending and receiving subscription requests, as well as notifiers' behaviour when receiving subscription requests and sending notifications.

The event notification framework also introduces new SIP headers and response codes, along with the SUBSCRIBE and NOTIFY methods:

  • Event header – this identifies the event to which a subscriber is subscribing for notifications.

  • Allow-Events header – this indicates to the receiver that the sender of the header understands the event notification framework. The tokens present in the header indicate the event packages that it supports.

  • Subscription-State header – this indicates the status of a subscription. "Active", "pending" and "terminated" are the three defined subscription states. This header also carries the reason for a subscription state: "deactivated", "probation", ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required