Hack to emulate DISA

Crude hack to emulate DISA. It requires the user
to hit the # key when they are finished dialing.

[DISA_hack]
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,Authenticate(${DISA_password})
exten => s,4,Playtones(dial)
exten => s,5,Read(1stnumber,,1)
exten => s,6,StopPlaytones
exten => s,7,Read(restofnumber)
exten => s,8,Goto(default,${1stnumber}${restofnumber},1)

, , , ,

No comments yet.

Leave a Reply

*

Powered by recycled bites and bytes.