[Home]

Summary:ASTERISK-18897: [patch] SIP Notify Request without "Voice-Message" in the body is not accepted.
Reporter:B.GUESMI (cmoibal)Labels:patch
Date Opened:2011-11-21 11:20:43.000-0600Date Closed:
Priority:MajorRegression?No
Status:Open/NewComponents:Channels/chan_sip/General Channels/chan_sip/Subscriptions
Versions:1.8.7.1 13.18.4 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu 11.04Attachments:( 0) BG_Notify.patch
( 1) BG_Notify.patch
Description:When receiving an unsolicited Notify from the Server that do not contains "Voice-Message" parameter in the body, Asterisk reply by "489 Bad event".
This is an example of a unsolicited Notify sent by the server that I work whit (FreeSwitch, by the way, it's ROCKS!)

NOTIFY sip:test1@10.64.74.171:5060 SIP/2.0
Via: SIP/2.0/UDP 10.64.74.38:5070;rport;branch=z9hG4bK4K2QXjgmvmtcr
Max-Forwards: 70
From: <sip:test1@10.64.74.38>;tag=45r9yvZ73e4Hg
To: <sip:test1@10.64.74.38>
Call-ID: c0ddfc55-8f07-122f-b9a7-00219b732031
CSeq: 20611908 NOTIFY
Contact: <sip:mod_sofia@10.64.74.38:5070>
User-Agent: Baligh GUESMI Server
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, PRACK, NOTIFY, PUBLISH, SUBSCRIBE
Supported: 100rel, timer, precondition, path, replaces
Event: message-summary
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Subscription-State: terminated;reason=timeout
Content-Type: application/simple-message-summary
Content-Length: 74

Messages-Waiting: no
Message-Account: sip:test1@10.64.74.38
Comments:By: Matt Jordan (mjordan) 2011-11-21 11:34:07.307-0600

Patches should not be supplied as a comment.  If you have a patch, please attach the patch with a valid license agreement.

By: B.GUESMI (cmoibal) 2011-11-21 11:45:42.030-0600

Patch for unsolicited Notify whithout Voice-Message in the body.

By: Matt Jordan (mjordan) 2011-11-30 11:58:39.081-0600

It appears as if you did not sign a contributor license agreement, which means the patch cannot be accessed.  Please sign a license agreement and reattach your patch.

Thanks!

By: B.GUESMI (cmoibal) 2011-12-04 10:26:54.659-0600

Patch for Unsolicited Notify Without Voice-Message

By: B.GUESMI (cmoibal) 2011-12-05 16:29:04.334-0600

Patch attached

By: B.GUESMI (cmoibal) 2011-12-07 05:05:27.349-0600

Tested and seems to be OK.

By: B.GUESMI (cmoibal) 2011-12-07 05:06:22.152-0600

what do you think ?

By: Richard Mudgett (rmudgett) 2011-12-07 10:27:36.545-0600

FYI.  You need to send it back when you provide feedback to get the issue out of the "Waiting for Feedback" state.

By: Paul Belanger (pabelanger) 2012-01-28 11:54:47.074-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines



By: Matt Jordan (mjordan) 2012-01-30 07:00:24.664-0600

Disregard Paul's comment - it appeared as if you had not entered feedback.  This highlights why you have to click "send back" when you enter feedback.