Module: kamailio
Branch: master
Commit: 711144a1fa3e1dfa540cc7ccd0ce1c14faeba42f
URL:
https://github.com/kamailio/kamailio/commit/711144a1fa3e1dfa540cc7ccd0ce1c1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-01T14:18:02+02:00
drouting: notes about the format of duration attribute
---
Modified: modules/drouting/doc/drouting_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/711144a1fa3e1dfa540cc7ccd0ce1c1…
Patch:
https://github.com/kamailio/kamailio/commit/711144a1fa3e1dfa540cc7ccd0ce1c1…
---
diff --git a/modules/drouting/doc/drouting_admin.xml
b/modules/drouting/doc/drouting_admin.xml
index cebbe60..f3cffd9 100644
--- a/modules/drouting/doc/drouting_admin.xml
+++ b/modules/drouting/doc/drouting_admin.xml
@@ -469,7 +469,11 @@
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.
+ Negative-length durations are not allowed. In the common case of
+ a duration less than one day, the value starts with 'PT' followed by
+ number of hours, minutes and seconds, e.g., a duration of 8 hours
+ and 30 minutes is written 'PT8H30M'. See RFC 2445 DURATION
+ specifications for full format.
</para>
</listitem>
<listitem>
@@ -612,7 +616,7 @@
Here is an example of evaluating multiple Byxxx parameters.
</para>
<para>
- dtstart=<quote>19970105T083000</quote>
duration=<quote>10M</quote>
+ dtstart=<quote>19970105T083000</quote>
duration=<quote>PT10M</quote>
freq=<quote>yearly</quote> interval=<quote>2</quote>
bymonth=<quote>1</quote> byday=<quote>SU</quote>
</para>