Module: kamailio
Branch: master
Commit: c736091237ea16ec1af7067e0f5e1190f314eb25
URL:
https://github.com/kamailio/kamailio/commit/c736091237ea16ec1af7067e0f5e119…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-25T10:43:04+02:00
misc/examples: fixed condition to check method UPDATE
---
Modified: misc/examples/kemi/kamailio-basic-kemi-jsdt.js
Modified: misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
---
Diff:
https://github.com/kamailio/kamailio/commit/c736091237ea16ec1af7067e0f5e119…
Patch:
https://github.com/kamailio/kamailio/commit/c736091237ea16ec1af7067e0f5e119…
---
diff --git a/misc/examples/kemi/kamailio-basic-kemi-jsdt.js
b/misc/examples/kemi/kamailio-basic-kemi-jsdt.js
index 03cbef1..733b759 100644
--- a/misc/examples/kemi/kamailio-basic-kemi-jsdt.js
+++ b/misc/examples/kemi/kamailio-basic-kemi-jsdt.js
@@ -89,7 +89,7 @@ function ksr_route_relay()
// - serial forking, RTP relaying handling, a.s.o.
var METHOD = KSR.pv.get("$rm");
if (METHOD=="INVITE" || METHOD=="BYE" ||
METHOD=="SUBSCRIBE"
- || METHOD="UPDATE") {
+ || METHOD=="UPDATE") {
if (KSR.tm.t_is_set("branch_route")<0) {
KSR.tm.t_on_branch("ksr_branch_manage");
}
diff --git a/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
b/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
index fc3fe78..3b0c4d3 100644
--- a/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
+++ b/misc/examples/kemi/kamailio-basic-kemi-sqlang.sq
@@ -90,7 +90,7 @@ function ksr_route_relay()
// - serial forking, RTP relaying handling, a.s.o.
local METHOD = KSR.pv.get("$rm");
if (METHOD=="INVITE" || METHOD=="BYE" ||
METHOD=="SUBSCRIBE"
- || METHOD="UPDATE") {
+ || METHOD=="UPDATE") {
if (KSR.tm.t_is_set("branch_route")<0) {
KSR.tm.t_on_branch("ksr_branch_manage");
}