[Freeswitch-users] Lua time condition

Gabriel Gunderson gabe at gundy.org
Mon Nov 7 21:39:33 MSK 2011


On Fri, Nov 4, 2011 at 7:13 AM,  <chrisbware at interfree.it> wrote:
> I'm a Lua newbie. I'd like to route an incoming call using a Lua script,
> according to time.

You might consider routing based on the current time before it hits
your script. I don't know if that's a good fit for your application,
but it's right up the dialplan's ally.

http://wiki.freeswitch.org/wiki/Dialplan_XML#Complex_Condition.2FAction_Rules

Good luck,
Gabe



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list