Hi Daniel,
We're currently porting the Perl Time::Period module
(
http://search.cpan.org/~pryan/Period-1.20/Period.pm) into a kamailio
function. This allows for powerful period definitions, which we'd export
as in_time_period("$TS", "<period definition>") into the config
file.
Would you mind renaming tmrec into something more generic like
time_utils and the existing function tmrec_match into ical_match or
something similar? We'd then integrate in_time_period() into this module
as well and push it to the repo, if there are no objections from you guys.
Andreas
On 01/11/2012 03:51 PM, Daniel-Constantin Mierla wrote:
Module: sip-router
Branch: master
Commit: bf692bcf4708e0c1d084bea8def9fc0d96d3f832
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf692bc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jan 11 15:50:24 2012 +0100
tmrec: new module for time recurrence matching
- recurrence definitions based on RFC2445
---
modules/tmrec/Makefile | 17 ++
modules/tmrec/README | 231 +++++++++++++++++++++++++++
modules/tmrec/doc/Makefile | 4 +
modules/tmrec/doc/tmrec.xml | 37 +++++
modules/tmrec/doc/tmrec_admin.xml | 311 +++++++++++++++++++++++++++++++++++++
modules/tmrec/tmrec_mod.c | 222 ++++++++++++++++++++++++++
6 files changed, 822 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=bf6…
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev