hi,
I’m trying to setup Gotoiftime…but it’s not working
if you look at the extensions.conf, from Mon to FRI 17:31 to 9:29 the calls goes to exten => _5555555555,4,Ringing which is working fine…
but then depending on the time, I want to transfer the call to different users…
so from 17:31 to 19:30 to xxxxxxxx
from 19:31 to 9:29 to xxxxxxxxx
the way I did, doesn’t work… maybe because of the overlap. it always calling exten => _5555555555,10,Dial(Zap/g2/866666666,20,m)
can some one help me with this please?
exten => _5555555555,1,GotoIfTime(17:31-9:29|mon-fri|*|*?4:2)
exten => _5555555555,2,Dial(Zap/g2/8888888888)
exten => _5555555555,3,Answer
exten => _5555555555,4,Ringing
exten => _5555555555,5,Wait(4)
exten => _5555555555,6,Background(285544)
exten => _5555555555,7,Wait(5)
exten => _5555555555,8,SetCIDNum(3333333333)
exten => _5555555555,9,GotoIfTime(17:31-19:30|*|*|*?10:2)
exten => _5555555555,10,Dial(Zap/g2/866666666,20,m)
exten => _5555555555,11,GotoIfTime(19:31-9:29|*|*|*?12:2)
exten => _5555555555,12,Dial(Zap/g2/877777777,10,m)
exten => _5555555555,13,Dial(Zap/g2/6666666666,20,m&Zap/g2/7777777777,20,m&Zap/g2/9999999999,20,m)
thanks