Browse code

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

Daniel-Constantin Mierla authored on 06/12/2018 09:53:22
Showing 1 changed files
... ...
@@ -247,7 +247,7 @@ function ksr_route_auth()
247 247
 		}
248 248
 	}
249 249
 
250
-	if (KSR.is_REGISTER() || KSR.is_myself(KSR.pv.get("$fu"))) {
250
+	if (KSR.is_REGISTER() || KSR.is_myself_furi()) {
251 251
 		// authenticate requests
252 252
 		if (KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0) {
253 253
 			KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);