Call number only between specified hours

Hello, again.

I got a problem with the function IFTIME

What I want to achieve is simple function, that add additional number if the time is after 4 pm.
This is how it works now:

exten=>1000,1,Answer
exten=>1000,2,Dial(SIP/XXXXXXXXXXX@Lync_Trunk&SIP/XXXXXXXXXXXX@Lync_Trunk&SIP/XXXXXXXXXXXX@Lync_Trunk,20,r,t,)
exten=>1000,3,hangup()

I want to, that after 4 pm. every day, a one additional number will be added to those numbers above, so the call will be forwarded to all 4 numbers, not only 3, like before 4 p.m.

How to do that ?

Try GotoIfTime.