[sr-dev] git:master:d2ceab17: modules: readme files regenerated - tmrec ... [skip ci]
Kamailio Dev
kamailio.dev at kamailio.org
Mon Jan 25 14:46:26 CET 2021
Module: kamailio
Branch: master
Commit: d2ceab179298c1b4263219ce63b7593d9419360f
URL: https://github.com/kamailio/kamailio/commit/d2ceab179298c1b4263219ce63b7593d9419360f
Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2021-01-25T14:46:18+01:00
modules: readme files regenerated - tmrec ... [skip ci]
---
Modified: src/modules/tmrec/README
---
Diff: https://github.com/kamailio/kamailio/commit/d2ceab179298c1b4263219ce63b7593d9419360f.diff
Patch: https://github.com/kamailio/kamailio/commit/d2ceab179298c1b4263219ce63b7593d9419360f.patch
---
diff --git a/src/modules/tmrec/README b/src/modules/tmrec/README
index 7da2a2e387..1939721ac0 100644
--- a/src/modules/tmrec/README
+++ b/src/modules/tmrec/README
@@ -306,11 +306,11 @@ if(is_leap_year("2010"))
Example 1.4. time_period_match usage
...
-if(time_period_match("wd{2-6} hr{8-16}, wd{1-5} hr{17} min{0-29}"))
+if(time_period_match("wd{2-6} hr{8-16}, wd{2-6} hr{17} min{0-29}"))
xdbg("Monday to Friday, 8:00 to 17:30\n");
-if(time_period_match("weekday { sat sun }, weekday {mo-fr} hr {17-8},wd{mo-wed}h
-r{15 16 9}"))
+if(time_period_match("wday { sat sun }, wday {mo-fr} hr {17-8},wd{mo-wed}hr{15 1
+6 9}"))
xdbg("We're closed - open only Monday to Wednesday 10:00-15:00, Thursday
and Friday 9:00-17:00");
...
More information about the sr-dev
mailing list