<p>Looking once again at the code, the function can set the value in any (pseduo-)variable, not only in AVP, right? Because it is using pv->setf() function, not the AVP specific functions.</p>
<p>Do you want to restrict to writing to AVP or it is fine writing to any variable?</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/2124?email_source=notifications&email_token=ABO7UZMUYBEEGAI6EUUYJ2TQUKCZFA5CNFSM4JKWMD52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEKIWRY#issuecomment-554994503">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLM45HOVGTKXHMDSB3QUKCZFANCNFSM4JKWMD5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZP6RWSOPNK3PSH6BE3QUKCZFA5CNFSM4JKWMD52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEKIWRY.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/2124?email_source=notifications\u0026email_token=ABO7UZMUYBEEGAI6EUUYJ2TQUKCZFA5CNFSM4JKWMD52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEKIWRY#issuecomment-554994503",
"url": "https://github.com/kamailio/kamailio/pull/2124?email_source=notifications\u0026email_token=ABO7UZMUYBEEGAI6EUUYJ2TQUKCZFA5CNFSM4JKWMD52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEKIWRY#issuecomment-554994503",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>