<p>I did the fix but I think the implementation as it was it's a little broken. That is because you can trace only to database using sip_trace with no arguments, but you can't trace only to database if using correlation_id(this was the case in previous versions). With the new additions you can't trace a dialog only to database. I respected previous implementation, that's why duplicate URI was mandatory, but this check is skipped if sip_trace is used with 0 or 1 argument, which I didn't notice.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/1951?email_source=notifications&email_token=ABO7UZMVXBUE3CLAX7VUKGTPVFZRFA5CNFSM4HMQF6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIODBY#issuecomment-491839879">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMKU7FVZZCUM26FI3DPVFZRFANCNFSM4HMQF6GA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZKFDDCHRSBWUIOEBE3PVFZRFA5CNFSM4HMQF6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIODBY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1951?email_source=notifications\u0026email_token=ABO7UZMVXBUE3CLAX7VUKGTPVFZRFA5CNFSM4HMQF6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIODBY#issuecomment-491839879",
"url": "https://github.com/kamailio/kamailio/pull/1951?email_source=notifications\u0026email_token=ABO7UZMVXBUE3CLAX7VUKGTPVFZRFA5CNFSM4HMQF6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIODBY#issuecomment-491839879",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>