[sr-dev] git:master: tmrec: new module for time recurrence matching

Andreas Granig agranig at sipwise.com
Thu Jan 12 00:40:53 CET 2012


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=bf692bcf4708e0c1d084bea8def9fc0d96d3f832
> 
> Author: Daniel-Constantin Mierla <miconda at gmail.com>
> Committer: Daniel-Constantin Mierla <miconda at 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=bf692bcf4708e0c1d084bea8def9fc0d96d3f832
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20120112/f507e577/attachment.pgp>


More information about the sr-dev mailing list