<p></p>
<p>The <code>#subst</code> or <code>#!substdef</code> can be used to get values from vars like <code>$env(NAME)</code>. I master branch there is now <code>#!defenv</code>, see the core cookbook in the wiki for more details, or ask more specific questions on sr-users mailing list.</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/2585#issuecomment-745440095">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPRJCQKPETBILKCFUTSU6LPHANCNFSM4U3AYWJA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPDLEYTLO3ADD4VTTTSU6LPHA5CNFSM4U3AYWJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRXIGXY.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/2585#issuecomment-745440095",
"url": "https://github.com/kamailio/kamailio/issues/2585#issuecomment-745440095",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>