This website works better with JavaScript.
Home
Explore
Help
Sign In
ruhnet
/
kazoo-configs-kamailio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
183
Wiki
Activity
Browse Source
add index to dispatcher
4.3
lazedo
7 years ago
committed by
Luis Azedo
parent
29b6983db5
commit
02125e77a6
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
kamailio/db_scripts/db_kazoo-specific
+ 2
- 0
kamailio/db_scripts/db_kazoo-specific
View File
@ -67,6 +67,8 @@ CREATE TABLE active_watchers_log (
cast(substr(attrs, instr(attrs, "idx=")+4, instr(attrs, ";node")-instr(attrs, "idx=")-4) as integer) idx,
cast(substr(attrs, instr(attrs, "idx=")+4, instr(attrs, ";node")-instr(attrs, "idx=")-4) as integer) idx,
cast(substr(attrs, instr(attrs, "node=")+5) as varchar(50)) node
cast(substr(attrs, instr(attrs, "node=")+5) as varchar(50)) node
from dispatcher;
from dispatcher;
create unique index if not exists idx_dispatcher_destination on dispatcher(destination);
EOF
EOF
}
}
Write
Preview
Loading…
Cancel
Save