Cisco Systems SPA9000 manual Subscribing to Voicemail Notification

Models: SPA9000

1 286
Download 286 pages 40.22 Kb
Page 184
Image 184

Advanced Topics in SPA9000 Administration

Advanced Topics for SPA400 Voice Mail Service

A

Subscribing to Voicemail Notification

The SPA9000 sends a one-time SUBSCRIBE for the message-summary event package for each line with a valid <Mailbox Subscribe URL>. The SUBSCRIBE implies subscription for the status of all the mailboxes associated with the voicemail account used-ID; it does not include any mailbox ID in the request. Following is an example:

SUBSCRIBE sip:mailbox-subscribe-url SIP/2.0

Via: SIP/2.0/UDP 172.16.22.23:5062;branch=z9hG4bK-44f9d0f0

From: Line 3 <sip:14089991003@sip.myitsp.com>;tag=ac6013983cce7526

To: <sip:mailbox-subscribe-url>

Call-ID: ace86200-bbe839de@172.16.22.23

CSeq: 63017

SUBSCRIBE Max-Forwards: 70

Contact: <sip:14089991003@172.16.22.23:5062>

Expires: 30

Event: message-summary

User-Agent: Sipura/SPA9000-3.2.2

Content-Length: 0

The voicemail server is expected to send a NOTIFY immediately upon receiving this SUBSCRIBE message for each mailbox on this account. The Request-URI of the NOTIFY should reference the CONTACT header of the corresponding SUBSCRIBE, but the user-ID in the To header should be the mailbox ID. The following example shows a NOTIFY for the mailbox ID 5031 on the account 14089991003:

NOTIFY sip:14089991003@172.16.22.23:5062 SIP/2.0

Via: SIP/2.0/UDP 178.178.221.230;branch=z9hG4bK-44f9d0f0

From: <sip:voicemail@sip.myitsp.com>;tag=ab789

To: <sip:5031@172.16.22.23:5062>;tag=ac6013983cce7526

Call-ID: ace86200-bbe839de@178.178.221.230

CSeq: 537

NOTIFY Expires: 30

Event: message-summary User-Agent: ITSP/Voicemail-Server

Content-Length: 0

Messages-Waiting: yes

Voice-Message: 2/8 (0/2)

NOTE Note that SPA9000 does not require the NOTIFY to be sent within the same subscription dialog. That is, it accepts the NOTIFY even without a TO-tag or a matching Call-ID as the original SUBSCRIBE.

SPA9000 Voice System Administration Guide

182

Page 184
Image 184
Cisco Systems SPA9000 manual Subscribing to Voicemail Notification