pv_scriptvar2xavp(varname, xname)
Copy script variables values to a xavp.
First parameter can be '*' in order to copy all script variables.
Second parameter is the name of the destination xavp. If xavp already
exists it will be reset first.
Function can be used from ANY_ROUTE.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/309
-- Commit Summary --
* pv: scriptvar2xavp
* pv: refresh README
-- File Changes --
M modules/pv/README (58)
M modules/pv/doc/pv_admin.xml (31)
M modules/pv/pv.c (17)
M modules/pv/pv_svar.c (4)
M modules/pv/pv_svar.h (1)
M modules/pv/pv_xavp.c (61)
M modules/pv/pv_xavp.h (5)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/309.patchhttps://github.com/kamailio/kamailio/pull/309.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/309
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>