Thanks. I will try it. Meanwhile I was trying below code.
call goes to 'test' context and from there is passed to macro 'age'.
In 'age' macro when I am using any patter to accept even single digit, its
not working. So instead of using pattern I hardcoded the extension, but
still when I am pressin
On Monday 08 Sep 2014, Anurag Rana wrote:
> @A J Stiles : If you could provide an example as you said, It would be very
> nice. Thanks.
This is excerpted from a dialplan application I wrote. It's actually a PIN
entry but should be usable for any general purpose application. Sound files
referr
@A J Stiles : If you could provide an example as you said, It would be very
nice. Thanks.
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every T
Thanks for the suggestion.
@Stiles - Look like this may work. Will try this. Thanks.
Anurag Rana
http://newbie42.blogspot.in/
On Mon, Sep 8, 2014 at 1:42 PM, A J Stiles
wrote:
> On Sunday 07 Sep 2014, Anurag Rana wrote:
> > Hi,
> >
> > I created a dummy dialplan where I ask the user to ent
On Sunday 07 Sep 2014, Anurag Rana wrote:
> Hi,
>
> I created a dummy dialplan where I ask the user to enter the age.
>
> [macro-age]
> exten => s,1,Background(my/age) ;;Play recorded message to enter age
> exten => s,n,WaitExten(10)
> exten => _XX,1,Set(AGE=${EXTEN});; this line is not
read" though
Rgds
From: anuragrana31...@gmail.com
Date: Mon, 8 Sep 2014 09:29:47 +0530
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Pattern Extension not working in Dialplan
Thank you all for your suggestions.
1. [macro-age] is a macro and not an extension badly named.
Thank you all for your suggestions.
1. [macro-age] is a macro and not an extension badly named.
2. I am able to use Read to fulfill the purpose but we can't use Read()
after Background(). To use read we need Playback() [ am I right?]. But
Playback do not provide barge-in facility i.e. user have
On Sun, 7 Sep 2014, Steve Edwards wrote:
In specific, your ordering of '_xx' in the middle of 's' is odd. This would
disrupt the value of the priority in older versions of Asterisk, but it
appears that it does work in modern (I'm using 11) versions.
Disregard that. I can't even follow my own
Please don't top-post.
On Sun, Sep 7, 2014 at 1:41 PM, Anurag Rana wrote:
I created a dummy dialplan where I ask the user to enter the age.
[macro-age]
exten => s,1,Background(my/age) ;;Play recorded message to enter age
exten => s,n,WaitExten(10)
exten => _XX,1,Set(
The first issue I see is you are attempting to insert your pattern match in
the middle of your 's' extension, That's going to break your 's' extension.
The second issue is that you are matching on XX which will match two
digits, You need to match on _X instead if you are attempting to match on
the
10 matches
Mail list logo