All pastes #885 Raw Edit

open closed 4

public ini v1 · immutable
#885 ·published 2004-09-08 04:54 UTC
rendered paste body
[from-pstn]include => external-extensinclude => salesinclude => support[sales]; we are open from 6am to 5 pmexten => 5001,1,Answerexten => 5001,2,Wait(1)exten => 5001,3,NoOp()	;replace with GoTo to force sales-open or closedexten => 5001,4,GotoIfTime(6:00-17:00|mon-fri|*|*?sales-open,5001,1);;;;;;;;;;;;;;; begin holidays ;;;;;;;;;exten => 5001,5,GotoIfTime(*|*|25|12?sales-closed,5001,1) ; christmas;;;;;;;;;;;;;;; end holidays ;;;;;;;;;;;exten => 5001,6,Goto(sales-closed,5001,1)[sales-open]exten => 5001,1,Goto(salesq|s|1)[salesq]exten => s,1,Goto(5001)exten => 5001,1,Queue(salesq|nr|||15)exten => 5001,2,Voicemail(b5001)exten => 1,1,Voicemail(bsales)[sales-closed]exten => s,1,Background(sales-closed-6to530-leave-mesg)exten => s,2,Voicemail(u5001)exten => #,1,Voicemail(u5001)exten => 1,1,Voicemail(u5001)[support]; we are open from 5:30am to 7 pmexten => 5002,1,Answerexten => 5002,2,Wait(1)exten => 5002,3,NoOp() ;replace with GoTo to force sales-open or closedexten => 5002,4,GotoIfTime(5:30-19:00|mon-fri|*|*?support-open,s,1);;;;;;;;;;;;;;; begin holidays ;;;;;;;;;exten => 5002,5,GotoIfTime(*|*|25|12?support-closed,5001,1) ; christmas;;;;;;;;;;;;;;; end holidays ;;;;;;;;;;;exten => 5002,6,Goto(support-closed,5001,1)[support-open]exten => 5002,1,Goto(salesq,s,1)[supportq]exten => s,1,Goto(5002)exten => 5002,1,Queue(supportq|nr|||20)exten => 5002,2,Background(custom/custsrv-queue-press1-or-hold)exten => 5002,3,Queue(supportq)exten => 1,1,Voicemail(b5002)[support-closed]exten => 5002,1,Background(custsrv-closed-8to5-leave-mesg)exten => 5002,2,Voicemail(u5002)exten => #,1,Voicemail(u5002)exten => 1,1,Voicemail(u5002)