<p></p>
<p>Try to load pv module before subsdef definitions. I haven't added this feature to know its constraints, but I see that the error is not finding $env()</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/2276#issuecomment-619986344">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZM6RYNTJSUL72ZDMQ3ROWCDXANCNFSM4MDE4KVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIALYXV5LOWC6FFN2TROWCDXA5CNFSM4MDE4KVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOET2D3KA.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/2276#issuecomment-619986344",
"url": "https://github.com/kamailio/kamailio/issues/2276#issuecomment-619986344",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>