Erik Wartusch
2008-Jan-02 10:45 UTC
[asterisk-users] Asterisk dialplan date and time operations
Hi all, Im using Asterisk 1.4.11 and I want to proceed some time and date operations in my dial plan. (for a time shifted callback). Should look like: CURRENT TIME + x minutes. Of course it should increase the hours for example in this case: 10.59 + 5 minutes = 11.04 I guess I've to use the math function in 1.4 but how can I manage easily the time operations? Kind Regards, Erik
Doug Lytle
2008-Jan-02 12:23 UTC
[asterisk-users] Asterisk dialplan date and time operations
Erik Wartusch wrote:> Hi all, > > Im using Asterisk 1.4.11 and I want to proceed some time and date operations > in my dial plan. (for a time shifted callback). >If you'll be using call files to do this, you can 'touch' them to a future date and Asterisk will not act on them until that date is reached. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
dave cantera
2008-Jan-02 15:02 UTC
[asterisk-users] Asterisk dialplan date and time operations
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffcc" text="#330000"> erik,<br> you can start here:<br> <a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime">http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime</a><br> <a class="moz-txt-link-freetext" href="http://www.asteriskguru.com/tutorials/gotoiftime.html">http://www.asteriskguru.com/tutorials/gotoiftime.html</a><br> daveC<br> <br> Erik Wartusch wrote: <blockquote cite="mid:200801021145.38191.we@deuromedia.at" type="cite"> <pre wrap="">Hi all, Im using Asterisk 1.4.11 and I want to proceed some time and date operations in my dial plan. (for a time shifted callback). Should look like: CURRENT TIME + x minutes. Of course it should increase the hours for example in this case: 10.59 + 5 minutes = 11.04 I guess I've to use the math function in 1.4 but how can I manage easily the time operations? Kind Regards, Erik _______________________________________________ --Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="132">-- My wife's sister is in California. I should buy her a Videophone2008! Truly, The Next Best Thing to Being There! -- WorldWideVideoPhones.com 856.380.0894 </pre> </body> </html>