kamailio-kemi: Declare global const instead of using namespace

This commit is contained in:
bonan 2019-03-17 17:23:27 +01:00
parent 7dd9133ef8
commit fcbefdf2df
No known key found for this signature in database
GPG Key ID: 00A2FF2CFDDB4DC1
2 changed files with 1289 additions and 1286 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,3 @@
import * as KSR from "kamailio-kemi";
function ksr_request_route() {
if (KSR.maxfwd.process_maxfwd(16) < 0) {
KSR.sl.send_reply(483, "Too Many Hops");