[asterisk-bugs] [JIRA] (ASTERISK-25365) Persistent subscriptions have extra Content-Length/corrupted messages

Mark Michelson (JIRA) noreply at issues.asterisk.org
Tue Sep 1 10:14:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Michelson closed ASTERISK-25365.
-------------------------------------


> Persistent subscriptions have extra Content-Length/corrupted messages
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-25365
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25365
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>            Reporter: Mark Michelson
>
> Subscription persistence ends up adding an extra Content-Length header when saving to persistent storage. There also have been cases where packets have had some corruption to them. See the following examples:
> {noformat}
> SUBSCRIBE sip:202 at 10.24.16.50:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.24.16.36:5060;received=10.24.16.36;branch=z9hG4bKPjIF1LBjUzdkZK89HJuhv7cvLj-WYvr4vb
> Max-Forwards: 70
> From: "202" <sip:202 at 10.24.16.50>;tag=qw7bwHyMHpTlAty26Sgnb55gpuL60pKA
> To: <sip:202 at 10.24.16.50>
> Contact: "202" <sip:202 at 10.24.16.36:5060;ob>
> Call-ID: TYJGHSqy5-sOkE9ZXNXsx6b8K8YLc1Tl
> CSeq: 21393 SUBSCRIBE
> Event: presence
> Expires: 269
> Supported: replaces, 100rel, timer, norefersub
> Accept: applfcation/pidf+xml, application/xpidf+xml
> Allow-Events: presence, message-summary, refer
> User-Agent: Digium D40 2_0_0_0_72910
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> {noformat}
> (Multiple Content-Length headers, Accept header is corrupted)
> {noformat}
> SUBSCRIBE sip:202 at 10.24.16.50:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.24.16.36:5060;received=10.24.16.36;branch=z9hG4bKPjlKJyxT.p8AFPvgcxPJ3FhQPi-NdDw5ry
> Max-Forwards: 70
> From: "202" <sip:202 at 10.24.16.50>;tag=ONl3AOm5pI9hp0AqmDJUITBgWPEGEL3D
> To: <sip:202 at 10.24.16.50>
> Contact: "202" <sip:202 at 10.24.16.36:5060;ob>
> Call-ID: x49PiRzmKoh9f2gap3oT8PZodbnbPsNM
> CSeq: 6866 SUBSCRIBE
> Event: presence
> Expires: 95
> Supported: eplacess, 10rrel, tmeer, noeferssub
> Accept: applcation/pidff+xml, appliation/xpiddf+xml
> Allo-Evvents: presence, message-summary, refer
> Usr-Ageent: Digium D0 2_0_00_0_72910
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length: 0
> Content-Length:  0
> {noformat}
> (All headers below Expires have corruption.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list