Module: kamailio
Branch: master
Commit: 96642c19fa0fb135d9c0bb30d35834b7938c668d
URL: https://github.com/kamailio/kamailio/commit/96642c19fa0fb135d9c0bb30d35834b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2020-11-23T21:17:59+01:00
misc/tools/kemi: lua - fixed typos in readme
---
Modified: misc/tools/kemi/lua/README.md
---
Diff: https://github.com/kamailio/kamailio/commit/96642c19fa0fb135d9c0bb30d35834b…
Patch: https://github.com/kamailio/kamailio/commit/96642c19fa0fb135d9c0bb30d35834b…
---
diff --git a/misc/tools/kemi/lua/README.md b/misc/tools/kemi/lua/README.md
index 41fa5e8694..8847c810f7 100644
--- a/misc/tools/kemi/lua/README.md
+++ b/misc/tools/kemi/lua/README.md
@@ -71,9 +71,9 @@ Other external tools useful to check the Lua scripts.
### luac ###
The `luac` (the Lua compiler) can be used with parameter `-p` to check for
-syntax errors (e.g., missing closing quote or parenthesis).:w
+syntax errors (e.g., missing closing quote or parenthesis).
-Example - when there is a missing closing quite, like:
+Example - when there is a missing closing quote, like:
```
KSR.hdr.remove("Route);
Module: kamailio
Branch: master
Commit: 3f4e589973ff7746611242f50d14eb990b2efa3f
URL: https://github.com/kamailio/kamailio/commit/3f4e589973ff7746611242f50d14eb9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2020-11-23T19:44:08+01:00
misc/tools/kemi: lua - full file name for kemiluacheck tool
---
Modified: misc/tools/kemi/lua/README.md
---
Diff: https://github.com/kamailio/kamailio/commit/3f4e589973ff7746611242f50d14eb9…
Patch: https://github.com/kamailio/kamailio/commit/3f4e589973ff7746611242f50d14eb9…
---
diff --git a/misc/tools/kemi/lua/README.md b/misc/tools/kemi/lua/README.md
index de2a7b814c..41fa5e8694 100644
--- a/misc/tools/kemi/lua/README.md
+++ b/misc/tools/kemi/lua/README.md
@@ -2,7 +2,7 @@
Tools useful for using Kamailio with KEMI Lua scripts.
-## kemiksrlib ##
+## kemiksrlib.py ##
Generates the file `KSR.lua` with skeleton functions in the `KSR` object. The
function parameters are prefixed with `p_` and the functions return:
@@ -85,4 +85,4 @@ the check results in:
luac -p kamailio-basic-kemi-lua.lua
luac: kamailio-basic-kemi-lua.lua:100: unfinished string near '"Route);'
-```
\ No newline at end of file
+```
### Description
When a new version in released, built and made available it'll be great to preserve at least one previous build.
E.g. for Ubuntu/Debian repos:
deb http://deb.kamailio.org/kamailio53 bionic main
deb-src http://deb.kamailio.org/kamailio53 bionic main
As of today these repos have 5.3.7 builds only. It not possible to downgrade to a previous version 5.3.6 using native
package management tools.
### Expected behaviour
apt list -a kamailio
...have kamailio 5.3.6 option here...
apt install kamailio=5.3.6+ubuntu18.04
#### Actual observed behaviour
apt list -a kamailio
Listing... Done
kamailio/unknown,now 5.3.7+ubuntu18.04 amd64 [installed]
kamailio/bionic 5.1.2-1ubuntu2 amd64
#### Other notes
This will be helpful in cases when quick downgrade is required. After the last upgrade to 5.3.7 by some reason Kamailio stopped processing ACKs after the call was answered and 200 OK was sent. We had to rebuild 5.3.6 from sources and rollback to our build to restore the service. I'll try to figure out what was the issue and provide more details in a separate issue.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2557
Module: kamailio
Branch: master
Commit: 454c4653409a69ef115de5ee748524d36e147246
URL: https://github.com/kamailio/kamailio/commit/454c4653409a69ef115de5ee748524d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-11-23T10:10:55+01:00
etc/kamailio.cfg: split to filter on both friendly and scanner
- some scanning scripts use a different format for the user agent
---
Modified: etc/kamailio.cfg
---
Diff: https://github.com/kamailio/kamailio/commit/454c4653409a69ef115de5ee748524d…
Patch: https://github.com/kamailio/kamailio/commit/454c4653409a69ef115de5ee748524d…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 29af152df7..2cf02d995b 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -615,7 +615,7 @@ route[REQINIT] {
}
}
#!endif
- if($ua =~ "friendly-scanner|sipcli|sipvicious|VaxSIPUserAgent") {
+ if($ua =~ "friendly|scanner|sipcli|sipvicious|VaxSIPUserAgent") {
# silent drop for scanners - uncomment next line if want to reply
# sl_send_reply("200", "OK");
exit;