How it will correlate to listen=proto:ifname:port advertise ...
is possible to parse old behavior, like
listen=proto:[linklocalip%nic]:port advertise ...
On Tue, Apr 30, 2019 at 6:00 PM Daniel-Constantin Mierla miconda@gmail.com wrote:
OK, thanks for testing and feedback.
I thought that maybe we should also add a way to specify the interface name via config, like full specs for listen to be:
listen=proto:ip:port iface xyz advertise ...
'iface' being a reserved token, similar to 'advertise'. In this way we can avoid looping via all interfaces and cope with the case of virtual interfaces sharing same ip (iirc, it was mentioned in one of the messages on this discussion thread).
The parameter bind_ipv6_link_local is still useful, at least for auto_bind_ipv6=1.
Speaking of that, can someone test with both:
auto_bind_ipv6=1
bind_ipv6_link_local=1
And see if kamailio listen on all available IPv6 addresses, including the link local ones?
Cheers, Daniel
On 30.04.19 16:32, Juha Heinanen wrote:
Sergey Safarov writes:
That because to bind link local address need to define used NIC like
sipp -sn uas -i fe80::b951:ef1f:76c8:e5a2%eth0
Yes, this kind of syntax worked:
$ sipp fe80::6e29:95ff:fe7d:37e6%wlp1s0 -p 5050 -m 1 -sf register.sipp
-t t1 -i fe80::6e29:95ff:fe7d:37e6%wlp1s0 -p 5050 -m 1
and K reported successful registration.
-- Juha
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users