Skip to content

Commit

Permalink
misc/examples: fixed position of ] in log message from kemi examples
Browse files Browse the repository at this point in the history
- based on a reporte by GH #1324

(cherry picked from commit d9ca0f6)
  • Loading branch information
miconda committed Nov 27, 2017
1 parent 5ae1d7e commit 2541ea6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions misc/examples/kemi/kamailio-basic-kemi-jsdt.js
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions misc/examples/kemi/kamailio-basic-kemi-lua.lua
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion misc/examples/kemi/kamailio-basic-kemi-python.py
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2541ea6

Please sign in to comment.