<font face="verdana" size="2"><DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Here is a solution to your problem.<BR><BR><!--WM_COMPOSE_SIGNATURE_START--><!--WM_COMPOSE_SIGNATURE_END-->By default asterisk send all OPTION messages to default context in dialplan regardless on peers's context. You will get 200 OK reply to your option packet if you add following lines to dialplan,</DIV>
<DIV> </DIV>
<DIV>[default]</DIV>
<DIV>exten => _X.,1,NoOp()</DIV>
<DIV>exten => _X.,n,Hangup()</DIV>
<DIV> </DIV>
<DIV>exten => h,1.NoP()</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV>Faisal<BR><BR>-----Original Message-----<BR>From: "Feng Xu" <feltonxu@yahoo.com><BR>Sent: Monday, February 7, 2011 11:55pm<BR>To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com><BR>Subject: Re: [asterisk-users] standalone NOTIFY message handling for Asterisk<BR><BR>Hi Group, Do you think this has been fixed or it's still not supported with <BR>standalone NOTIFY?<BR><BR>Your help will be highly appreciated!<BR><BR>Regards,<BR>Felton<BR><BR><BR><BR><BR>----- Original Message ----<BR>From: Feng Xu <feltonxu@yahoo.com><BR>To: asterisk-users@lists.digium.com<BR>Sent: Fri, 4 February, 2011 1:43:39 PM<BR>Subject: [asterisk-users] standalone NOTIFY message handling for Asterisk<BR><BR>Hi,<BR><BR>I am using Asterisk 1.6.2.11 to test 3rd party Voice Message server (VMS), <BR>currently when VMS send NOTIFY message (standalone NOTIFY, no previous SUBSCRIBE <BR><BR>for the dialog for SIP), asterisk responded with 489 Bad Event, in the debug log <BR><BR>it indicates as the following:<BR><BR>[Feb 4 13:27:06] DEBUG[8353] chan_sip.c: Invalid SIP message - rejected , no <BR>callid, len 771<BR><BR>I have googled around regarding to this topic, I found similar issues reported, <BR>but that's all the old version back to 2004 around. So I would like to confirm, <BR>does Asterisk support standalone NOTIFY message for message waiting indicator <BR>regarding to voice mail. If yes, what's the configurations should be applied? <BR><BR><BR>My current configuration with Asterisk:<BR><BR>sip.conf<BR>=========<BR>[vms]<BR>type = peer <-- tried both friend and peer<BR>host = a.b.c.d <-- the VMS IP address<BR>unsolicited_mailbox = yes<BR>fromuser = lab_vms<BR>.....<BR><BR>[user1]<BR>....<BR>mailbox = user1@SIP_Remote<BR>....<BR><BR>The NOTIFY message received:<BR>======<BR>NOTIFY sip:+user1@a.b.c.d:5060 SIP/2.0^M<BR>Via: SIP/2.0/UDP a.b.c.d:5060;branch=z9hG4bK-781458841-7-21411^M<BR>CSeq: 1 NOTIFY^M<BR>From: <sip:lab_vms@a.b.c.d:5060>;tag=1426753238-7761-21411^M<BR>To: <sip:+user1@a.b.c.d:5060>^M<BR>Call-ID: 1231979610-5-21411-CmvtCallId^M<BR>Route: <sip:a.b.c.d:5060;transport=udp;lr>^M<BR>Event: message-summary^M<BR>Accept: application/sdp,application/media_control+xml,message/sipfrag^M<BR>Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,INFO,PRACK,UPDATE^M<BR>Contact: <sip:a.b.c.d:5060;transport=udp>^M<BR>Max-Forwards: 70^M<BR>Supported: 100rel,timer,histinfo^M<BR>Subscription-State: active^M<BR>MIME-Version: 1.0^M<BR>Content-Type: application/simple-message-summary^M<BR>Content-Length: 40^M<BR>^M<BR>Messages-Waiting: yes^M<BR>None: 5/0 (0/0)^M<BR><BR>Thanks a lot for your help!<BR>Felton<BR><BR><BR><BR><BR><BR>--<BR>_____________________________________________________________________<BR>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>http://www.asterisk.org/hello<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR><BR><BR><BR><BR><BR>--<BR>_____________________________________________________________________<BR>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>http://www.asterisk.org/hello<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></DIV></font>