I had the intention to route calls to some SRV destinations via
dispatcher and to other SRV destinations via DNS lookup and
Currently in a route block using dispatcher two out of three targets
within the SRV destination are unavailable (by intention).
During my tests to the dispatcher destination I have found that:
A) If I have 'use_dns_failover=on' this setting "overrules" the
dispatcher routing and the unavailable targets are also tried before DNS
failover finds the available target.
B) If I have 'use_dns_failover=off' the dispatcher routing logic works
as expected and the call is always routed to the only available target
directly, making use of the result of the dispatcher OPTIONS pinging.
So my conclusion is now that you have to choose: Either use dispatcher
routing, or use DNS failover based routing.
- I'm fine with this, but I just would like to know if my conclusion is
correct, or if there is actually a way to use dispacther for some SRV
destinations and DNS failover for other SRV destinations.