Figure 12.4 Message waiting notification using SIP eventsWriting out in full the first three messages from Figure 12.4 will explain the
use of SIPSUBSCRIBE, 200 OK, and NOTIFY[8] messages. Note the use of the
Secure SIP (sips) URI scheme in this example.- Subscriber (Henry’s PC) to Notifier (Henry’s voicemail server) Sub-
scribe to Henry’s message summary status for one day:
SUBSCRIBE sips:[email protected] SIP/2.0
Via: SIP/2.0/TLS 192.0.2.1:5060;branch=z9hG4bK83
To: <sips:[email protected]>
From: <sips:[email protected]>;tag=312
1 SUBSCRIBE
Subscribe to mailbox status changes for one dayImmediate synchronization of current stateNotification of new messageRefresh subscription (next day)Immediate synchronization of current stateUn-subscribe (log out)Immediate synchronization of current state
(can be ignored by subscriber)Subscriber Notifier2 200 OK7 SUBSCRIBE8 200 OK11 (un)SUBSCRIBE12 200 OK3 NOTIFY4 200 OK9 NOTIFY10 200 OK13 NOTIFY14 200 OK5 NOTIFY6 200 OK218 Chapter 12