Linksys SPA-841 Cisco SPA9000 Voice System Administration Guide - Page 184

Subscribing to Voicemail Notification - sipura

Page 184 highlights

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 . 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 ;tag=ac6013983cce7526 To: Call-ID: [email protected] CSeq: 63017 SUBSCRIBE Max-Forwards: 70 Contact: 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:[email protected]:5062 SIP/2.0 Via: SIP/2.0/UDP 178.178.221.230;branch=z9hG4bK-44f9d0f0 From: ;tag=ab789 To: ;tag=ac6013983cce7526 Call-ID: [email protected] 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286

Advanced Topics in SPA9000 Administration
Advanced Topics for SPA400 Voice Mail Service
SPA9000 Voice System Administration Guide
182
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:[email protected]>;tag=ac6013983cce7526
To: <sip:mailbox-subscribe-url>
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:
NOTIFY sip:[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 178.178.221.230;branch=z9hG4bK-44f9d0f0
From: <sip:[email protected]>;tag=ab789
To: <sip:[email protected]:5062>;tag=ac6013983cce7526
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.