[sr-dev] git:5.2:1138bb1e: tmrec: fix typos in docs

Richard Fuchs rfuchs at sipwise.com
Mon Jan 25 14:45:18 CET 2021


Module: kamailio
Branch: 5.2
Commit: 1138bb1e81659e4e07502e4353aa8faee1dda877
URL: https://github.com/kamailio/kamailio/commit/1138bb1e81659e4e07502e4353aa8faee1dda877

Author: Richard Fuchs <rfuchs at sipwise.com>
Committer: Richard Fuchs <rfuchs at sipwise.com>
Date: 2021-01-25T08:44:52-05:00

tmrec: fix typos in docs

(cherry picked from commit 8be74b2fe0f59a9cef472b781feeae4cf3357bea)

---

Modified: src/modules/tmrec/doc/tmrec_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/1138bb1e81659e4e07502e4353aa8faee1dda877.diff
Patch: https://github.com/kamailio/kamailio/commit/1138bb1e81659e4e07502e4353aa8faee1dda877.patch

---

diff --git a/src/modules/tmrec/doc/tmrec_admin.xml b/src/modules/tmrec/doc/tmrec_admin.xml
index 2a3193c9dd..1bea2e9d7c 100644
--- a/src/modules/tmrec/doc/tmrec_admin.xml
+++ b/src/modules/tmrec/doc/tmrec_admin.xml
@@ -409,10 +409,10 @@ if(is_leap_year("2010"))
 		<title><function>time_period_match</function> usage</title>
 		<programlisting format="linespecific">
 ...
-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}hr{15 16 9}"))
+if(time_period_match("wday { sat sun }, wday {mo-fr} hr {17-8},wd{mo-wed}hr{15 16 9}"))
 	xdbg("We're closed - open only Monday to Wednesday 10:00-15:00, Thursday and Friday 9:00-17:00");
 ...
 </programlisting>




More information about the sr-dev mailing list