> I want to have call forwarding (from the POTS) > turned on at the close of work and turned off > automatically by *.I would have a look at GotoIfTime: http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime That should be much easier than a cron job Regards -Manuel ___________________________________________________ Ticinocom SA - Via Stazione 5 - 6600 Muralto Tel 0844 007070 - Fax 0844 007071 http://www.ticinocom.com
Manuel Wenger [manuel.wenger@ticinocom.com] wrote:> > I want to have call forwarding (from the POTS) > > turned on at the close of work and turned off > > automatically by *. > > I would have a look at GotoIfTime: > http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime > > That should be much easier than a cron job >I prefer the 'include' method, personally, as explained here: http://www.voip-info.org/wiki-Asterisk+tips+openhours the choice is yours. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
On Thu, Jul 01, 2004 at 03:58:25PM +0200, Manuel Wenger wrote:> > I want to have call forwarding (from the POTS) > > turned on at the close of work and turned off > > automatically by *. > > I would have a look at GotoIfTime: > http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime > > That should be much easier than a cron jobIt looks like this is just a conditional Goto and it will not spontaneously start a flow in a context. What I need is something that will, at a given time, act just like we picked up an internal extension and dialed a sequence of numbers. Thanks! -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot.
Michael George wrote:>On Thu, Jul 01, 2004 at 03:58:25PM +0200, Manuel Wenger wrote: > > >>>I want to have call forwarding (from the POTS) >>>turned on at the close of work and turned off >>>automatically by *. >>> >>> >>I would have a look at GotoIfTime: >>http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime >> >>That should be much easier than a cron job >> >> > >It looks like this is just a conditional Goto and it will not spontaneously >start a flow in a context. What I need is something that will, at a given >time, act just like we picked up an internal extension and dialed a sequence >of numbers. > >Thanks! > > >Then you definitely want to take a look a sample.call, use the cron job to create you own file.