Re: [Freeswitch-users] Business/holiday hours routing

2009-11-26 Thread Andrew Thompson
On Wed, Nov 25, 2009 at 11:21:25AM -0700, Adam Ford wrote: Awesome, thanks Andrew, I will have to keep an eye out for that patch. Here's my patch in its (probably) final form. http://eagle.bsd.st/~andrew/mweek2.diff It includes a usage example that covers all but 2 of the US federal holidays

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-25 Thread Adam Ford
:45 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Business/holiday hours routing On Mon, Nov 23, 2009 at 08:17:46PM -0600, Brian West wrote: He's working on it for SVN... I recommended the format and to add the phases of the moon and zodiac signs just for giggles

[Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Adam Ford
Is there a standard module for FreeSWITCH out there that people use for routing calls based on business hours and a holiday schedule? Or is everyone just creating their own in the XML dialplan?(which seems pretty simple) I can't seem to find anything on the wiki, but might just be searching

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Seven Du
XML has basic conditioning, but lua rocks. -- Time condition for sales 1 --session:setAutoHangup(false) function do_transfer(extn) --print(extn) session:transfer(extn, XML, sales) end now = os.date(%H:%M) w = tonumber(os.date(%w)) if w = 1 and w =5 then if ( now = 09:00

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Brian West
Please see default.xml dialplan at the top in SVN. /b On Nov 23, 2009, at 7:26 PM, Adam Ford wrote: Is there a standard module for FreeSWITCH out there that people use for routing calls based on business hours and a holiday schedule? Or is everyone just creating their own in the XML

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Andrew Thompson
On Mon, Nov 23, 2009 at 06:26:47PM -0700, Adam Ford wrote: Is there a standard module for FreeSWITCH out there that people use for routing calls based on business hours and a holiday schedule? Or is everyone just creating their own in the XML dialplan?(which seems pretty simple) I

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Adam Ford
? -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Andrew Thompson Sent: Monday, November 23, 2009 6:48 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Business/holiday hours routing

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Brian West
He's working on it for SVN... I recommended the format and to add the phases of the moon and zodiac signs just for giggles. /b On Nov 23, 2009, at 8:13 PM, Adam Ford wrote: Andrew - that does sound like a useful patch, is it in svn or unpublished?

Re: [Freeswitch-users] Business/holiday hours routing

2009-11-23 Thread Andrew Thompson
On Mon, Nov 23, 2009 at 08:17:46PM -0600, Brian West wrote: He's working on it for SVN... I recommended the format and to add the phases of the moon and zodiac signs just for giggles. I'll probably get a patch in this week (or early next) I'm thinking of changing the format so that week of