Module: kamailio
Branch: master
Commit: 81006ee1246b8f700ce9ce20814d4522780d7ceb
URL:
https://github.com/kamailio/kamailio/commit/81006ee1246b8f700ce9ce20814d452…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-01T09:17:39+02:00
tmrec: more details about duration format for time recurrences
---
Modified: modules/tmrec/doc/tmrec_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/81006ee1246b8f700ce9ce20814d452…
Patch:
https://github.com/kamailio/kamailio/commit/81006ee1246b8f700ce9ce20814d452…
---
diff --git a/modules/tmrec/doc/tmrec_admin.xml b/modules/tmrec/doc/tmrec_admin.xml
index c70bdb2..b791226 100644
--- a/modules/tmrec/doc/tmrec_admin.xml
+++ b/modules/tmrec/doc/tmrec_admin.xml
@@ -126,9 +126,14 @@ modparam("tmrec", "separator", ";")
For a recurring interval, the <quote>duration</quote> parameter MUST
be small enough such that subsequent intervals do not overlap.
For non-recurring intervals, durations of any positive length are
- permitted. Zero-length duration means <quote>forever</quote>.
- Negative-length durations are not allowed. See RFC 2445 for
- the format of duration.
+ permitted. Zero-length duration means <quote>forever</quote>.
+ Negative-length durations are not allowed.
+ </para>
+ <para>
+ 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.
</para>
</listitem>
<listitem>
@@ -253,7 +258,7 @@ modparam("tmrec", "separator", ";")
Next is an example of evaluating multiple Byxxx parameters.
</para>
<para>
- startdate=<quote>20100101T093000</quote>
duration=<quote>10H30M</quote>
+ startdate=<quote>20100101T093000</quote>
duration=<quote>PT10H30M</quote>
frequency=<quote>yearly</quote> interval=<quote>4</quote>
bymonth=<quote>3</quote> byday=<quote>SU</quote>
</para>