[Asterisk-Users] DISA alternative
John Novack
jnovack at stromberg-carlson.org
Fri Mar 17 20:50:38 MST 2006
Jeremy wrote:
> Mine looks like this now:
>
> exten => s,1,Answer
>
> exten => s,2,Authenticate(1234)
>
> exten => s,3,Background(pls-entr-num-uwish2-call)
>
> exten => s,4,Read(EXTENArea=$EXTENArea|10|2|15)
>
> exten => s,5,Noop(EXTENArea=${EXTENArea=${EXTENArea}}
>
> exten => s,6,Goto(outsidetruck,${EXTENArea},1)
>
> However what happens is that I start to enter the number I want to
> call, I get about 2 digits in, and then it drops me to a dial tone. I
> don’t want to exec the call until the number is fully in
>
> ------------------------------------------------------------------------
Priority 4 is curious. When I tried to run this, Asterisk "spoke" the
number 10 to the called. I changed the 2 to a 7 and it allowed the entry
of 7 digits, but the curious thing was if one dialed too fast, it would
fail, but if I dialed 6 digits, paused then dialed the 7th, the call
went where it should have.
I guess we both need to read more on "Read" ??
John Novack
> *From:* asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of
> *Alexander Lopez
> *Sent:* Friday, March 17, 2006 9:55 AM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* RE: [Asterisk-Users] DISA alternative
>
> You can do something like this:
>
> answer
>
> background(enter-number-wish-dial)
>
> Waitforexten(10)
>
> Dial({TECH}/${EXTEN}
>
> or
>
> Goto (outsidetruck,${EXTEN},1)
>
> where outsidetrunk is a context that checks te number and routes the call.
>
> ------------------------------------------------------------------------
>
> *From:* asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Jeremy
> *Sent:* Friday, March 17, 2006 9:00 AM
> *To:* asterisk-users at lists.digium.com
> *Subject:* [Asterisk-Users] (no subject)
>
> Does anyone have a DISA alternative? I currently use the line:
>
> / /
>
> /exten => s,16,DISA(no-password|from-internal)/
>
> however that just drops a user at a dial tone, what I would like
> to do is prompt user for number to dial, followed by the # key,
> and then have asterisk dial out. Can this be accomplished by the
> DIAL command?
>
> Reasons for doing this:
>
> Sounds better – more professional
>
> Ensure proper formatting of number
>
>
>
More information about the asterisk-users
mailing list