Skip to content

Commit

Permalink
kamailio: make some htable tables reboot-persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzccl authored and Kaian committed Apr 11, 2024
1 parent 49daf3b commit ea85dd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kamailio/trunks/config/kamailio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ modparam("pike", "remove_latency", 120)
modparam("htable", "htable", "ipban=>size=8;autoexpire=300")
#!endif
modparam("htable", "htable", "cgrconn=>size=1;")
modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;")
modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;dbmode=1")
modparam("htable", "enable_dmq", 1)

# UAC
Expand Down
4 changes: 2 additions & 2 deletions kamailio/users/config/kamailio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ modparam("htable", "htable", "ipban=>size=8;autoexpire=300")
#!endif

# dialogs htable contains aleg, bleg and applicationserver per dialog
modparam("htable", "htable", "dialogs=>size=10;autoexpire=10800")
modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;")
modparam("htable", "htable", "dialogs=>size=10;autoexpire=10800;dbmode=1")
modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;dbmode=1")
modparam("htable", "htable", "srcban=>size=8;autoexpire=43200")
modparam("htable", "htable", "badauthcnt=>size=8;autoexpire=43200")
modparam("htable", "htable", "aors=>size=10")
Expand Down

0 comments on commit ea85dd4

Please sign in to comment.