![background image](http://html.mh-extra.com/html/linksys/linksys-spa9000/linksys-spa9000_administration-manual_1923831146.webp)
Linksys Voice System Administration Guide
144
Advanced Topics for SPA400 Voice Mail Service
From: Line 1 <sip:[email protected]>;tag=b99e21414928473o2;ref=5031
To: <sip:mailbox-deposit-url>
Call-ID: [email protected]
CSeq: 101 INVITE
Max-Forwards: 70
Contact: <sip:[email protected]>
Referred-By: <sip:[email protected]>;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
Appendix B, "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:[email protected]>;tag=ac6013983cce7526
To: <sip:mailbox-subscribe-url>
Call-ID: [email protected]
CSeq: 63017
SUBSCRIBE Max-Forwards: 70
Contact: <sip:[email protected]: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: