### Description
I have Kam207(192.168.100.207) and Kam208(192.168.100.208)
here is Kam207 route:
```cfg debug=2 log_stderror=yes
# mpath="/usr/local/lib/kamailio/modules/"
loadmodule "tm.so" loadmodule "sl.so" loadmodule "pv.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "ctl.so" loadmodule "textops.so" loadmodule "dmq.so" loadmodule "htable.so"
modparam("tm", "failure_reply_mode", 3) modparam("tm", "fr_timer", 30000) modparam("tm", "fr_inv_timer", 120000)
modparam("dmq", "server_address", "sip:192.168.100.207:5060") modparam("dmq", "notification_address", "sip:192.168.100.208:5060") modparam("dmq", "multi_notify", 1) modparam("dmq", "num_workers", 4) modparam("dmq", "ping_interval", 15)
modparam("htable", "htable", "bancc=>size=10;autoexpire=3600;dmqreplicate=1;") modparam("htable", "enable_dmq", 1) modparam("htable", "dmq_init_sync", 1)
request_route { # xinfo("*** $sel(msg)\n"); if(is_method("KDMQ")) { dmq_handle_message(); exit; } sl_send_reply("404", "Not here"); exit; } ```
and here is Kam208 route:
```cfg debug=2 log_stderror=yes
# mpath="/usr/local/lib/kamailio/modules/"
loadmodule "tm.so" loadmodule "sl.so" loadmodule "pv.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "ctl.so" loadmodule "textops.so" loadmodule "dmq.so" loadmodule "htable.so"
modparam("tm", "failure_reply_mode", 3) modparam("tm", "fr_timer", 30000) modparam("tm", "fr_inv_timer", 120000)
modparam("dmq", "server_address", "sip:192.168.100.208:5060") modparam("dmq", "notification_address", "sip:192.168.100.207:5060") modparam("dmq", "multi_notify", 1) modparam("dmq", "num_workers", 4) modparam("dmq", "ping_interval", 15)
modparam("htable", "htable", "bancc=>size=10;autoexpire=3600;dmqreplicate=1;") modparam("htable", "enable_dmq", 1) modparam("htable", "dmq_init_sync", 1)
request_route { # xinfo("*** $sel(msg)\n"); if(is_method("KDMQ")) { dmq_handle_message(); exit; } sl_send_reply("404", "Not here"); exit; } ```
at Kam207 run `kamcmd htable.seti bancc TW 1`
at Kam208 run `kamcmd htable.dump bancc`, and got:
``` { entry: 779 size: 1 slot: { { name: TW value: -2147483648 type: int } } } ```
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
``` kamailio 5.7.3 (x86_64/linux) ```
* **Operating System**:
<!-- Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...; Kernel details (output of `lsb_release -a` and `uname -a`) -->
``` Debian11 ```
Any updates on this?
Thanks.
I pushed a commit in master for it, the rpc value had to be read as long. Can you try and report if ok? It will be backported if fixes it.
it works, thanks.
Closed #3674 as completed.