浏览代码

misc/examples/kemi/kamailio-basic-kemi-jsdt.js: match from uri myself with function

Daniel-Constantin Mierla 6 年之前
父节点
当前提交
856d2e03ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/examples/kemi/kamailio-basic-kemi-jsdt.js

+ 1 - 1
misc/examples/kemi/kamailio-basic-kemi-jsdt.js

@@ -247,7 +247,7 @@ function ksr_route_auth()
 		}
 		}
 	}
 	}
 
 
-	if (KSR.is_REGISTER() || KSR.is_myself(KSR.pv.get("$fu"))) {
+	if (KSR.is_REGISTER() || KSR.is_myself_furi()) {
 		// authenticate requests
 		// authenticate requests
 		if (KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0) {
 		if (KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0) {
 			KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);
 			KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);