In dundi.conf there’s this comment which reads:
The ‘*’ peer is special and matches an unspecified entity
So I’ve tried setting up a dundi peer like this:
[*]
model = symmetric
host = 192.168.12.200
inkey = mykey
outkey = mykey
include = dundi_context
permit = dundi_context
qualify = yes
order = primary
dynamic=yes
But it doesn’t seem to work.
When I go to the CLI and run dundi show peers, I can actually list the peers, but their status show as UNKOWN and it doesn’t seem to resolve the MAC address. Also, I can’t lookup the PJSIP endpoints’ statuses.
When I specify the MAC addresses, instead of using the [*], everyhing works just fine.
So I wonder what is the use case for the [*] selector?
I am clusterizing asterisk over docker swarm, and since my replicas’ MAC addresses are completely unpredictable and can potentially change everytime a new deployment is made, it would be really nice if this feature would work…or maybe I’m misunderstanding how it is supposed to work. Could someone please clarify?
Cheers!