[Serusers] route by time of the day?
Atle Samuelsen
clona at cyberhouse.no
Mon Nov 20 22:47:53 CET 2006
Hi,
* Andrei Pelinescu-Onciul <andrei at iptel.org> [061120 21:39]:
> On Nov 20, 2006 at 16:50, Ricardo Martinez <rmartinez at redvoiss.net> wrote:
> > Hello list.
> > I'm wondering if anyone has implemented a routing rule depending on the time of the day.
>
> None that I know of.
>
> > Is there a way to acomplish this?, maybe using AVP ? or something like that?
>
> You would need either a new module or you could perhaps modify lcr to
> take the date into account (should be easy).
Why not extend the avp-framework ? you could then do a
if($time>=1200){
route(1200)
}else{
route(else);
};
-A
>
>
> Andrei
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list