<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/mtryfoss/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mtryfoss">@mtryfoss</a>: regarding the subst, probably it does the job with ipv4, however in regexp <code>.</code> is matching any char, if you want to restrict it to match <code>.</code> as a char, one way is to enclose it inside square brackets, like:</p>
<pre><code>subst("/;alias=[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+~[0-9]+~[0-9]+//g");
</code></pre>

<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/2308#issuecomment-623464131">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKVHG6WTNEFQAACVXDRP27LLANCNFSM4MTDH5KA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPMWPWCBN3CHAYXDW3RP27LLA5CNFSM4MTDH5KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEUUU5QY.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/2308#issuecomment-623464131",
"url": "https://github.com/kamailio/kamailio/issues/2308#issuecomment-623464131",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>