The example in Figure 12.1 shows the following steps for a voicemail appli-
cation [1]. The high-level message flow is as follows:
- A caller on the PSTN or mobile network places a call to a SIP phone.
- The VoIP gateway sends the INVITEmessage to its outgoing SIP server.
- The SIP server forks the call to the called party and to the unified mes-
sage (UM) server. - The called party does not answer the call.
- The UM server takes the call after a timeout, and the caller leaves a
message that is stored in the UM store. - The UM server sends an e-mail notification to the called party.
- The UM server sends a NOTIFYmessage to SIP devices and while also
using the other facilities for message waiting and the notification for
message waiting will be delivered:
■■ To the SIP phone as a NOTIFYmessage
■■ To the IM client (not shown in Figure 12.1) as a NOTIFYmessage
■■ Via e-mail to the mail client
■■ Can be displayed on the browser by accessing the UM store via
HTTP
■■ Can be announced via PSTN phone when the called party calls the
mailbox
The voice message can be retrieved by PSTN, PBX, or SIP phones and also
by Web browsers that have an RTSP-enabled media player (native or plug-in).
For simplicity we have not shown other network elements that may be
involved in this voicemail application, such as various VoIP gateways; SIP
servers performing registration, rendezvous, and routing; and component
servers, such as VoiceXML voice portals and IVRs.
These network elements are part of the SIP infrastructure and can be reused
without modification.
RTSP-Enabled Voice Message Retrieval
The Real-Time Streaming Protocol (RTSP), defined by RFC 2326 [2], allows the
remote recording and replay of various media across the Net, and provides
similar functionality to the familiar players for audio/video. The most popu-
lar Internet media players (such as RealPlayer or QuickTime) support RTSP.
Users will quickly appreciate the advantage of listening to voicemail by
using an RTSP-enabled media player instead of a phone. Lengthy voicemail
messages can be replayed selectively, so as to listen to certain parts with rele-
vant information, instead of having to replay all messages in sequence with
212 Chapter 12