Feng Xu
2011-Feb-04 02:43 UTC
[asterisk-users] standalone NOTIFY message handling for Asterisk
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
Feng Xu
2011-Feb-08 04:55 UTC
[asterisk-users] standalone NOTIFY message handling for Asterisk
Hi Group, Do you think this has been fixed or it's still not supported with standalone NOTIFY? Your help will be highly appreciated! Regards, Felton ----- Original Message ---- From: Feng Xu <feltonxu at yahoo.com> To: asterisk-users at lists.digium.com Sent: Fri, 4 February, 2011 1:43:39 PM Subject: [asterisk-users] standalone NOTIFY message handling for Asterisk 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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users