[Serusers] ser routing
Steven C. Blair
blairs at isc.upenn.edu
Thu Dec 11 13:33:39 CET 2008
> -----Original Message-----
> From: serusers-bounces at lists.iptel.org [mailto:serusers-
> bounces at lists.iptel.org] On Behalf Of Klaus Darilion
> Sent: Wednesday, December 10, 2008 3:50 PM
> To: Martin Hoffmann
> Cc: serusers at lists.iptel.org; Thomas Nilsen
> Subject: Re: [Serusers] ser routing
>
> Martin Hoffmann wrote:
> > Klaus Darilion wrote:
> >> Maybe the select framework epxorts a timestamp which can be
> evaluated.
> >> Unfortunately I could not find a documentation of the the available
> >> selects.
> >
> > I don't think so. You could try to use the Date header field, but
> this
> > isn't mandatory and may be spoofed.
> >
> > Other than that, using either lcr or, alternatively, mess with
> > user_attrs or uri_attrs is probably the only way to do this. The
> latter
> > doesn't need a reload or anything.
>
> Or soon: use the sip-router core with the pseudo variables (pv) module
> from Kamailio, then you can compare with $time():
> http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:devel#broken-
> down_time
>
> :-)
>
> regards
> klaus
[[scb]] I'm not sure if this helps but we do time-of-day routing. We have an external process which determines the time-of-day then updates call forwarding flags (in usr_preferences) based on the presence or absence of avp based flags. Perhaps this approach would help?
-Steve
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list