Re: [asterisk-users] How to escape the & in BackGround

2022-01-28 Thread Antony Stone
On Friday 28 January 2022 at 02:43:17, John Covici wrote: > I have been using system commands in my dialplan for years and the & > goes through and puts the process in background like it should, > asterisk does not do anything, so you are left with what the shell > does. That's completely

Re: [asterisk-users] How to escape the & in BackGround

2022-01-27 Thread John Covici
I have been using system commands in my dialplan for years and the & goes through and puts the process in background like it should, asterisk does not do anything, so you are left with what the shell does. On Thu, 27 Jan 2022 17:48:46 -0500, Dovid Bender wrote: > > [1 ] > [1.1 ] > I tried

Re: [asterisk-users] How to escape the & in BackGround

2022-01-27 Thread Dovid Bender
I tried tinyURL and that did not work. I got an error of: file.c:789 ast_openstream_full: File https://tinyurl.com/bdfye5ts9 does not exist in any format (URL changed to hide aws key). I tried adding \;foo=wav. but that did not work either. On Thu, Jan 27, 2022 at 3:32 PM Kingsley Tart wrote:

Re: [asterisk-users] How to escape the & in BackGround

2022-01-27 Thread Antony Stone
On Thursday 27 January 2022 at 21:31:35, Kingsley Tart wrote: > Does asterisk follow HTTP redirects? If so can you use something like > tinyurl.com to produce an alternative URL? I'm (pretty) sure that that would work. The other similar idea I had was to use a reverse proxy server to accept an

Re: [asterisk-users] How to escape the & in BackGround

2022-01-27 Thread Kingsley Tart
Does asterisk follow HTTP redirects? If so can you use something like tinyurl.com to produce an alternative URL? Or, base64 encode the URL, and then set a variable with Set(url=${BASE64_DECODE(${encodedURL})) ? Cheers, Kingsley. On Wed, 2022-01-26 at 16:56 -0500, Dovid Bender wrote: > I tried

Re: [asterisk-users] How to escape the & in BackGround

2022-01-27 Thread Kingsley Tart - Barritel Ltd
Does asterisk follow HTTP redirects? If so can you use something like tinyurl.com to produce an alternative URL? Or, base64 encode the URL, and then set a variable with Set(url=${BASE64_DECODE(${encodedURL})) ? Cheers, Kingsley. On Wed, 2022-01-26 at 16:56 -0500, Dovid Bender wrote: > I tried

Re: [asterisk-users] How to escape the & in BackGround

2022-01-26 Thread Dovid Bender
I tried but it seems it does not. On Tue, Jan 18, 2022 at 2:57 PM John Runyon wrote: > ${SPRINTF(%c,38)} > or > %26 > > should work, I think. > > On Sun, 16 Jan 2022 at 13:21, Dovid Bender wrote: > >> Hi, >> >> I am trying to play a sound file from AWS S3. The URL is something like >> this

Re: [asterisk-users] How to escape the & in BackGround (Dovid Bender

2022-01-26 Thread Dovid Bender
as a >> string? >> -- next part ------ >> An HTML attachment was scrubbed... >> URL: < >> http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/e8325ce8/attachment-0001.html >> > >> >> --

Re: [asterisk-users] How to escape the & in BackGround

2022-01-18 Thread John Runyon
${SPRINTF(%c,38)} or %26 should work, I think. On Sun, 16 Jan 2022 at 13:21, Dovid Bender wrote: > Hi, > > I am trying to play a sound file from AWS S3. The URL is something like > this http://example.org?foo=bar=b. The issue seems to be that as soon > as Asterisk see's the & it assumes there

Re: [asterisk-users] How to escape the & in BackGround

2022-01-16 Thread Dovid Bender
I tried single quotes, double quotes, backslash etc and none of it worked On Sun, Jan 16, 2022 at 16:11 Doug Lytle wrote: > On 1/16/22 2:19 PM, Dovid Bender wrote: > > Does anyone know a way of telling Asterisk that & is part of the URL and > to pass it along as a string? > > > Try enclosing

Re: [asterisk-users] How to escape the & in BackGround

2022-01-16 Thread Doug Lytle
On 1/16/22 2:19 PM, Dovid Bender wrote: Does anyone know a way of telling Asterisk that & is part of the URL and to pass it along as a string? Try enclosing the URL in single quotes, Doug -- _ -- Bandwidth and Colocation