Re: AGI stream audio from URI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx [mailto:asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Naftoli Gugenheim
Sent: 02 March 2018 19:30


To: Asterisk Application Development discussion <asterisk-app-dev@xxxxxxxxxxxxxxxx>
Subject: Re: AGI stream audio from URI

 

How does the background service know when something was recorded?

 

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux