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

Naftoli Gugenheim naftoligug at gmail.com
Sun Feb 25 03:21:34 CST 2018


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 <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 <gkhurana at godaddy.com> wrote:
>
>> Run  ` core show file formats`  and check the file formats your Asterisk
>> supports.
>>
>>
>>
>> *From:* asterisk-app-dev-bounces at lists.digium.com [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 <
>> 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 <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
>> 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/cdede388/attachment.html>


More information about the asterisk-app-dev mailing list