[asterisk-bugs] [JIRA] (ASTERISK-21913) Successive NOTIFY for MWI subscriptions isn't sent

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Jun 14 17:23:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-21913:
------------------------------------

    Description: 
Here's an Endpoint:

{noformat}
[localnetwork]
type=transport
protocol=udp
bind=0.0.0.0:5060

[endpointtemplate](!)
callerid_privacy=allowed_not_screened
context=testing
disallow=all
allow=g722
dtmfmode=rfc4733
transport=localnetwork
direct_media=yes
send_pai=yes

[101](endpointtemplate)
type=endpoint
aors=101
auth=101
callerid="Malcolm Davenport" <101>

[101]
type=aor
max_contacts=10
remove_existing=yes
mailboxes=101 at default

[101]
type=auth
auth_type=userpass
password=101
username=101
{noformat}

It starts up and it subscribes for MWI and it gets notice of it:
[debug1.txt|https://issues.asterisk.org/jira/secure/attachment/47618/debug1.txt]

If I then log in and check my voicemail, and delete the voicemail that's waiting, Asterisk never sends a NOTIFY to the endpoint (the phone) that there are no more waiting messages.
[debug2.txt|https://issues.asterisk.org/jira/secure/attachment/47619/debug2.txt]

It happens if I've got a message that I playback to remove, where the indicator should turn off due to NOTIFY, as well as if I leave a message that I expect to turn on the indicator due to NOTIFY. 

  was:
Here's an Endpoint:

{noformat}
[localnetwork]
type=transport
protocol=udp
bind=0.0.0.0:5060

[endpointtemplate](!)
callerid_privacy=allowed_not_screened
context=testing
disallow=all
allow=g722
dtmfmode=rfc4733
transport=localnetwork
direct_media=yes
send_pai=yes

[101](endpointtemplate)
type=endpoint
aors=101
auth=101
callerid="Malcolm Davenport" <101>

[101]
type=aor
max_contacts=10
remove_existing=yes
mailboxes=101 at default

[101]
type=auth
auth_type=userpass
password=101
username=101
{noformat}

It starts up and it subscribes for MWI and it gets notice of it:
{noformat}
<--- Received SIP request (534 bytes) from UDP:10.24.18.122:5060 --->
REGISTER sip:10.24.13.224:5060 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjqPUicLK4yMOGQhDNV7M-4OXp0ey9k9iN
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=0dQG0mTmVlHrwcxSqPK4kBGu4wXrjVLS
To: "101" <sip:101 at 10.24.13.224>
Call-ID: ToPWmDFRddEPr-fi7ZadkGzCjZ3uFRem
CSeq: 13709 REGISTER
User-Agent: Digium D40 1_3_2_0_54993
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length:  0


<--- Transmitting SIP response (526 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjqPUicLK4yMOGQhDNV7M-4OXp0ey9k9iN
Call-ID: ToPWmDFRddEPr-fi7ZadkGzCjZ3uFRem
From: "101" <sip:101 at 10.24.13.224>;tag=0dQG0mTmVlHrwcxSqPK4kBGu4wXrjVLS
To: "101" <sip:101 at 10.24.13.224>;tag=z9hG4bKPjqPUicLK4yMOGQhDNV7M-4OXp0ey9k9iN
CSeq: 13709 REGISTER
WWW-Authenticate: Digest  realm="asterisk",nonce="1371244342/5b1409f6b50bb437b63aa9e61d14622a",opaque="030b9e7775523a8f",algorithm=md5,qop="auth"
Content-Length:  0


<--- Received SIP request (825 bytes) from UDP:10.24.18.122:5060 --->
REGISTER sip:10.24.13.224:5060 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjTpm8P8car8HQd0kG65Dz1VrcRSBk6FZE
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=0dQG0mTmVlHrwcxSqPK4kBGu4wXrjVLS
To: "101" <sip:101 at 10.24.13.224>
Call-ID: ToPWmDFRddEPr-fi7ZadkGzCjZ3uFRem
CSeq: 13710 REGISTER
User-Agent: Digium D40 1_3_2_0_54993
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Authorization: Digest username="101", realm="asterisk", nonce="1371244342/5b1409f6b50bb437b63aa9e61d14622a", uri="sip:10.24.13.224:5060", response="977d86446cf92277f4926bd48055b59d", algorithm=md5, cnonce="OTLq14Q-atfRbMdx3XXRLhCKZ9XSNaCI", opaque="030b9e7775523a8f", qop=auth, nc=00000001
Content-Length:  0


<--- Transmitting SIP response (459 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjTpm8P8car8HQd0kG65Dz1VrcRSBk6FZE
Call-ID: ToPWmDFRddEPr-fi7ZadkGzCjZ3uFRem
From: "101" <sip:101 at 10.24.13.224>;tag=0dQG0mTmVlHrwcxSqPK4kBGu4wXrjVLS
To: "101" <sip:101 at 10.24.13.224>;tag=z9hG4bKPjTpm8P8car8HQd0kG65Dz1VrcRSBk6FZE
CSeq: 13710 REGISTER
Date: Fri, 14 Jun 2013 21:12:22 GMT
Contact: <sip:101 at 10.24.18.122:5060;ob>;expires=299
Content-Length:  0


<--- Received SIP request (613 bytes) from UDP:10.24.18.122:5060 --->
SUBSCRIBE sip:101 at 10.24.13.224:5060 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjRzL5XFT8ISnUcftNwKQx0yUc0ZeRKOX2
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=1hktMdOaZnw2Q1-v1k-Z1iSS7wKnQ7uh
To: "101" <sip:101 at 10.24.13.224>
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Call-ID: 1H6zgK4Z53uu610NGT-6MbbGRuLChwq5
CSeq: 15248 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Digium D40 1_3_2_0_54993
Content-Length:  0


<--- Transmitting SIP response (527 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjRzL5XFT8ISnUcftNwKQx0yUc0ZeRKOX2
Call-ID: 1H6zgK4Z53uu610NGT-6MbbGRuLChwq5
From: "101" <sip:101 at 10.24.13.224>;tag=1hktMdOaZnw2Q1-v1k-Z1iSS7wKnQ7uh
To: "101" <sip:101 at 10.24.13.224>;tag=z9hG4bKPjRzL5XFT8ISnUcftNwKQx0yUc0ZeRKOX2
CSeq: 15248 SUBSCRIBE
WWW-Authenticate: Digest  realm="asterisk",nonce="1371244342/5b1409f6b50bb437b63aa9e61d14622a",opaque="1fa073084cba942e",algorithm=md5,qop="auth"
Content-Length:  0


<--- Received SIP request (908 bytes) from UDP:10.24.18.122:5060 --->
SUBSCRIBE sip:101 at 10.24.13.224:5060 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjPo-fHdFsLIorq0s4l6VEbMh4yzZxmlYC
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=1hktMdOaZnw2Q1-v1k-Z1iSS7wKnQ7uh
To: "101" <sip:101 at 10.24.13.224>
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Call-ID: 1H6zgK4Z53uu610NGT-6MbbGRuLChwq5
CSeq: 15249 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Digium D40 1_3_2_0_54993
Authorization: Digest username="101", realm="asterisk", nonce="1371244342/5b1409f6b50bb437b63aa9e61d14622a", uri="sip:101 at 10.24.13.224:5060", response="7f92b01d079370c69d13db5635fcf4d5", algorithm=md5, cnonce="r2Byd-T5Nra-RWX8ZR.nr28esCGXlZOS", opaque="1fa073084cba942e", qop=auth, nc=00000001
Content-Length:  0


<--- Transmitting SIP response (531 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjPo-fHdFsLIorq0s4l6VEbMh4yzZxmlYC
Call-ID: 1H6zgK4Z53uu610NGT-6MbbGRuLChwq5
From: "101" <sip:101 at 10.24.13.224>;tag=1hktMdOaZnw2Q1-v1k-Z1iSS7wKnQ7uh
To: "101" <sip:101 at 10.24.13.224>;tag=cf06c41c-6bb7-4718-bc67-280ec9433017
CSeq: 15249 SUBSCRIBE
Expires: 3600
Contact: "101" <sip:101 at 10.24.13.224>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER
Supported: 100rel, timer
Content-Length:  0


<--- Transmitting SIP request (628 bytes) to UDP:10.24.18.122:5060 --->
NOTIFY sip:101 at 10.24.18.122:5060;ob SIP/2.0
Via: SIP/2.0/UDP 10.24.13.224:5060;rport;branch=z9hG4bKPjf442c7d7-e9d5-4fde-b1f4-f753f3623bb5
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=cf06c41c-6bb7-4718-bc67-280ec9433017
To: "101" <sip:101 at 10.24.13.224>;tag=1hktMdOaZnw2Q1-v1k-Z1iSS7wKnQ7uh
Contact: "101" <sip:101 at 10.24.13.224>
Call-ID: 1H6zgK4Z53uu610NGT-6MbbGRuLChwq5
CSeq: 22362 NOTIFY
Event: message-summary
Subscription-State: active;expires=3599
Allow-Events: message-summary
Content-Type: application/simple-message-summary
Content-Length:    49

Messages-Waiting: yes
Voice-Message: 1/0 (0/0)

<--- Received SIP response (558 bytes) from UDP:10.24.18.122:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.24.13.224:5060;rport=5060;received=10.24.13.224;branch=z9hG4bKPjf442c7d7-e9d5-4fde-b1f4-f753f3623bb5
Call-ID: 1H6zgK4Z53uu610NGT-6MbbGRuLChwq5
From: "101" <sip:101 at 10.24.13.224>;tag=cf06c41c-6bb7-4718-bc67-280ec9433017
To: "101" <sip:101 at 10.24.13.224>;tag=1hktMdOaZnw2Q1-v1k-Z1iSS7wKnQ7uh
CSeq: 22362 NOTIFY
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Content-Length:  0
{noformat}

If I then log in and check my voicemail, and delete the voicemail that's waiting, Asterisk never sends a NOTIFY to the endpoint (the phone) that there are no more waiting messages.

{noformat}
<--- Received SIP request (1057 bytes) from UDP:10.24.18.122:5060 --->
INVITE sip:199 at 10.24.13.224 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPj6FqCPYaeL7utnI0xr.rohZU4zfuqDcA.
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
CSeq: 28367 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Digium D40 1_3_2_0_54993
Content-Type: application/sdp
Content-Length:   431

v=0
o=- 66615677 66615677 IN IP4 10.24.18.122
s=digphn
c=IN IP4 10.24.18.122
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 0 8 9 111 18 58 118 58 96
a=rtcp:4001 IN IP4 10.24.18.122
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:18 G729/8000
a=rtpmap:58 L16/16000
a=rtpmap:118 L16/8000
a=rtpmap:58 L16-256/16000
a=sendrecv
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15

<--- Transmitting SIP response (518 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPj6FqCPYaeL7utnI0xr.rohZU4zfuqDcA.
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>;tag=z9hG4bKPj6FqCPYaeL7utnI0xr.rohZU4zfuqDcA.
CSeq: 28367 INVITE
WWW-Authenticate: Digest  realm="asterisk",nonce="1371244387/c618b1849ea4f096c2d5262b4a4c8c5b",opaque="787fb70453c83eff",algorithm=md5,qop="auth"
Content-Length:  0


<--- Received SIP request (372 bytes) from UDP:10.24.18.122:5060 --->
ACK sip:199 at 10.24.13.224 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPj6FqCPYaeL7utnI0xr.rohZU4zfuqDcA.
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>;tag=z9hG4bKPj6FqCPYaeL7utnI0xr.rohZU4zfuqDcA.
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
CSeq: 28367 ACK
Content-Length:  0


<--- Received SIP request (1347 bytes) from UDP:10.24.18.122:5060 --->
INVITE sip:199 at 10.24.13.224 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjdr1ilN2Gks0pUf2oQSIA1Mfk33gxQHzG
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>
Contact: "101" <sip:101 at 10.24.18.122:5060;ob>
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
CSeq: 28368 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Digium D40 1_3_2_0_54993
Authorization: Digest username="101", realm="asterisk", nonce="1371244387/c618b1849ea4f096c2d5262b4a4c8c5b", uri="sip:199 at 10.24.13.224", response="e6da74389ec02fcdba7d92397458d41d", algorithm=md5, cnonce="N7DjoxQQ7O7l.y..ZwCtjjESkWop17D6", opaque="787fb70453c83eff", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length:   431

v=0
o=- 66615677 66615677 IN IP4 10.24.18.122
s=digphn
c=IN IP4 10.24.18.122
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 0 8 9 111 18 58 118 58 96
a=rtcp:4001 IN IP4 10.24.18.122
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:18 G729/8000
a=rtpmap:58 L16/16000
a=rtpmap:118 L16/8000
a=rtpmap:58 L16-256/16000
a=sendrecv
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15

<--- Transmitting SIP response (319 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjdr1ilN2Gks0pUf2oQSIA1Mfk33gxQHzG
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>
CSeq: 28368 INVITE
Content-Length:  0


    -- Executing [199 at testing:1] NoOp("Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD", "") in new stack
    -- Executing [199 at testing:2] VoiceMailMain("Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD", "") in new stack
<--- Transmitting SIP response (774 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjdr1ilN2Gks0pUf2oQSIA1Mfk33gxQHzG
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>;tag=85d84b83-0bd5-4187-b608-abb9cc85b335
CSeq: 28368 INVITE
Contact: <sip:199 at 10.24.13.224>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER
Supported: 100rel, timer
Content-Type: application/sdp
Content-Length:   239

v=0
o=Asterisk 66615677 66615679 IN IP4 malcolm
s=Asterisk
c=IN IP4 10.24.13.224
t=0 0
m=audio 17570 RTP/AVP 9 96
c=IN IP4 10.24.13.224
a=rtpmap:9 G722/8000
a=ptime:20
a=sendrecv
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16

       > 0x7f5a9000bc10 -- Probation passed - setting RTP source address to 10.24.18.122:4000
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-login.slin16' (language 'en')
<--- Received SIP request (367 bytes) from UDP:10.24.18.122:5060 --->
ACK sip:199 at 10.24.13.224 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjKwN09amCzubNq9gPS2YWBNywtK0xH-6a
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>;tag=85d84b83-0bd5-4187-b608-abb9cc85b335
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
CSeq: 28368 ACK
Content-Length:  0


    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-password.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-youhave.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'digits/1.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-INBOX.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-first.slin16' (language 'en')
  == Parsing '/var/spool/asterisk/voicemail/default/101/INBOX/msg0000.txt': Found
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-message.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-received.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-deleted.slin16' (language 'en')
    -- <Gulp/101-0qlAGDe4juC7ktNWn-N1AetpoWHpDusD> Playing 'vm-advopts.slin16' (language 'en')
<--- Received SIP request (405 bytes) from UDP:10.24.18.122:5060 --->
BYE sip:199 at 10.24.13.224 SIP/2.0
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;branch=z9hG4bKPjsrROfy0t5ZUt7PlrdCUIgb-Srtu8w7K7
Max-Forwards: 70
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>;tag=85d84b83-0bd5-4187-b608-abb9cc85b335
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
CSeq: 28369 BYE
User-Agent: Digium D40 1_3_2_0_54993
Content-Length:  0


<--- Transmitting SIP response (353 bytes) to UDP:10.24.18.122:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.24.18.122:5060;rport;received=10.24.18.122;branch=z9hG4bKPjsrROfy0t5ZUt7PlrdCUIgb-Srtu8w7K7
Call-ID: 0qlAGDe4juC7ktNWn-N1AetpoWHpDusD
From: "101" <sip:101 at 10.24.13.224>;tag=kzOp4D2gvCRq2RISJOsLMp1bAaHvMvfw
To: <sip:199 at 10.24.13.224>;tag=85d84b83-0bd5-4187-b608-abb9cc85b335
CSeq: 28369 BYE
Content-Length:  0
{noformat}

It happens if I've got a message that I playback to remove, where the indicator should turn off due to NOTIFY, as well as if I leave a message that I expect to turn on the indicator due to NOTIFY. 

    
> Successive NOTIFY for MWI subscriptions isn't sent
> --------------------------------------------------
>
>                 Key: ASTERISK-21913
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21913
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_sip
>    Affects Versions: 12
>         Environment: Asterisk SVN-trunk-r391828
>            Reporter: Malcolm Davenport
>            Severity: Critical
>         Attachments: debug1.txt, debug2.txt
>
>
> Here's an Endpoint:
> {noformat}
> [localnetwork]
> type=transport
> protocol=udp
> bind=0.0.0.0:5060
> [endpointtemplate](!)
> callerid_privacy=allowed_not_screened
> context=testing
> disallow=all
> allow=g722
> dtmfmode=rfc4733
> transport=localnetwork
> direct_media=yes
> send_pai=yes
> [101](endpointtemplate)
> type=endpoint
> aors=101
> auth=101
> callerid="Malcolm Davenport" <101>
> [101]
> type=aor
> max_contacts=10
> remove_existing=yes
> mailboxes=101 at default
> [101]
> type=auth
> auth_type=userpass
> password=101
> username=101
> {noformat}
> It starts up and it subscribes for MWI and it gets notice of it:
> [debug1.txt|https://issues.asterisk.org/jira/secure/attachment/47618/debug1.txt]
> If I then log in and check my voicemail, and delete the voicemail that's waiting, Asterisk never sends a NOTIFY to the endpoint (the phone) that there are no more waiting messages.
> [debug2.txt|https://issues.asterisk.org/jira/secure/attachment/47619/debug2.txt]
> It happens if I've got a message that I playback to remove, where the indicator should turn off due to NOTIFY, as well as if I leave a message that I expect to turn on the indicator due to NOTIFY. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list