Redirect in function of time

Hello, I am having a problem trying to modificate the extensions.conf, I want to redirect the incoming calls in function of the time of the calls, but I see in the cli> that the redirect works, but I get an error of “channel unavailable” that I do not get when I do a call directly. I attache the portion of the extensions.con in wich I think could be the problem. Anyone can help me? Thank you.

[to_isdn]
exten => _5757.,1,Dial(misdn/g:outgoing/${EXTEN:4},60,th)
exten => _4334.,1,Dial(misdn/g:outgoing/${EXTEN:4},60,th)
exten => _2321.,1,Dial(misdn/g:outgoing/${EXTEN:4},60,th)
exten => _2282.,1,Dial(misdn/g:outgoing/${EXTEN:4},60,th)
exten => _3712.,1,Dial(misdn/g:outgoing/${EXTEN:4},60,th)
exten => _1818.,1,Dial(misdn/g:outgoing/${EXTEN:4},60,th)

[from_isdn]
exten => s,1,GotoIfTime(13:00-8:00|mon-fri||?texto,s,1)
exten => s,2,Dial(SIP/recepcion4&SIP/recepcion5&SIP/recepcion6&SIP/recepcion1&SIP/recepcion2&SIP/recepcion3,60)
exten => s,3,Hangup

[texto]
exten=> s,1,Dial(misdn/g:outgoing/0034609024223},60,th)

I think the problem is in the bold portion. I need help, thank you.

Remove } from the end of the line.