<p>After reading the purpose of the corex module, I think the idea can be changed to add a new function in the corex module which would do the same as the set_advertised_address, but accepting variables as parameters. Then there is no need to modify the old function.</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/2137?email_source=notifications&email_token=ABO7UZIXLAZC73P6PWRF4D3QVW6IHA5CNFSM4JO3F4Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH4PAA#issuecomment-558876544">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMTHJIIANV4LRRUVHLQVW6IHANCNFSM4JO3F4YQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOAN2UMW3SZL7AJBD3QVW6IHA5CNFSM4JO3F4Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH4PAA.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/2137?email_source=notifications\u0026email_token=ABO7UZIXLAZC73P6PWRF4D3QVW6IHA5CNFSM4JO3F4Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH4PAA#issuecomment-558876544",
"url": "https://github.com/kamailio/kamailio/issues/2137?email_source=notifications\u0026email_token=ABO7UZIXLAZC73P6PWRF4D3QVW6IHA5CNFSM4JO3F4Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH4PAA#issuecomment-558876544",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>