Browse Source

misc/examples: fixed position of ] in log message from kemi examples

- based on a reporte by GH #1324
Daniel-Constantin Mierla 7 years ago
parent
commit
d9ca0f6fcb

+ 2 - 2
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;
 }

+ 2 - 2
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

+ 1 - 1
misc/examples/kemi/kamailio-basic-kemi-python.py

@@ -343,7 +343,7 @@ class kamailio:
     # -- 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;
 

+ 1 - 1
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;
 }