[sr-dev] [kamailio/kamailio] listen advertise using ACL (#2131)

sergey-safarov notifications at github.com
Fri Nov 15 12:44:28 CET 2019


### Description

**Use case**

Kamailio installed in AWS cloud.
Exist phones located in internet and exist phones connected via VPN.
As option, also may exist phones connected via docker VxLAN or any other Kubernetes providers.

I want use same `listen` for all this connections types.
Need to `advertise` different IP for each connection type.

Could you add ability advertise different IP using ACL info.
As example
```
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
```

### Expected behavior
Kamailio will apply different  `advertise` option dependent of source IP of incoming packet.

#### Actual observed behavior
Listener support only one `advertise` param.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191115/bea9655d/attachment.html>


More information about the sr-dev mailing list