<p></p>
<p>Then I still do not understand properly after your last comment.</p>
<p>Note that $rc can be updated by any kamailio action, so you should save its value in a $var(...) if you want to use it later. If you do an xlog(), after it the $rc is updated to the return of xlog().</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/issues/2802#issuecomment-886841189">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZN6ZOJIS3L3NFQH3YTTZWC55ANCNFSM5AV42Z5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPEPWTZUK4NIB6JJA3TZWC55A5CNFSM5AV42Z5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGTOB6ZI.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/issues/2802#issuecomment-886841189",
"url": "https://github.com/kamailio/kamailio/issues/2802#issuecomment-886841189",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>