[Asterisk-Users] Extensions.conf?

Seth Remington sremington at saberlogic.com
Mon Oct 11 11:17:00 MST 2004


On Mon, 2004-10-11 at 13:57, Jeff Owen wrote:
> I’m in need of a pointer….
> 
>  
> 
> If I want to have based on a caller id, allow incoming calls to be
> prompted for a “pin” then allow the caller to call back out another
> available line to the number dialed after the “pin” was entered, how
> would I accomplish that in *?
> 
>  
> 
> Basically I can’t call long distance from work and want to call home,
> enter a pin and then call wherever I want.
> 
>  
> 
> I currently have a PSTN interface and a BV connection as well as
> IConnectHere.

You can use a combination of the anti ex-girlfriend feature and DISA
like so...

exten => s/XXXXXXXXXX,1,Answer
exten => s/XXXXXXXXXX,2,DigitTimeout,5
exten => s/XXXXXXXXXX,3,ResponseTimeout,10
exten => s/XXXXXXXXXX,4,Authenticate(XXXXX)
exten => s/XXXXXXXXXX,5,DISA,no-password|mycontext

Replace the XXXXX's with the appropriate CID number and PIN and DISA
will give you a dial tone from within the context that you pass to it.
Just make sure you secure it enough that you feel comfortable against
unwanted access.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559




More information about the asterisk-users mailing list