On 15 Sept 2022, at 10:58, Daniel-Constantin Mierla <miconda@gmail.com> wrote:


On 15.09.22 10:42, Olle E. Johansson wrote:


On 15 Sept 2022, at 10:28, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

<para>
+ IMPORTANT: DMQ must be used only between Kamailio instances having same
+ major version. Internal structures can be incompatible between different
+ major versions and can lead to crashes or unexpected behaviour.
+ </para>

Would it be possible to include a check in the actual DMQ protocol?

It's open source, someone just needs to write the C code.

Otherwise, right now, one could check in the config with the User-Agent header.

On the other hand, afaik, all the storage systems that do replication ensure compatibility only for the same version, and adding checks for each mirrored packet can add to the processing overhead and affect performances.

Agreed, adding mandatory CPU is not what we want. It could like many other things, be handled in the routing script.

Cheers,
/O