Module: kamailio
Branch: master
Commit: e153d1039fda40e760d91f4895098a4d5908e1e8
URL:
https://github.com/kamailio/kamailio/commit/e153d1039fda40e760d91f4895098a4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-25T11:01:09+01:00
speeddial: docs - updated sample config, bits of formatting [skip ci]
---
Modified: src/modules/speeddial/doc/speeddial.cfg
Modified: src/modules/speeddial/doc/speeddial.xml
Modified: src/modules/speeddial/doc/speeddial_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/e153d1039fda40e760d91f4895098a4…
Patch:
https://github.com/kamailio/kamailio/commit/e153d1039fda40e760d91f4895098a4…
---
diff --git a/src/modules/speeddial/doc/speeddial.cfg
b/src/modules/speeddial/doc/speeddial.cfg
index 6dd4e6f0bf..4359c96160 100644
--- a/src/modules/speeddial/doc/speeddial.cfg
+++ b/src/modules/speeddial/doc/speeddial.cfg
@@ -1,6 +1,4 @@
#
-# $Id$
-#
# sample config script to use speeddial module
#
@@ -12,23 +10,19 @@ rev_dns=no # (cmd. line: -R)
# ------------------ module loading ----------------------------------
-loadmodule "/usr/local/lib/kamailio/modules/sl.so"
-loadmodule "/usr/local/lib/kamailio/modules/tm.so"
-loadmodule "/usr/local/lib/kamailio/modules/rr.so"
-loadmodule "/usr/local/lib/kamailio/modules/maxfwd.so"
-loadmodule "/usr/local/lib/kamailio/modules/usrloc.so"
-loadmodule "/usr/local/lib/kamailio/modules/registrar.so"
-loadmodule "/usr/local/lib/kamailio/modules/textops.so"
-loadmodule "/usr/local/lib/kamailio/modules/mysql.so"
-loadmodule "/usr/local/lib/kamailio/modules/speeddial.so"
-loadmodule "/usr/local/lib/kamailio/modules/mi_fifo.so"
+loadmodule "sl.so"
+loadmodule "tm.so"
+loadmodule "rr.so"
+loadmodule "maxfwd.so"
+loadmodule "usrloc.so"
+loadmodule "registrar.so"
+loadmodule "textops.so"
+loadmodule "mysql.so"
+loadmodule "speeddial.so"
+loadmodule "jsonrpcs.so"
# ----------------- setting module-specific parameters ---------------
-# -- mi_fifo params --
-
-modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
-
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
@@ -48,11 +42,6 @@ route{
sl_send_reply("483","Too Many Hops");
exit;
};
- if (msg:len >= max_len )
- {
- sl_send_reply("513", "Message too big");
- exit;
- };
if (!method=="REGISTER") record_route();
diff --git a/src/modules/speeddial/doc/speeddial.xml
b/src/modules/speeddial/doc/speeddial.xml
index 9519a217eb..5d85cd1d78 100644
--- a/src/modules/speeddial/doc/speeddial.xml
+++ b/src/modules/speeddial/doc/speeddial.xml
@@ -35,8 +35,7 @@
</copyright>
</bookinfo>
<toc></toc>
-
+
<xi:include href="speeddial_admin.xml"/>
-
-
+
</book>
diff --git a/src/modules/speeddial/doc/speeddial_admin.xml
b/src/modules/speeddial/doc/speeddial_admin.xml
index 9cb81d5c06..bb80b62211 100644
--- a/src/modules/speeddial/doc/speeddial_admin.xml
+++ b/src/modules/speeddial/doc/speeddial_admin.xml
@@ -10,9 +10,9 @@
<!-- Module User's Guide -->
<chapter
xmlns:xi="http://www.w3.org/2001/XInclude">
-
+
<title>&adminguide;</title>
-
+
<section>
<title>Overview</title>
<para>