Module: kamailio Branch: master Commit: d9ca0f6fcbd479dc82f75d301e43e45daf36a658 URL: https://github.com/kamailio/kamailio/commit/d9ca0f6fcbd479dc82f75d301e43e45d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-11-22T17:52:34+01:00
misc/examples: fixed position of ] in log message from kemi examples
- based on a reporte by GH #1324
---
Modified: misc/examples/kemi/kamailio-basic-kemi-jsdt.js Modified: misc/examples/kemi/kamailio-basic-kemi-lua.lua Modified: misc/examples/kemi/kamailio-basic-kemi-python.py Modified: misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
---
Diff: https://github.com/kamailio/kamailio/commit/d9ca0f6fcbd479dc82f75d301e43e45d... Patch: https://github.com/kamailio/kamailio/commit/d9ca0f6fcbd479dc82f75d301e43e45d...
---
diff --git a/misc/examples/kemi/kamailio-basic-kemi-jsdt.js b/misc/examples/kemi/kamailio-basic-kemi-jsdt.js index 5a051ad19f..9d6cbdc82b 100644 --- a/misc/examples/kemi/kamailio-basic-kemi-jsdt.js +++ b/misc/examples/kemi/kamailio-basic-kemi-jsdt.js @@ -342,8 +342,8 @@ function ksr_route_sipout() // equivalent of branch_route[...]{} function ksr_branch_manage() { - KSR.dbg("new branch [" + KSR.pv.get("$T_branch_idx]") - + " to " + KSR.pv.get("$ru") + "\n"); + KSR.dbg("new branch [" + KSR.pv.get("$T_branch_idx") + + "] to " + KSR.pv.get("$ru") + "\n"); ksr_route_natmanage(); return; } diff --git a/misc/examples/kemi/kamailio-basic-kemi-lua.lua b/misc/examples/kemi/kamailio-basic-kemi-lua.lua index e92f4ec995..ed973f171b 100644 --- a/misc/examples/kemi/kamailio-basic-kemi-lua.lua +++ b/misc/examples/kemi/kamailio-basic-kemi-lua.lua @@ -333,8 +333,8 @@ end -- Manage outgoing branches -- equivalent of branch_route[...]{} function ksr_branch_manage() - KSR.dbg("new branch [".. KSR.pv.get("$T_branch_idx]") - .. " to ".. KSR.pv.get("$ru") .. "\n"); + KSR.dbg("new branch [".. KSR.pv.get("$T_branch_idx") + .. "] to ".. KSR.pv.get("$ru") .. "\n"); ksr_route_natmanage(); return 1; end diff --git a/misc/examples/kemi/kamailio-basic-kemi-python.py b/misc/examples/kemi/kamailio-basic-kemi-python.py index fa3c4707d6..f692280959 100644 --- a/misc/examples/kemi/kamailio-basic-kemi-python.py +++ b/misc/examples/kemi/kamailio-basic-kemi-python.py @@ -343,7 +343,7 @@ def ksr_route_sipout(self, msg): # -- equivalent of branch_route[...]{} def ksr_branch_manage(self, msg): KSR.dbg("new branch ["+ str(KSR.pv.get("$T_branch_idx")) - + " to "+ KSR.pv.get("$ru") + "\n"); + + "] to "+ KSR.pv.get("$ru") + "\n"); self.ksr_route_natmanage(msg); return 1;
diff --git a/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq b/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq index 9bf6c81f7a..41146ab51d 100644 --- a/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq +++ b/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq @@ -347,7 +347,7 @@ function ksr_route_sipout() function ksr_branch_manage() { KSR.dbg("new branch [" + KSR.pv.get("$T_branch_idx") - + " to " + KSR.pv.get("$ru") + "\n"); + + "] to " + KSR.pv.get("$ru") + "\n"); ksr_route_natmanage(); return; }