[asterisk-users] sip MWI Messages-Waiting: always reports no messages

Mark G. Thomas Mark at Misty.com
Wed Nov 26 10:18:42 CST 2008


Hi,

I'm having trouble getting asterisk to report MWI to a Cisco CCME.

I record a message in mailbox 29, but the subsequent MWI notifications
I see continue to report no messages waiting. Are they reporting for
the wrong mailbox? Is there some other option I have to set or change?

I'm running asterisk-1.4.22

Since the mailbox is in [home] in voicemail.conf, I've tried
things like "username=29 at home" in sip.conf, but that doesn't
help any. I also tried the same with the mailbox containing
messages under [default], but still no luck.

I see messages like this if I do "sip set debug ip 10.5.7.130"
-----------------------------------------------------------------------------
Reliably Transmitting (no NAT) to 10.5.7.130:5060:
NOTIFY sip:29 at 10.5.7.130:5060 SIP/2.0
Via: SIP/2.0/UDP 10.5.7.21:5060;branch=z9hG4bK44627853;rport
From: "asterisk" <sip:777 at 10.5.7.21>;tag=as7d9b65d4
To: <sip:29 at 10.5.7.130:5060>
Contact: <sip:777 at 10.5.7.21>
Call-ID: 4025ed782f7bedd5077361ba4caddc18 at 10.5.7.21
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 84

Messages-Waiting: no
Message-Account: sip:777 at 10.5.7.21
Voice-Message: 0/0 (0/0)

---
-----------------------------------------------------------------------------

from sip.conf:
--------------
[29]
insecure=port,invite
context=ccme
type=friend
host=r2.home.misty.com
qualify=yes
dtmfmode=rfc2833
canreinvite=no
nat=no
mailbox=29
fromuser=777
vmexten=777
username=29

from voicemail.conf:
-------------------
[home]
; testing
29 => 1234,Joe Test,joetest at localhost

-------------------
[root at sylvester asterisk]# ls /var/spool/asterisk/voicemail/home/29/INBOX
msg0000.gsm  msg0000.WAV  msg0001.wav  msg0002.txt  msg0003.gsm  msg0003.WAV  msg0004.wav
msg0000.txt  msg0001.gsm  msg0001.WAV  msg0002.wav  msg0003.txt  msg0004.gsm  msg0004.WAV
msg0000.wav  msg0001.txt  msg0002.gsm  msg0002.WAV  msg0003.wav  msg0004.txt

-- 
Mark G. Thomas (Mark at Misty.com)
voice: 215-591-3695
http://mail-cleaner.com/



More information about the asterisk-users mailing list