Files
asterisk/channels
Pedro Kiefer ed6c432874 Fix chan_sip websocket payload handling
Websocket by default doesn't return an ast_str for the payload received. When 
converting it to an ast_str on chan_sip the last character was being omitted, 
because ast_str functions expects that the given length includes the trailing 
0x00. payload_len only has the actual string length without counting the 
trailing zero.

For most cases this passed unnoticed as most of SIP messages ends with \r\n.

(closes issue ASTERISK-20745)
Reported by: Iñaki Baz Castillo
Review: https://reviewboard.asterisk.org/r/2219/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@376822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-11-29 17:17:11 +00:00
..
2012-11-02 18:44:20 +00:00
2012-11-07 19:03:42 +00:00
2012-11-07 19:03:42 +00:00
2012-11-07 19:03:42 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2010-06-07 20:04:42 +00:00
2012-11-07 19:03:42 +00:00
2012-11-07 19:03:42 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00