[Home]

Summary:ASTERISK-20720: [patch]Accept MWI subscriptions with several elements in Accept header
Reporter:Alexei Gradinari (alexei gradinari)Labels:
Date Opened:2012-11-22 11:58:45.000-0600Date Closed:2017-12-19 05:17:10.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:1.8.18.0 10.10.0 11.0.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Linux Slackware 13.0 Linux Kernel 3.1.0 i686 Attachments:( 0) mwi-subscriptions.patch
Description:There are SIP UAs which send SIP SUBSCRIBE with several elements in Accept header.

For example
================================
SUBSCRIBE sip:NAME@XXX.XXX.XXX.XXX:5060 SIP/2.0
From: <sip:NAME@XXX.XXX.XXX.XXX:5060>;tag=10f21b8-267564c2-13c4-45028-1a7-39b4fd5b-1a7
To: <sip:NAME@XXX.XXX.XXX.XXX:5060>
Call-ID: 10fa418-267564c2-13c4-45028-1a7-2c53e6e5-1a7
CSeq: 2 SUBSCRIBE
Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK-1a8-67a33-79138a66
Expires: 180
Event: message-summary
Max-Forwards: 70
Supported: replaces,100rel
User-Agent: Thomson TG784 Build 8.2.7.7
Contact: <sip:NAME@YYY.YYY.YYY.YYY:5060>
Accept: application/dtmf-relay, x-application/dtmf-relay, application/sdp,application/simple-message-summary
Content-Length: 0
================================

Asterisk does not support multiple elements in Accept header for MWI SUBSCRIBE.

This patch fixes it.
Comments:By: Rusty Newton (rnewton) 2017-07-25 09:57:07.502-0500

I'm doing some cleanup on the tracker.

Do you want to push this through the review process for recent supported versions of Asterisk?

https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If not, then we should close this out as it hasn't seen any traction since 2012 and chan_sip is now under extended support so it likely won't be moving in anytime soon.

By: Alexei Gradinari (alexei gradinari) 2017-07-25 11:22:40.446-0500

I think it can be closed

By: Joshua C. Colp (jcolp) 2017-12-19 05:17:10.252-0600

Closing per reporter.