[asterisk-bugs] [JIRA] (ASTERISK-20745) In MESSAGE received over WebSocket, the body last char is cut
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Thu Nov 29 10:56:45 CST 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200251#comment-200251 ]
Joshua Colp commented on ASTERISK-20745:
----------------------------------------
Pedro - This fix is applicable to Asterisk 11 and not just trunk. Can you please commit it there as well?
> In MESSAGE received over WebSocket, the body last char is cut
> -------------------------------------------------------------
>
> Key: ASTERISK-20745
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20745
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/WebSocket
> Affects Versions: SVN, 11.0.1
> Reporter: Iñaki Baz Castillo
> Assignee: Pedro Kiefer
>
> When Asterisk receives a SIP MESSAGE over WebSocket it cuts the last char of the body. So if for example the MESSAGE contains "Content-Length: 4" and a body with content "1234" (without quotes), the Asterisk debug console prints the body as "123", and then it forwards the MESSAGE with "123" as body.
> This bug seems not to occur when the SIP MESSAGE arrives via SIP over TCP or UDP, so it must be a bug in the SIP WebSocket layer/parser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list