[asterisk-app-dev] AGI stream audio from URI

Naftoli Gugenheim naftoligug at gmail.com
Sun Apr 8 22:28:49 CDT 2018


I've come back to this because of issues with the other approach I took.

I've set up everything so that curl
http://local.XXX.com/sounds/prompts/nine hits
my dev server, yet passing the same URL to STREAM FILE does not. I still
get WARNING[103][C-00000001]: file.c:774 ast_openstream_full: File
http://local.mikvahbook.com/sounds/prompts/please%2Dmake%2Da%2Dselection
does not exist in any format, and my server is not being hit.

Please help!


On Mon, Mar 5, 2018 at 2:49 AM Naftoli Gugenheim <naftoligug at gmail.com>
wrote:

> Interesting!
>
> Anyway I've deployed my app, and I left it with filenames. I have a Google
> Cloud Storage bucket that's mounted via gcsfuse into both the app and to
> Asterisk. That way they both act like they're working with their own local
> filesystem but really it's shared but distributed. Maybe I'll change it to
> use URLs and serve the files from the app in the future. I feel like it's
> more elegant for the app to own everything and treat asterisk like a
> stateless service, but there's no immediate reason to change the status quo.
>
>
> On Fri, Mar 2, 2018, 2:36 PM Ross Buggins <rbuggins at via.co.uk> wrote:
>
>> Just monitors for changes in a directory, takes the file, processes it
>> (sends off to a web service) it and then removes it from the local file
>> system
>>
>>
>>
>> *From:* asterisk-app-dev-bounces at lists.digium.com [mailto:
>> asterisk-app-dev-bounces at lists.digium.com] *On Behalf Of *Naftoli
>> Gugenheim
>> *Sent:* 02 March 2018 19:30
>>
>>
>> *To:* Asterisk Application Development discussion <
>> asterisk-app-dev at lists.digium.com>
>> *Subject:* Re: [asterisk-app-dev] AGI stream audio from URI
>>
>>
>>
>> How does the background service know when something was recorded?
>>
>>
>> _______________________________________________
>> asterisk-app-dev mailing list
>> asterisk-app-dev at lists.digium.com
>> http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20180409/580a68b5/attachment.html>


More information about the asterisk-app-dev mailing list