<p>I consider it should be merged as well: there is no relevant need to have a log message other than debug to confirm one or the other goal of the function -- in this case the function is to detect if a destinations group exists or not, by returning appropriate code in each case, so custom log messages can be printed in config routing blocks.</p>
<p>Anyhow, to differentiate between error and not found, I will change a bit the return codes. So, I am going to close this one and push a slightly different commit soon.</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/2099?email_source=notifications&email_token=ABO7UZNVESFT4KYMY63VIY3QPFJW3A5CNFSM4I7TDWEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBS4G2A#issuecomment-543540072">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJX4EXEVEDFLHBZJRDQPFJW3ANCNFSM4I7TDWEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKZKJ2XOBN5VTCXPJDQPFJW3A5CNFSM4I7TDWEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBS4G2A.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/2099?email_source=notifications\u0026email_token=ABO7UZNVESFT4KYMY63VIY3QPFJW3A5CNFSM4I7TDWEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBS4G2A#issuecomment-543540072",
"url": "https://github.com/kamailio/kamailio/pull/2099?email_source=notifications\u0026email_token=ABO7UZNVESFT4KYMY63VIY3QPFJW3A5CNFSM4I7TDWEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBS4G2A#issuecomment-543540072",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>