You can now define a mcast parameter before a listen parameter that contains a multicast address. After each listen parameter mcast gets reset. mcast must contain the name of an interface, eg `eth1`.
Issue GH#813 You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/815
-- Commit Summary --
* core: added mcast to select interface for multicast
-- File Changes --
M cfg.lex (3) M cfg.y (16) M globals.h (1) M ip_addr.h (3) M main.c (1) M socket_info.c (8) M udp_server.c (24)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/815.patch https://github.com/kamailio/kamailio/pull/815.diff
Thanks, you have to add some documentation about the new core parameter explaining its purpose and a small example in the core cookbook from the wiki:
* https://www.kamailio.org/wiki/cookbooks/devel/core#mcast_loopback
Merged #815.
Done: https://www.kamailio.org/wiki/cookbooks/devel/core#mcast I also added the feature here: https://www.kamailio.org/wiki/features/new-in-devel#parameters
Any feedback is welcome.