Scheduling and re-routing outbound calls for GSM gateway


I’m trying to schedule the outgoing calls with the fonction iftime, but in vain.

for exemple :

|Mon-fri|08:00-19:59| -> trunk gsm 1 else trunk gsm 2
|Mon-fri|19:59-22:00| & sat|08:00-22:00| -> trunk gsm 2 else trunk gsm 1

Does somebody have a solution.

Thank you.

Ps : sorry for my poor english.

this was just asked yesterday under a different heading. Time conditions are for inbound traffic not outbound.

To make this happen outbound see