[asterisk-users] Gotoiftime help

troxlinux xserverlinux at gmail.com
Wed Dec 26 11:36:29 CST 2007


hello list, I am trying to arm an ivr for schedule of office and
outside of office

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no

[in]
include =>scheduleofservice|08:00-18:00|mon-fri|*|*


include =>outsideofschedule|18:00-23:59|*|*|*
include =>outsideofschedule|00:00-07:59|*|*|*
include =>outsideofschedule|*|sat-sun|*|*

[scheduleofservice]
exten =>110,1,Goto(cyber,110,1)

[outsideofschedule]
exten =>110,1,Dial(SIP/111,16,Tt)
exten =>110,2,hangup()
include => cyber

[cyber]
exten => 110,1,Answer()
exten => 110,2,Background(introm)
exten => 110,3,DigitTimeout,6
exten => 110,4,Dial(SIP/111,16,Tt)
exten => 110,5,hangup
exten => 0,1,playback(recepcion)
exten => 0,2,Dial(SIP/111,13,Tt)
exten => 0,3,Dial(SIP/112,12,Tt)
exten => 0,4,voicemail(u111)
exten => 0,5,hangup
exten => 1,1,Dial(IAX2/115)
exten => 1,2,hangup
exten => 2,1,playback(consultoria)
exten => 2,2,Dial(SIP/113,12,Tt)
exten => 2,3,voicemail(u113)
exten => 2,4,hangup
exten => 3,1,playback(gerencia)
exten => 3,2,Dial(SIP/112,12,Tt)
exten => 3,3,voicemail(u112)
exten => 3,4,hangup


[cyber]
include => internacionales
include => internas
include => locales
include => parkedcalls


I am trying that when they call me after the 6 pm, single ring the
secretary operator's extension, and that when they call me AM of 8:00
o'clock - 5:59 PM plays my main ivr "cyber"


but it doesn't work me!!

greetingss  ricky



More information about the asterisk-users mailing list