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

Naftoli Gugenheim naftoligug at gmail.com
Sun Feb 25 03:49:01 CST 2018


I'm happy to try that, but it would cause complications for my application
(right now filenames are based on the string they represent), unless I can
just URL-escape all the things...

On Sun, Feb 25, 2018, 4:36 AM Ross Buggins <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: asterisk-app-dev-bounces at lists.digium.com <
> asterisk-app-dev-bounces at lists.digium.com> On Behalf Of Naftoli Gugenheim
> Sent: 25 February 2018 09:22
> To: Asterisk Application Development discussion <
> 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
> 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/20180225/cb474dd2/attachment-0001.html>


More information about the asterisk-app-dev mailing list