The reason I implemented it in PHP in my Asterisk Voicemail app is so
that some security checks can be performed. They have to log in to the
app, so once they are authenticated they are allowed access to the
media files of thier mailbox only. Otherwise people could try to guess
other people's mailboxes on the same server and listen to other
poople's voicemails. Simply redirecting and letting Apache handle the
HTTP 206 stuff is fine if security is not of concern with whatever
media you are dishing out.

On Thu, May 29, 2008 at 10:01 AM, Mitch Cohen <[EMAIL PROTECTED]> wrote:
>
> Any reason not to just do a redirect?
>
> I have a PHP script which serves up Quicktime files via RTSP to
> desktop browsers.  Since the iPhone doesn't do RTSP I check the user
> agent at the top of the script and redirect the browser directly to
> the quicktime file.  I haven't tested with MP3 but I imagine it would
> work.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to