[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-users
Subject:    [asterisk-users] RES:  GotoIftime
From:       "Cordeiro, Marco" <marco.cordeiro () globalstar ! com ! br>
Date:       2008-07-30 20:07:07
Message-ID: AD270054D26BD41193D100062950975A0CD5093B () svrj01 ! br ! globalstar ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@lists.digium.com
[mailto:asterisk-users-bounces@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

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RES: [asterisk-users] GotoIftime</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hello Nhadie,</FONT>
</P>

<P><FONT SIZE=2>I had a very similar situation. My solution, even tough might not \
look very wise, solved my problem the way I needed. </FONT> <BR><FONT SIZE=2>I \
repeated the GotoIftime command in the next line in my extensions.conf . </FONT> \
<BR><FONT SIZE=2>Like this: </FONT> </P>

<P><FONT SIZE=2>GotoIfTime(22:00-23:59|*|30|jul?test,s,1)</FONT>
<BR><FONT SIZE=2>GotoIfTime(00:00-02:00|*|31|jul?test,s,1)</FONT>
</P>

<P><FONT SIZE=2>Rgs,</FONT>
</P>

<P><FONT SIZE=2>Marco Cordeiro</FONT>
</P>

<P><FONT SIZE=2>-----Mensagem original-----</FONT>
<BR><FONT SIZE=2>De: asterisk-users-bounces@lists.digium.com [<A \
HREF="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</A>] \
Em nome de Nhadie</FONT> <BR><FONT SIZE=2>Enviada em: quarta-feira, 30 de julho de \
2008 16:47</FONT> <BR><FONT SIZE=2>Para: Asterisk Users Mailing List - Non-Commercial \
Discussion</FONT> <BR><FONT SIZE=2>Assunto: [asterisk-users] GotoIftime</FONT>
</P>

<P><FONT SIZE=2>Hi</FONT>
</P>

<P><FONT SIZE=2>How cn i define in GotoIfTime from day 1 extending to day 2?</FONT>
</P>

<P><FONT SIZE=2>e.g July 30 2200 up to July 31 0200</FONT>
</P>

<P><FONT SIZE=2>I'm thinking like this: \
GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1)</FONT> </P>

<P><FONT SIZE=2>but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 \
which </FONT> <BR><FONT SIZE=2>looks like an invalid entry for the time.</FONT>
</P>

<P><FONT SIZE=2>is it possible in asterisk?</FONT>
</P>

<P><FONT SIZE=2>regards,</FONT>
<BR><FONT SIZE=2>nhadie</FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>-- Bandwidth and Colocation Provided by <A \
HREF="http://www.api-digital.com" TARGET="_blank">http://www.api-digital.com</A> \
--</FONT> </P>

<P><FONT SIZE=2>AstriCon 2008 - September 22 - 25 Phoenix, Arizona</FONT>
<BR><FONT SIZE=2>Register Now: <A HREF="http://www.astricon.net" \
TARGET="_blank">http://www.astricon.net</A></FONT> </P>

<P><FONT SIZE=2>asterisk-users mailing list</FONT>
<BR><FONT SIZE=2>To UNSUBSCRIBE or update options visit:</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; <A \
HREF="http://lists.digium.com/mailman/listinfo/asterisk-users" \
TARGET="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT> \
</P>

</BODY>
</HTML>



_______________________________________________
-- 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic