arpagon / asterisk-voicemail-for-iphone

Automatically exported from code.google.com/p/asterisk-voicemail-for-iphone
0 stars 0 forks source link

Voicemail does not play: "This movie format is not supported." #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Voicemail message does not play on an iPod touch with OS 3.0.  Instead of
getting the voicemail playing in QuickTime, I get the dreaded "movie
format not supported" error.  Note I'm presuming that the issue relates to
OS 3.0, as it's the only thing that's likely to be different about my iPod
and those that have had it working in the past.

What steps will reproduce the problem?
1. Log on from Safari on iPhone OS 3.0 
2. Navigate to a message
3. Select "Play Message"

What is the expected output? What do you see instead?
I expect to hear the voicemail message.  Instead I get a Quicktime error
"This movie format is not supported."

What version of the product are you using? On what operating system?
0.13, Apache 2.2.11, PHP 5.2.9 on Gentoo

Please provide any additional information below.
The problem is caused by an error in i_functions.php, line 69.
        header('Content_Length: '.$how_many_bytes_to_send);
should read
        header('Content-Length: '.$how_many_bytes_to_send);

When the correct "Content-Length" header is not present, and because
Quicktime made a HTTP 1.1 request, Apache assumes that the response will
be chunked and inserts a "Transfer-Encoding: chunked" header.  This is
erroneous, as the actual data sent by the script is not chunked.

Original issue reported on code.google.com by viccr...@gmail.com on 17 Jul 2009 at 11:05

GoogleCodeExporter commented 9 years ago
Above poster is correct

Original comment by proget@gmail.com on 11 May 2010 at 12:27