1 post / 0 new
voip
voip's picture
Joined: 2007/12/15
Points: 0

OK, I know this is super simple and anyone on the forum can write it but I thought I would add it here as I think it should be one of the basic included scripts with Thirdlane PBX and because it can come in handy.

Jim

;===========================
; silly little useful script
; real simple, it answers, plays welcome,
; lets you do an echo test, exiting with a #
; plays goodbye and hangs up
;===========================
exten => s,1,Answer()
exten => s,n,wait(.5)
exten => s,n,Playback(welcome)
exten => s,n,Playback(demo-echotest)
exten => s,n,Echo()
exten => s,n,Playback(demo-echodone)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup()