A certain server has multiple network interfaces.
For example: two internal network, external network and loopbaсk.
I want what Asterisk listen on multiple interfaces, but not on all.
For example, on one internal and on loopback.
Any correctly written server daemon may directly specify the interfaces that will be served.
So, “bindaddr=0.0.0.0:5060” in this case, it is not suitable. Asterisk be listen on all interfaces.
If I write “bindaddr=192.168.0.1:5060”, Asterisk will listen on only one interface. But it is necessary to two.
How do I set only two addresses? For example 192.168.1.1 and 127.0.0.1.
Beforehand grateful for answers to the essence of my question.