Closed benlangfeld closed 11 years ago
I'm inclined to agree that the output component should take a normalized file URL and prepare it for playback on Asterisk. However, can we do this in a backward compatible way?
So, we already strip file://
on Asterisk, so that's not a problem in PB 2.0. I've added support for stripping off file extensions in https://github.com/adhearsion/punchblock/pull/173 but I'd appreciate a review of that.
Also, if I remember off the top of my head, certain TTS engines in Asterisk cough Cepstral cough also had a different format required than Asterisk native...
This will now, I suspect, work on FS/mod_rayo but not Asterisk. We need to define this behaviour properly. Should the Asterisk output component in Punchblock strip the file:// scheme and file extension? I think it probably should to be more compatible with Rayo which requires support for full URIs.