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 different from trying to put an & into the Background() or 
Playback() commands, where Asterisk does treat the symbol specially.


Antony.

-- 
+++ Divide By Cucumber Error.  Please Reinstall Universe And Reboot +++

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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

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 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:
> 
> > 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 
> > > 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 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?
> >
> >
> > --
> > _
> > -- 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
> [1.2  ]
> [2  ]
> -- 
> _
> -- 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com

-- 
_
-- 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

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:

> 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 
> > 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 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?
>
>
> --
> _
> -- 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
-- 
_
-- 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

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 
Asterisk-compatible URL and convert it into whatever the outisde world 
requires.

> Or, base64 encode the URL, and then set a variable with
> Set(url=${BASE64_DECODE(${encodedURL})) ?

No, doesn't work - I tried several things yesterday to see if I could get this 
to work, and you don't even need to use Base64 en/de-coding - you can set an 
Asterisk variable to the URL including the &, and then pass that to the 
Background() command, and it fails.

I tried it pointing to a web server I run, so I can see the requests which are 
sent, and a ? gets through, but a & doesn't.  Converting it to %26 simply 
sends that through as-is, which fails at the web server end.

So, I think this is a bug/feature-fail in Asterisk, which can't be worked 
around.


Antony.

-- 
"In fact I wanted to be John Cleese and it took me some time to realise that 
the job was already taken."

 - Douglas Adams

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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

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 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 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?


-- 
_
-- 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

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 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 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?


-- 
_
-- 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

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 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?
>>
> --
> _
> -- 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
-- 
_
-- 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

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

2022-01-26 Thread 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  wrote:

>
>
> On Mon, Jan 17, 2022, 19:58 
> wrote:
>
>> Send asterisk-users mailing list submissions to
>> asterisk-users@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-requ...@lists.digium.com
>>
>> You can reach the person managing the list at
>> asterisk-users-ow...@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 
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> 
>> Subject: [asterisk-users] How to escape the & in BackGround
>> Message-ID:
>> <
>> cam3tth3asg-ed-dmy7rnrwora18ldfpndqxtmwtfsp_ahns...@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 
>> To: asterisk-users@lists.digium.com
>> Subject: Re: [asterisk-users] How to escape the & in BackGround
>> Message-ID:
>> 
>> 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 
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> 
>> Subject: Re: [asterisk-users] How to escape the & in BackGround
>> Message-ID:
>> > f09d66jv0fbomkfbym...@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  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: <
>>

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&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?
>
-- 
_
-- 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

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

2022-01-17 Thread Israel Gottlieb
On Mon, Jan 17, 2022, 19:58  wrote:

> Send asterisk-users mailing list submissions to
> asterisk-users@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-requ...@lists.digium.com
>
> You can reach the person managing the list at
> asterisk-users-ow...@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 
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> 
> Subject: [asterisk-users] How to escape the & in BackGround
> Message-ID:
> <
> cam3tth3asg-ed-dmy7rnrwora18ldfpndqxtmwtfsp_ahns...@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 
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] How to escape the & in BackGround
> Message-ID:
> 
> 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 
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> 
> Subject: Re: [asterisk-users] How to escape the & in BackGround
> Message-ID:
>  f09d66jv0fbomkfbym...@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  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

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 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
-- 
_
-- 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

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 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

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

2022-01-16 Thread Dovid Bender
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?
-- 
_
-- 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

Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Olivier
2010/1/19 Dominik 

>
> Hm,
> (svn 187362) Permit zero-length text messages in SIP
>
> Maybe a zero-length text also works to clear the display of Thomson 2030:
> But with SendText it doesn't:
>-- Executing [...@intern:1] Answer("SIP/4711-0016", "") in new
> stack
>-- Executing [...@intern:2] SendText("SIP/4711-0016", "") in new
> stack
>-- Executing [...@intern:3] Hangup("SIP/4711-0016", "") in new
> stack
>
> A message doesn't disappear from display
>
> But when I use sipsak, it does:
>
>-- Executing [...@intern:1] Answer("SIP/4711-0017", "") in new
> stack
>-- Executing [...@intern:2] System("SIP/4711-0017", "sipsak -M -B
> "" -
> s "sip:4...@st2030"") in new stack
>-- Executing [...@intern:3] Hangup("SIP/4711-0017", "") in new
> stack
>
> So obviously there is a problem with sending an empty string with
> SendText()
> (see above)? ( SendText(Hello World) works fine to display a "Hello Word"-
> message!)
>

Dominik,

Just in case, which firmware do you currently use in your ST2030 ? 1.65 ?
2.69 ?
For the latter one, I noticed a regression with SendText and I didn't have
time to investigate.


>
>
>
>
> Am Dienstag 19 Januar 2010 schrieb Tilghman Lesher:
> > On Tuesday 19 January 2010 13:03:19 Olivier wrote:
> > > I don't think my previous answer was very clear.
> > > Please, apologize for that.
> > >
> > > Some time ago, I also asked for the same feature as yours :" to be able
> > > to send empty strings to IP phone Thomson ST2030".
> > > Tilghman Lesher from Digium was kind enough to code a patch for 1.4
> (svn
> > > 187362).
> > >
> > > As unfortunately, I'm also using 1.6, I could test its patch nor I
> didn't
> > > dare to ask a port for 1.6.
> > > This doesn't help now for 1.6 but I thought it might help to be aware
> of
> > > that patch.
> >
> > That patch was applied to all branches.  However, it's not relevant to
> the
> > OP's needs.
> >
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Dominik

Hm, 
(svn 187362) Permit zero-length text messages in SIP

Maybe a zero-length text also works to clear the display of Thomson 2030:
But with SendText it doesn't:
-- Executing [...@intern:1] Answer("SIP/4711-0016", "") in new stack
-- Executing [...@intern:2] SendText("SIP/4711-0016", "") in new stack
-- Executing [...@intern:3] Hangup("SIP/4711-0016", "") in new stack

A message doesn't disappear from display

But when I use sipsak, it does:

-- Executing [...@intern:1] Answer("SIP/4711-0017", "") in new stack
-- Executing [...@intern:2] System("SIP/4711-0017", "sipsak -M -B "" -
s "sip:4...@st2030"") in new stack
-- Executing [...@intern:3] Hangup("SIP/4711-0017", "") in new stack

So obviously there is a problem with sending an empty string with SendText() 
(see above)? ( SendText(Hello World) works fine to display a "Hello Word"-
message!)





Am Dienstag 19 Januar 2010 schrieb Tilghman Lesher:
> On Tuesday 19 January 2010 13:03:19 Olivier wrote:
> > I don't think my previous answer was very clear.
> > Please, apologize for that.
> >
> > Some time ago, I also asked for the same feature as yours :" to be able
> > to send empty strings to IP phone Thomson ST2030".
> > Tilghman Lesher from Digium was kind enough to code a patch for 1.4 (svn
> > 187362).
> >
> > As unfortunately, I'm also using 1.6, I could test its patch nor I didn't
> > dare to ask a port for 1.6.
> > This doesn't help now for 1.6 but I thought it might help to be aware of
> > that patch.
> 
> That patch was applied to all branches.  However, it's not relevant to the
> OP's needs.
> 



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Tilghman Lesher
On Tuesday 19 January 2010 13:03:19 Olivier wrote:
> I don't think my previous answer was very clear.
> Please, apologize for that.
>
> Some time ago, I also asked for the same feature as yours :" to be able to
> send empty strings to IP phone Thomson ST2030".
> Tilghman Lesher from Digium was kind enough to code a patch for 1.4 (svn
> 187362).
>
> As unfortunately, I'm also using 1.6, I could test its patch nor I didn't
> dare to ask a port for 1.6.
> This doesn't help now for 1.6 but I thought it might help to be aware of
> that patch.

That patch was applied to all branches.  However, it's not relevant to the
OP's needs.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Olivier
2010/1/19 Danny Nicholas 

> This link might help
> http://www.voip-info.org/wiki/view/Asterisk+cmd+SendText
>
>
Yes but the trouble is you can't send empty strings with SendText.
With this specific IP phone, you sometimes have to.

Cheers


>
>
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Dominik
> Sent: Tuesday, January 19, 2010 11:01 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] How to escape characters in Dialplan
>
>
> Hello,
> excuse my unknowing question, but how can I open the dialplan in hex-mode?
> What file is it? Normaly, my dialplan ist read in textmode from
> /etc/asterisk/extensions.conf. Sure, I can insert a new line with a
> hex-editor
> into the textfile, but then the line got wrapped:
> WARNING[1450]: pbx_config.c:1519 pbx_load_config: No closing parenthesis
> found? ' SendText('
>
> Maybe, is there a way to put new line into a variable?
>
> Set(VARIABLE='\n') also don't work. But maybe I can read a \n from a file
> into
> a variable (with an agi-script)?
>
>
> Thanks,
> Dominik
>
> Am Sonntag 17 Januar 2010 schrieb Peter:
> > Somewhere \n needs to be converted into utf8 new line. Asterisk should
> > do this for you but it doesnt.
> >
> > Try opening the dialplan in hex mode and insert hex code for utf8 new
> > line where the line break should be.
> >
> > Peter
> >
> > On 17 jan 2010, at 12.09, Dominik wrote:
> > > Hello,
> > > I'm using Asterisk 1.6.2.0 and I like to use escape characters with
> > > SendText,
> > > because I can just delete the message from my phone (Thomson
> > > Speedtouch
> > > ST2030) display by sending a return-char (\n).
> > > But \n is not escaped: I tried already:
> > >
> > > exten => 222, n, SendText(\n)
> > > exten => 222, n, SendText("\n")
> > > exten => 222, n, SendText('\n')
> > > exten => 222, n, SendText(`\n`)
> > >
> > >
> > > So how can I use escape characters in dialplan?
> > >
> > >
> > > TIA,
> > > Dominik
> > >
> > >
> > >
> > >
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Olivier
I don't think my previous answer was very clear.
Please, apologize for that.

Some time ago, I also asked for the same feature as yours :" to be able to
send empty strings to IP phone Thomson ST2030".
Tilghman Lesher from Digium was kind enough to code a patch for 1.4 (svn
187362).

As unfortunately, I'm also using 1.6, I could test its patch nor I didn't
dare to ask a port for 1.6.
This doesn't help now for 1.6 but I thought it might help to be aware of
that patch.

Regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Danny Nicholas
This link might help
http://www.voip-info.org/wiki/view/Asterisk+cmd+SendText



-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Dominik
Sent: Tuesday, January 19, 2010 11:01 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to escape characters in Dialplan


Hello,
excuse my unknowing question, but how can I open the dialplan in hex-mode? 
What file is it? Normaly, my dialplan ist read in textmode from 
/etc/asterisk/extensions.conf. Sure, I can insert a new line with a
hex-editor 
into the textfile, but then the line got wrapped:
WARNING[1450]: pbx_config.c:1519 pbx_load_config: No closing parenthesis 
found? ' SendText('

Maybe, is there a way to put new line into a variable? 

Set(VARIABLE='\n') also don't work. But maybe I can read a \n from a file
into 
a variable (with an agi-script)?


Thanks,
Dominik

Am Sonntag 17 Januar 2010 schrieb Peter:
> Somewhere \n needs to be converted into utf8 new line. Asterisk should
> do this for you but it doesnt.
> 
> Try opening the dialplan in hex mode and insert hex code for utf8 new
> line where the line break should be.
> 
> Peter
> 
> On 17 jan 2010, at 12.09, Dominik wrote:
> > Hello,
> > I'm using Asterisk 1.6.2.0 and I like to use escape characters with
> > SendText,
> > because I can just delete the message from my phone (Thomson
> > Speedtouch
> > ST2030) display by sending a return-char (\n).
> > But \n is not escaped: I tried already:
> >
> > exten => 222, n, SendText(\n)
> > exten => 222, n, SendText("\n")
> > exten => 222, n, SendText('\n')
> > exten => 222, n, SendText(`\n`)
> >
> >
> > So how can I use escape characters in dialplan?
> >
> >
> > TIA,
> > Dominik
> >
> >
> >
> >
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> 




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape characters in Dialplan

2010-01-19 Thread Dominik

Hello,
excuse my unknowing question, but how can I open the dialplan in hex-mode? 
What file is it? Normaly, my dialplan ist read in textmode from 
/etc/asterisk/extensions.conf. Sure, I can insert a new line with a hex-editor 
into the textfile, but then the line got wrapped:
WARNING[1450]: pbx_config.c:1519 pbx_load_config: No closing parenthesis 
found? ' SendText('

Maybe, is there a way to put new line into a variable? 

Set(VARIABLE='\n') also don't work. But maybe I can read a \n from a file into 
a variable (with an agi-script)?


Thanks,
Dominik

Am Sonntag 17 Januar 2010 schrieb Peter:
> Somewhere \n needs to be converted into utf8 new line. Asterisk should
> do this for you but it doesnt.
> 
> Try opening the dialplan in hex mode and insert hex code for utf8 new
> line where the line break should be.
> 
> Peter
> 
> On 17 jan 2010, at 12.09, Dominik wrote:
> > Hello,
> > I'm using Asterisk 1.6.2.0 and I like to use escape characters with
> > SendText,
> > because I can just delete the message from my phone (Thomson
> > Speedtouch
> > ST2030) display by sending a return-char (\n).
> > But \n is not escaped: I tried already:
> >
> > exten => 222, n, SendText(\n)
> > exten => 222, n, SendText("\n")
> > exten => 222, n, SendText('\n')
> > exten => 222, n, SendText(`\n`)
> >
> >
> > So how can I use escape characters in dialplan?
> >
> >
> > TIA,
> > Dominik
> >
> >
> >
> >
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> 




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape characters in Dialplan

2010-01-17 Thread Olivier
2010/1/17 Dominik 

>
> Hello,
> I'm using Asterisk 1.6.2.0 and I like to use escape characters with
> SendText,
> because I can just delete the message from my phone (Thomson Speedtouch
> ST2030) display by sending a return-char (\n).
> But \n is not escaped: I tried already:
>
> exten => 222, n, SendText(\n)
> exten => 222, n, SendText("\n")
> exten => 222, n, SendText('\n')
> exten => 222, n, SendText(`\n`)
>
>
> So how can I use escape characters in dialplan?
>

This 187362 added this feature for 1.4.
Obviously, this fix was not ported to 1.6.X.
I would also be very pleased, if it could be done.


>
> TIA,
> Dominik
>
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to escape characters in Dialplan

2010-01-17 Thread Peter
Somewhere \n needs to be converted into utf8 new line. Asterisk should  
do this for you but it doesnt.

Try opening the dialplan in hex mode and insert hex code for utf8 new  
line where the line break should be.

Peter


On 17 jan 2010, at 12.09, Dominik wrote:

>
> Hello,
> I'm using Asterisk 1.6.2.0 and I like to use escape characters with  
> SendText,
> because I can just delete the message from my phone (Thomson  
> Speedtouch
> ST2030) display by sending a return-char (\n).
> But \n is not escaped: I tried already:
>
> exten => 222, n, SendText(\n)
> exten => 222, n, SendText("\n")
> exten => 222, n, SendText('\n')
> exten => 222, n, SendText(`\n`)
>
>
> So how can I use escape characters in dialplan?
>
>
> TIA,
> Dominik
>
>
>
>
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] How to escape characters in Dialplan

2010-01-17 Thread Dominik

Hello,
I'm using Asterisk 1.6.2.0 and I like to use escape characters with SendText, 
because I can just delete the message from my phone (Thomson Speedtouch 
ST2030) display by sending a return-char (\n).
But \n is not escaped: I tried already:

exten => 222, n, SendText(\n)
exten => 222, n, SendText("\n")
exten => 222, n, SendText('\n')
exten => 222, n, SendText(`\n`)


So how can I use escape characters in dialplan?


TIA,
Dominik




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] How to escape the Pound-Char in Callfiles

2010-01-17 Thread Dominik

Hello,
I'm using Asterisk 1.6.2.0 and I like to call extension #8 from callfile. 
Unfortunately the #-char ist interpreted just as comment.
I got a "Invalid file contents in /var/spool/asterisk/outgoing/callfile, 
deleting" from asterisk.
When I try to escape with \ oder use quotes, I got: \#8,1 failed so falling 
back to exten 's' or "#8",1 failed so falling back to exten 's'


TIA,
Dominik




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape DTMF?

2008-12-05 Thread Carsten Maass
Hello John,

John covici schrieb:
> Or just type slowly enough -- I think the timeout is half a second or
> so.

I will try this, as soon as I am back at the office. But i fear that
there might be a similar timeout on the other end of the line.

Many thanks and greetings,
Carsten.


> on Friday 12/05/2008 Matthew J. Roth([EMAIL PROTECTED]) wrote
>  > Carsten Maass wrote:
>  > > we are in the need to reach an external Conference-System, whos 
>  > > numbering system is *2*. Unfortunately *2 is the featurecode for 
>  > > attended transfer in our local asterisk, so the call doesn't come 
>  > > through. Is there a way to somehow escape the featurecode, so we can 
>  > > reach the external Conference?
>  > Carsten,
>  > 
>  > Feature codes are configured in "/etc/asterisk/features.conf".  In your 
>  > case, you'll want to set:
>  > 
>  >   [featuremap]
>  >   atxfer => *2   ; Attended transfer
>  > 
>  > to some other value.
>  > 
>  > Regards,
>  > 
>  > Matthew Roth
>  > InterMedia Marketing Solutions
>  > Software Engineer and Systems Developer


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape DTMF?

2008-12-05 Thread Carsten Maass
Hello Matthew,

Matthew J. Roth schrieb:
> Carsten Maass wrote:
>> we are in the need to reach an external Conference-System, whos 
>> numbering system is *2*. Unfortunately *2 is the featurecode for 
>> attended transfer in our local asterisk, so the call doesn't come 
>> through. Is there a way to somehow escape the featurecode, so we can 
>> reach the external Conference?
> Carsten,
> 
> Feature codes are configured in "/etc/asterisk/features.conf".  In your 
> case, you'll want to set:
> 
>   [featuremap]
>   atxfer => *2   ; Attended transfer
> 
> to some other value.

yes, this would be an option, though i was still hoping for a more
flexible solution. Changing the behaviour of all users for reaching a
single destination seems to be quite a hassle.

Thanks a lot,
Carsten.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape DTMF?

2008-12-05 Thread John covici
Or just type slowly enough -- I think the timeout is half a second or
so.

on Friday 12/05/2008 Matthew J. Roth([EMAIL PROTECTED]) wrote
 > Carsten Maass wrote:
 > > we are in the need to reach an external Conference-System, whos 
 > > numbering system is *2*. Unfortunately *2 is the featurecode for 
 > > attended transfer in our local asterisk, so the call doesn't come 
 > > through. Is there a way to somehow escape the featurecode, so we can 
 > > reach the external Conference?
 > Carsten,
 > 
 > Feature codes are configured in "/etc/asterisk/features.conf".  In your 
 > case, you'll want to set:
 > 
 >   [featuremap]
 >   atxfer => *2   ; Attended transfer
 > 
 > to some other value.
 > 
 > Regards,
 > 
 > Matthew Roth
 > InterMedia Marketing Solutions
 > Software Engineer and Systems Developer
 > 
 > 
 > 
 > ___
 > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 > 
 > asterisk-users mailing list
 > To UNSUBSCRIBE or update options visit:
 >http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to escape DTMF?

2008-12-05 Thread Matthew J. Roth
Carsten Maass wrote:
> we are in the need to reach an external Conference-System, whos 
> numbering system is *2*. Unfortunately *2 is the featurecode for 
> attended transfer in our local asterisk, so the call doesn't come 
> through. Is there a way to somehow escape the featurecode, so we can 
> reach the external Conference?
Carsten,

Feature codes are configured in "/etc/asterisk/features.conf".  In your 
case, you'll want to set:

  [featuremap]
  atxfer => *2   ; Attended transfer

to some other value.

Regards,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] How to escape DTMF?

2008-12-05 Thread Carsten Maass
Hello List,

we are in the need to reach an external Conference-System, whos 
numbering system is *2*. Unfortunately *2 is the featurecode for 
attended transfer in our local asterisk, so the call doesn't come 
through. Is there a way to somehow escape the featurecode, so we can 
reach the external Conference?

Thanx in advance,
Carsten.



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-21 Thread Mark Spencer
Yes, just press pound twice.

Mark

On Mon, 20 Oct 2003, Louis-David Mitterrand wrote:

> Hi,
>
> This morning I found myself stumped when a remote interactive system
> asked me to enter some identification followed by the # key, and my
> local Asterisk interrupted with "Transfer?".
>
> Is there a way to escape the pound key, short of disabling transfers?
>
> Cheers,
>
> --
> "Make it idiot proof, and somebody will make a better idiot."
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread Iain Stevenson
I'll own up to a patch - bug report 110.  However, Mark peremptorily 
dismissed my suggestion putting forward a solution I find illogical.  I 
guess more people need to ask for this feature!

I think my original patch was a bit over-engineered.  The one below is 
simpler.

 Iain

--- res_parking.c.orig  Sun Aug 24 16:57:10 2003
+++ res_parking.c   Sat Sep 27 10:43:17 2003
@@ -25,6 +25,7 @@
#include 
#include 
#include 
+#include 
#include 
#include 
#include 
@@ -214,6 +215,7 @@
   struct ast_channel *transferer;
   struct ast_channel *transferee;
  char *transferer_real_context;
+int ms;
   /* Answer if need be */
   if (ast_answer(chan))
@@ -274,6 +276,13 @@
   transferer = chan;
   transferee = peer;
   }
+//IAS
+   ms = 250; /* ms */
+ms = ast_waitfordigit(transferer, ms);
+   if( ms != '#')
+ 
ast_playtones_start(transferee,0,"!941+1477/50,!0/50",0);
+   else {
+

   /* Use the non-macro context to transfer 
the call */
   if(strlen(transferer->macrocontext))
@@ -381,6 +390,7 @@
   if (option_verbose > 1)

ast_verbose(VERBOSE_PREFIX_2 "Hungup during autoservice stop on '%s'\n", 
transferee->name);
   }
+   }
   } else {
if (f && (f->frametype == AST_FRAME_DTMF)) {
  if (who == peer)





--On Monday, October 20, 2003 8:52 am -0700 John Todd <[EMAIL PROTECTED]> 
wrote:

At 3:42 PM +0200 10/20/03, Louis-David Mitterrand wrote:
Hi,

This morning I found myself stumped when a remote interactive system
asked me to enter some identification followed by the # key, and my
local Asterisk interrupted with "Transfer?".
Is there a way to escape the pound key, short of disabling transfers?

Cheers,

--
"Make it idiot proof, and somebody will make a better idiot."
There is a patch for this available, I seem to recall.  Look through the
archives, and search for "##" - someone made it so that the "transfer"
feature would only work after hitting # twice.  A very cursory search of
the bugtracker didn't find that patch - can someone search more
diligently, and then submit it if they find the original code?
JT

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread Eric Wieling
There's a bug report on bugs.digium.com.  Most people don't need to
transfer calls that go to outside numbers, only calls that come IN to
asterisk and calls between extensions and so most people don't run into
the problem.

On Mon, 2003-10-20 at 09:42, Louis-David Mitterrand wrote:
> On Mon, Oct 20, 2003 at 02:55:18PM +0100, WipeOut wrote:
> > >This morning I found myself stumped when a remote interactive system
> > >asked me to enter some identification followed by the # key, and my
> > >local Asterisk interrupted with "Transfer?".
> > >
> > >Is there a way to escape the pound key, short of disabling transfers?
> > >
> > Don't put the T or t options on your outbound dialing string..
> 
> So basiccally one has to choose between being able to transfer calls or
> sending # to remote IVR systems?
> 
> I'd call that a bug
-- 
Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/

BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread John Todd
At 3:42 PM +0200 10/20/03, Louis-David Mitterrand wrote:
Hi,

This morning I found myself stumped when a remote interactive system
asked me to enter some identification followed by the # key, and my
local Asterisk interrupted with "Transfer?".
Is there a way to escape the pound key, short of disabling transfers?

Cheers,

--
"Make it idiot proof, and somebody will make a better idiot."
There is a patch for this available, I seem to recall.  Look through 
the archives, and search for "##" - someone made it so that the 
"transfer" feature would only work after hitting # twice.  A very 
cursory search of the bugtracker didn't find that patch - can someone 
search more diligently, and then submit it if they find the original 
code?

JT

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread Steven Critchfield
On Mon, 2003-10-20 at 09:42, Louis-David Mitterrand wrote:
> On Mon, Oct 20, 2003 at 02:55:18PM +0100, WipeOut wrote:
> > >This morning I found myself stumped when a remote interactive system
> > >asked me to enter some identification followed by the # key, and my
> > >local Asterisk interrupted with "Transfer?".
> > >
> > >Is there a way to escape the pound key, short of disabling transfers?
> > >
> > Don't put the T or t options on your outbound dialing string..
> 
> So basiccally one has to choose between being able to transfer calls or
> sending # to remote IVR systems?

How often do you dial out and then use # to transfer internally? I think
# to transfer was actually added for those not directly connected to the
analog phone since then it couldn't detect a flash hook. You can turn on
three way calling and use the flash function to park a call, or three
way calling to consultive transfer the call before hanging up. You have
lots of options here, just be wary of those that overlap and then become
ambiguous. 
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread WipeOut
Louis-David Mitterrand wrote:

On Mon, Oct 20, 2003 at 02:55:18PM +0100, WipeOut wrote:
 

This morning I found myself stumped when a remote interactive system
asked me to enter some identification followed by the # key, and my
local Asterisk interrupted with "Transfer?".
Is there a way to escape the pound key, short of disabling transfers?

 

Don't put the T or t options on your outbound dialing string..
   

So basiccally one has to choose between being able to transfer calls or
sending # to remote IVR systems?
I'd call that a bug

 

Not really, the # transfer was added for people who use non-PBX phones, 
in otherwords standard home type analog phones.. If you use IP phones or 
PBX compatible analog phones then the T and t options are not needed 
because transfer is supported by the phone..

I don't use any analog phones on my system so I can't tell you what 
features to look for in analog phones, maybe someone else can help there..

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread Louis-David Mitterrand
On Mon, Oct 20, 2003 at 02:55:18PM +0100, WipeOut wrote:
> >This morning I found myself stumped when a remote interactive system
> >asked me to enter some identification followed by the # key, and my
> >local Asterisk interrupted with "Transfer?".
> >
> >Is there a way to escape the pound key, short of disabling transfers?
> >
> Don't put the T or t options on your outbound dialing string..

So basiccally one has to choose between being able to transfer calls or
sending # to remote IVR systems?

I'd call that a bug

-- 
"Of course Australia was marked for glory, for its people had been
chosen by the finest judges in England."
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] how to escape #

2003-10-20 Thread WipeOut
Louis-David Mitterrand wrote:

Hi,

This morning I found myself stumped when a remote interactive system
asked me to enter some identification followed by the # key, and my
local Asterisk interrupted with "Transfer?".
Is there a way to escape the pound key, short of disabling transfers?

Cheers,

 

Don't put the T or t options on your outbound dialing string..

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] how to escape #

2003-10-20 Thread Louis-David Mitterrand
Hi,

This morning I found myself stumped when a remote interactive system
asked me to enter some identification followed by the # key, and my
local Asterisk interrupted with "Transfer?".

Is there a way to escape the pound key, short of disabling transfers?

Cheers,

-- 
"Make it idiot proof, and somebody will make a better idiot."
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users