[asterisk-users] RES: GotoIftime

Cordeiro, Marco marco.cordeiro at globalstar.com.br
Wed Jul 30 15:07:07 CDT 2008


Hello Nhadie,

I had a very similar situation. My solution, even tough might not look very
wise, solved my problem the way I needed. 
I repeated the GotoIftime command in the next line in my extensions.conf . 
Like this: 

GotoIfTime(22:00-23:59|*|30|jul?test,s,1)
GotoIfTime(00:00-02:00|*|31|jul?test,s,1)

Rgs,

Marco Cordeiro

-----Mensagem original-----
De: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Em nome de Nhadie
Enviada em: quarta-feira, 30 de julho de 2008 16:47
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Assunto: [asterisk-users] GotoIftime

Hi

How cn i define in GotoIfTime from day 1 extending to day 2?

e.g July 30 2200 up to July 31 0200

I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1)

but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which 
looks like an invalid entry for the time.

is it possible in asterisk?

regards,
nhadie

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080730/ec977eb9/attachment.htm 


More information about the asterisk-users mailing list