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


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
Sent: Friday, March 17, 2006 9:00 AM
To: [email protected]
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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to