<p></p>
<p dir="auto">Thanks for the tip to delete the failing module directory when building.</p>
<p dir="auto">I found the DMQ log lines appear to start with commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/80beb29ac0204697a8964231b441ac37866a4a1c/hovercard" href="https://github.com/kamailio/kamailio/commit/80beb29ac0204697a8964231b441ac37866a4a1c"><tt>80beb29</tt></a>. This hinted me to the fact that perhaps <code class="notranslate">insert_dlg_timer</code> was being called twice, and the problem might be due to my config self-referencing the local server in dmq.notification_address. For example:</p>
<pre class="notranslate"><code class="notranslate">modparam("dmq", "server_address", "sip:LOCAL_ADDRESS")
modparam("dmq", "notification_address", "sip:LOCAL_ADDRESS")
modparam("dmq", "notification_address", "sip:REMOTE_ADDRESS_1")
modparam("dmq", "notification_address", "sip:REMOTE_ADDRESS_2")
</code></pre>
<p dir="auto">I did this as my config file is dynamically generated based on shared metadata and it was easier to script. Just a note that the output of <code class="notranslate">kamcmd dmq.list_nodes</code> is the same with or without the self-referenced notification_address, so I assumed the self-reference was OK/ignored. My bad!</p>
<p dir="auto">I've removed the self-reference in my config and the errors have disappeared. I'd put the DMQ errors down to user error.</p>
<p dir="auto">The DB persistence problem remains with the above fix to my config, so I'll continue exploring and update here.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3218#issuecomment-1216480244">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKDXEN5S3FADNHRCVLVZNYBHANCNFSM56UGJ3BA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZPUYLAEFTI2B2TDFPLVZNYBHA5CNFSM56UGJ3BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJCBAH5A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3218/1216480244</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3218#issuecomment-1216480244",
"url": "https://github.com/kamailio/kamailio/issues/3218#issuecomment-1216480244",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>