[asterisk-app-dev] AGI stream audio from URI
Ross Buggins
rbuggins at via.co.uk
Wed Feb 28 06:47:26 CST 2018
I’m not sure – I just used another background service to post recorded files off to a web service
From: asterisk-app-dev-bounces at lists.digium.com <asterisk-app-dev-bounces at lists.digium.com> On Behalf Of Naftoli Gugenheim
Sent: 27 February 2018 23:31
To: Asterisk Application Development discussion <asterisk-app-dev at lists.digium.com>
Subject: Re: [asterisk-app-dev] AGI stream audio from URI
Thanks. BTW is there any way to accomplish the reverse -- have the caller record a message and then HTTP POST it to my app?
On Tue, Feb 27, 2018, 2:55 PM Ross Buggins <mailto:rbuggins at via.co.uk> wrote:
Hi,
I had issues with anything apart from letters in the url, so remove any – or . (except for file name extension .)
Thanks,
Ross
From: mailto:asterisk-app-dev-bounces at lists.digium.com <mailto:asterisk-app-dev-bounces at lists.digium.com> On Behalf Of Naftoli Gugenheim
Sent: 25 February 2018 09:22
To: Asterisk Application Development discussion <mailto:asterisk-app-dev at lists.digium.com>
Subject: Re: [asterisk-app-dev] AGI stream audio from URI
After reading your other message, I'm wondering if those logs are just noise indicating asterisk first attempted to interpret the URL as a file, after which it would try http? Seems odd...
On Sun, Feb 25, 2018, 4:17 AM Naftoli Gugenheim <mailto:naftoligug at gmail.com> wrote:
What does the format have to do with whether it's reading the URL?
Are you saying that it is reading it but it can't decode it? I'm guessing that file much better than 8khz, which asterisk seems to want. So I guess I shouldn't have expected it to play. But it's complaining that the file doesn't exist.
Part of the issue is that the docs are very terse about this, so I don't know if what I'm writing is supposed to work.
On Sun, Feb 25, 2018, 4:01 AM Gaurav Khurana <mailto:gkhurana at godaddy.com> wrote:
Run ` core show file formats` and check the file formats your Asterisk supports.
From: mailto:asterisk-app-dev-bounces at lists.digium.com [mailto:mailto:asterisk-app-dev-bounces at lists.digium.com] On Behalf Of Naftoli Gugenheim
Sent: Saturday, February 24, 2018 5:42 PM
To: Asterisk Application Development discussion <mailto:asterisk-app-dev at lists.digium.com>
Subject: Re: [asterisk-app-dev] AGI stream audio from URI
Anyone??
On Tue, Feb 6, 2018, 10:05 PM Naftoli Gugenheim <mailto:naftoligug at gmail.com> wrote:
I’m writing an IVR and I’m thinking of using FastAGI, but I don’t want to assume a shared filesystem. I understand that Asterisk 14 should allow http URIs for playback but I can’t get it to work.
Case in point, this output on the asterisk console:
<PJSIP/7325342893-0000004e>AGI Rx << CONTROL STREAM FILE "https://freewavesamples.com/files/Alesis-Fusion-Nylon-String-Guitar-C4.wav" ""
File https://freewavesamples.com/files/Alesis-Fusion-Nylon-String-Guitar-C4.wav does not exist in any format
Unable to open https://freewavesamples.com/files/Alesis-Fusion-Nylon-String-Guitar-C4.wav (format (ulaw)): No such file or directory
Any ideas or suggestions?
_______________________________________________
asterisk-app-dev mailing list
mailto:asterisk-app-dev at lists.digium.com
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
_______________________________________________
asterisk-app-dev mailing list
mailto:asterisk-app-dev at lists.digium.com
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
More information about the asterisk-app-dev
mailing list