Module: kamailio Branch: master Commit: a3bedbea21e353231524a405d227b8878fd11d9b URL: https://github.com/kamailio/kamailio/commit/a3bedbea21e353231524a405d227b887...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-09-01T09:18:17+02:00
tmrec: updated the content of the readme file
---
Modified: modules/tmrec/README
---
Diff: https://github.com/kamailio/kamailio/commit/a3bedbea21e353231524a405d227b887... Patch: https://github.com/kamailio/kamailio/commit/a3bedbea21e353231524a405d227b887...
---
diff --git a/modules/tmrec/README b/modules/tmrec/README index 84b7a56..afee28b 100644 --- a/modules/tmrec/README +++ b/modules/tmrec/README @@ -16,7 +16,15 @@ Alex Balashov
+Edited by + +Richard Fuchs + + rfuchs@sipwise.com + Copyright © 2012 asipto.com + + Copyright © 2012 Sipwise GmbH __________________________________________________________________
Table of Contents @@ -138,7 +146,11 @@ modparam("tmrec", "separator", ";") subsequent intervals do not overlap. For non-recurring intervals, durations of any positive length are permitted. Zero-length duration means "forever". Negative-length durations are not - allowed. See RFC 2445 for the format of duration. + allowed. + See RFC 2445 for the format of duration. In short for common cases + when the duration doesn't exeed a data, it must start with PT + followed by the value for hours, minutes or seconds - e.g., a + duration of 8 hours must be written as PT8H. * frequency - can be one of the following values: "daily" - specify repeating periods based on an interval of a day or more; "weekly" - specify repeating periods based on an interval of a week or more; @@ -208,7 +220,7 @@ modparam("tmrec", "separator", ";")
Next is an example of evaluating multiple Byxxx parameters.
- startdate="20100101T093000" duration="10H30M" frequency="yearly" + startdate="20100101T093000" duration="PT10H30M" frequency="yearly" interval="4" bymonth="3" byday="SU"
First, the interval="4" would be applied to frequency="yearly" to match