<p></p>
<p>As a generic, but important remark: whenever you make a pull request, first do a rebase and a fast-forward of the origin in your branch, otherwise older commits and unrelated show up in the pull requests. Like you see above commits related to cplc or pua_dialoginfo module.</p>
<p>Regarding the jwt commit, thanks for contributing, however I pushed a different approach to allow setting any numeric claims (grants). The jwt specs list other reserved names like not-before (nbf) with numeric values and actually there can be any other name with numeric values.</p>
<p>The <code>exp</code> can be added like:</p>
<pre><code>$var(exp) = $Ts + 600;
jwt_generate("/path/to/prvkey.pem", "RS256",
        "exp=$var(exp);caller='$fU';callee='$tU';callid='$ci'");
</code></pre>
<p>The README has more details about parameters format.</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/2722#issuecomment-831112348">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNMVZMH362TENNTHCDTLZN4RANCNFSM435SQMNQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIYOCJWFJL6XZ7DTZLTLZN4RA5CNFSM435SQMN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGGE4JHA.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/2722#issuecomment-831112348",
"url": "https://github.com/kamailio/kamailio/pull/2722#issuecomment-831112348",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>