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

Naftoli Gugenheim naftoligug at gmail.com
Tue Feb 27 17:31:12 CST 2018


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 <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
>
>
>
>
>
> [image: ISPA Finalist 2017 best voip + VIA]
>
>
>
> *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 <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
>
> _______________________________________________
> 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/20180227/34b2bd7a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 19165 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20180227/34b2bd7a/attachment-0001.png>


More information about the asterisk-app-dev mailing list