Hello!

I noticed that there are differences in the DMQ htable replication protocol for the old version of Kamailio 5.2 and the new 5.7.
For example, the new version uses action 2 when updating values and action 4 to remove.
The old Kamailio version uses the values 1 and 3 respectively.

Well, as a result, the htable data is not shared between such nodes, plus there are errors in the syslog of the old version:
ERROR: htable [ht_dmq.c:328]: ht_dmq_handle_msg(): failed to replay action

It would probably be worth introducing some kind of DMQ htable protocol versioning to maintain compatibility?
And is there any option to make them work together (I wouldn’t really want to change the action number in sip/sdp/json on the fly)?

Kamialio 5.2
{"action":1,"htname":"shared","cname":"user","type":2,"strval":"uri","mode":1}
{"action":3,"htname":"shared","cname":"user","mode":0}

Kamailio 5.7
{"action":2,"htname":"shared","cname":"user","type":2,"strval":"uri","mode":1}
{"action":4,"htname":"shared","cname":"user","mode":0}
--

BR,
Denys Pozniak