Re: AGI stream audio from URI

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

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx <asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx> On Behalf Of Naftoli Gugenheim
Sent: 25 February 2018 09:22
To: Asterisk Application Development discussion <asterisk-app-dev@xxxxxxxxxxxxxxxx>
Subject: Re: 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@xxxxxxxxx> 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@xxxxxxxxxxx> wrote:
Run  ` core show file formats`  and check the file formats your Asterisk supports.
 
From: mailto:asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx [mailto:mailto:asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Naftoli Gugenheim
Sent: Saturday, February 24, 2018 5:42 PM
To: Asterisk Application Development discussion <mailto:asterisk-app-dev@xxxxxxxxxxxxxxxx>
Subject: Re: AGI stream audio from URI
 
Anyone??
 
On Tue, Feb 6, 2018, 10:05 PM Naftoli Gugenheim <mailto:naftoligug@xxxxxxxxx> 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@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
_______________________________________________
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