Chapter 3 Configuring Voice Service and Voicemail

Managing Voicemail

To: <sip:mailbox-deposit-url>

Call-ID: 69e9e3d9-cfcbe2bb@172.12.244.56

CSeq: 101 INVITE

Max-Forwards: 70

Contact: <sip:37683101@172.12.244.56>

Referred-By: <sip:37683101@sip.myitsp.com>;mbid=7675

In the above example, the station wanting to deposit voicemail is at extension 5031; the mailbox ID is 7675 on the account 37683101 (for the station at extension 5041). Note that the referrer is the same as the caller in the last INVITE. In other words, this INVITE is self-triggered by the SPA9000.

If an EXT-To-DID mapping exists for the calling extension on the line interface, the user-ID and display name fields of the FROM header is replaced by, respectively, the mapped DID number and the display name assigned to the phone. Furthermore, if an EXT-To-DID mapping exists for the called phone, the user-ID field of the REFERRED-BY header is also replaced by the mapped DID number for the called extension.

Note For information about how to add an EXT-to-DID mapping, see the <Contact List> parameter in Chapter 6, “SPA9000 Field Reference”

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: 2147483647

Event: message-summary

User-Agent: Sipura/SPA9000-3.2.2

Content-Length: 0

Note that the Expires value is purposely set to a very large number so the subscription does not expire and there is no need to renew the subscription. 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: 2147483647

 

 

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

 

 

Content-Length: 0

 

 

Messages-Waiting: yes

 

 

Linksys SPA9000 Administrator Guide

 

 

 

 

 

 

Document Version 3.01

 

 

3-23

 

 

 

 

 

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