Israel Gottlieb
2022-Jan-18 07:31 UTC
[asterisk-users] How to escape the & in BackGround (Dovid Bender
On Mon, Jan 17, 2022, 19:58 <asterisk-users-request at lists.digium.com> wrote:> Send asterisk-users mailing list submissions to > asterisk-users at lists.digium.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.digium.com/mailman/listinfo/asterisk-users > or, via email, send a message with subject or body 'help' to > asterisk-users-request at lists.digium.com > > You can reach the person managing the list at > asterisk-users-owner at lists.digium.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of asterisk-users digest..." > > > Today's Topics: > > 1. ) > 2. Re: How to escape the & in BackGround (Doug Lytle) > 3. Re: How to escape the & in BackGround (Dovid Bender) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 16 Jan 2022 14:19:28 -0500 > From: Dovid Bender <dovid at telecurve.com> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users at lists.digium.com> > Subject: [asterisk-users] How to escape the & in BackGround > Message-ID: > < > CAM3TTh3aSg-ed-DMY7RNRWOra18LDfpnDQxtMWTFSp_AHnSJ4A at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/e8325ce8/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sun, 16 Jan 2022 16:10:39 -0500 > From: Doug Lytle <support at drdos.info> > To: asterisk-users at lists.digium.com > Subject: Re: [asterisk-users] How to escape the & in BackGround > Message-ID: > <sig.0015d37cb9.31d76964-6dbf-7d7e-d8d0-1ef53d7ca739 at drdos.info> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/a2824e19/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Sun, 16 Jan 2022 16:39:13 -0500 > From: Dovid Bender <dovid at telecurve.com> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users at lists.digium.com> > Subject: Re: [asterisk-users] How to escape the & in BackGround > Message-ID: > <CAM3TTh2eQTJkXVZKvspxMWwPgGwc> F09D66Jv0FBOMKFbYm4Ww at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I tried single quotes, double quotes, backslash etc and none of it worked > > On Sun, Jan 16, 2022 at 16:11 Doug Lytle <support at drdos.info> 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 the URL in single quotes, > > > > Doug > > > > -- > > _____________________________________________________________________ > > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > > > Check out the new Asterisk community forum at: > > https://community.asterisk.org/ > > > > New to Asterisk? Start here: > > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/a9f0495a/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > ------------------------------ > > End of asterisk-users Digest, Vol 209, Issue 9 > ********************************************** >URIENCODE?>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220118/bc51813e/attachment.html>
Dovid Bender
2022-Jan-26 21:55 UTC
[asterisk-users] How to escape the & in BackGround (Dovid Bender
I tried that, it did not work. I assume I will need to make my own function to play sounds? On Tue, Jan 18, 2022 at 2:33 AM Israel Gottlieb <isrlgb at gmail.com> wrote:> > > On Mon, Jan 17, 2022, 19:58 <asterisk-users-request at lists.digium.com> > wrote: > >> Send asterisk-users mailing list submissions to >> asterisk-users at lists.digium.com >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.digium.com/mailman/listinfo/asterisk-users >> or, via email, send a message with subject or body 'help' to >> asterisk-users-request at lists.digium.com >> >> You can reach the person managing the list at >> asterisk-users-owner at lists.digium.com >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of asterisk-users digest..." >> >> >> Today's Topics: >> >> 1. ) >> 2. Re: How to escape the & in BackGround (Doug Lytle) >> 3. Re: How to escape the & in BackGround (Dovid Bender) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sun, 16 Jan 2022 14:19:28 -0500 >> From: Dovid Bender <dovid at telecurve.com> >> To: Asterisk Users Mailing List - Non-Commercial Discussion >> <asterisk-users at lists.digium.com> >> Subject: [asterisk-users] How to escape the & in BackGround >> Message-ID: >> < >> CAM3TTh3aSg-ed-DMY7RNRWOra18LDfpnDQxtMWTFSp_AHnSJ4A at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> 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? >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/e8325ce8/attachment-0001.html >> > >> >> ------------------------------ >> >> Message: 2 >> Date: Sun, 16 Jan 2022 16:10:39 -0500 >> From: Doug Lytle <support at drdos.info> >> To: asterisk-users at lists.digium.com >> Subject: Re: [asterisk-users] How to escape the & in BackGround >> Message-ID: >> <sig.0015d37cb9.31d76964-6dbf-7d7e-d8d0-1ef53d7ca739 at drdos.info> >> Content-Type: text/plain; charset="utf-8"; Format="flowed" >> >> 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 >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/a2824e19/attachment-0001.html >> > >> >> ------------------------------ >> >> Message: 3 >> Date: Sun, 16 Jan 2022 16:39:13 -0500 >> From: Dovid Bender <dovid at telecurve.com> >> To: Asterisk Users Mailing List - Non-Commercial Discussion >> <asterisk-users at lists.digium.com> >> Subject: Re: [asterisk-users] How to escape the & in BackGround >> Message-ID: >> <CAM3TTh2eQTJkXVZKvspxMWwPgGwc>> F09D66Jv0FBOMKFbYm4Ww at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> I tried single quotes, double quotes, backslash etc and none of it worked >> >> On Sun, Jan 16, 2022 at 16:11 Doug Lytle <support at drdos.info> 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 the URL in single quotes, >> > >> > Doug >> > >> > -- >> > _____________________________________________________________________ >> > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> > >> > Check out the new Asterisk community forum at: >> > https://community.asterisk.org/ >> > >> > New to Asterisk? Start here: >> > https://wiki.asterisk.org/wiki/display/AST/Getting+Started >> > >> > asterisk-users mailing list >> > To UNSUBSCRIBE or update options visit: >> > http://lists.digium.com/mailman/listinfo/asterisk-users >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://lists.digium.com/pipermail/asterisk-users/attachments/20220116/a9f0495a/attachment-0001.html >> > >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >> >> Check out the new Asterisk community forum at: >> https://community.asterisk.org/ >> >> New to Asterisk? Start here: >> https://wiki.asterisk.org/wiki/display/AST/Getting+Started >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> ------------------------------ >> >> End of asterisk-users Digest, Vol 209, Issue 9 >> ********************************************** >> > > > > > URIENCODE? > >> -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220126/97d73963/attachment.html>