<h3>Description</h3>
<p><strong>Use case</strong></p>
<p>Kamailio installed in AWS cloud.<br>
Exist phones located in internet and exist phones connected via VPN.<br>
As option, also may exist phones connected via docker VxLAN or any other Kubernetes providers.</p>
<p>I want use same <code>listen</code> for all this connections types.<br>
Need to <code>advertise</code> different IP for each connection type.</p>
<p>Could you add ability advertise different IP using ACL info.<br>
As example</p>
<pre><code>listen=udp:eth0:5060 advertise 192.168.34.34:5060 for_acl 0
listen=udp:eth0:5060 advertise 172.16.20.41:5060 for_acl 1
listen=udp:eth0:5060 advertise 10.14.11.4:5060 for_acl 2
listen=udp:eth0:5060 advertise 52.24.22.57:5060
</code></pre>
<h3>Expected behavior</h3>
<p>Kamailio will apply different  <code>advertise</code> option dependent of source IP of incoming packet.</p>
<h4>Actual observed behavior</h4>
<p>Listener support only one <code>advertise</code> param.</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/2131?email_source=notifications&email_token=ABO7UZLNW5KNQWREB6IR6P3QT2DRZA5CNFSM4JNZVTEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZS2AYQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMLSFNBZ3S35CW7QRDQT2DRZANCNFSM4JNZVTEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNQTY6ISC3QNPHHRG3QT2DRZA5CNFSM4JNZVTEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZS2AYQ.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/2131?email_source=notifications\u0026email_token=ABO7UZLNW5KNQWREB6IR6P3QT2DRZA5CNFSM4JNZVTEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZS2AYQ",
"url": "https://github.com/kamailio/kamailio/issues/2131?email_source=notifications\u0026email_token=ABO7UZLNW5KNQWREB6IR6P3QT2DRZA5CNFSM4JNZVTEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZS2AYQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>