[asterisk-users] standalone NOTIFY message handling for Asterisk

Feng Xu feltonxu at yahoo.com
Thu Feb 3 20:43:39 CST 2011


Hi,

I am using Asterisk 1.6.2.11 to test 3rd party Voice Message server (VMS), 
currently when VMS send NOTIFY message (standalone NOTIFY, no previous SUBSCRIBE 
for the dialog for SIP), asterisk responded with 489 Bad Event, in the debug log 
it indicates as the following:

[Feb  4 13:27:06] DEBUG[8353] chan_sip.c: Invalid SIP message - rejected , no 
callid, len 771

I have googled around regarding to this topic, I found similar issues reported, 
but that's all the old version back to 2004 around. So I would like to confirm, 
does Asterisk support standalone NOTIFY message for message waiting indicator 
regarding to voice mail.  If yes, what's the configurations should be applied? 


My current configuration with Asterisk:

sip.conf
=========
[vms]
type = peer <-- tried both friend and peer
host = a.b.c.d <-- the VMS IP address
unsolicited_mailbox = yes
fromuser = lab_vms
.....

[user1]
....
mailbox = user1 at SIP_Remote
....

The NOTIFY message received:
======
NOTIFY sip:+user1 at a.b.c.d:5060 SIP/2.0^M
Via: SIP/2.0/UDP a.b.c.d:5060;branch=z9hG4bK-781458841-7-21411^M
CSeq: 1 NOTIFY^M
From: <sip:lab_vms at a.b.c.d:5060>;tag=1426753238-7761-21411^M
To: <sip:+user1 at a.b.c.d:5060>^M
Call-ID: 1231979610-5-21411-CmvtCallId^M
Route: <sip:a.b.c.d:5060;transport=udp;lr>^M
Event: message-summary^M
Accept: application/sdp,application/media_control+xml,message/sipfrag^M
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,INFO,PRACK,UPDATE^M
Contact: <sip:a.b.c.d:5060;transport=udp>^M
Max-Forwards: 70^M
Supported: 100rel,timer,histinfo^M
Subscription-State: active^M
MIME-Version: 1.0^M
Content-Type: application/simple-message-summary^M
Content-Length: 40^M
^M
Messages-Waiting: yes^M
None: 5/0 (0/0)^M

Thanks a lot for your help!
Felton



      



More information about the asterisk-users mailing list