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

Kingsley Tart - Barritel Ltd kingsley.tart at barritel.com
Thu Jan 27 14:30:55 CST 2022


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 but it seems it does not.
> 
> 
> On Tue, Jan 18, 2022 at 2:57 PM John Runyon <john at simplynuc.com>
> wrote:
> > ${SPRINTF(%c,38)}
> > or
> > %26
> > 
> > should work, I think.
> > 
> > On Sun, 16 Jan 2022 at 13:21, Dovid Bender <dovid at telecurve.com>
> > wrote:
> > > Hi,
> > > 
> > > I am trying to play a sound file from AWS S3. The URL is
> > > something like this http://example.org?foo=bar&a=b. The issue
> > > seems to be that as soon as Asterisk see's the & it assumes there
> > > is a new file and the a=b is not sent along. I tried doing \& but
> > > that did not work. Does anyone know a way of telling Asterisk
> > > that & is part of the URL and to pass it along as a string?




More information about the asterisk-users mailing list