Hi,
Can DISPATCHER be used in conjunction with ENUM?
E.g., to avoid sending requests to SIP destinations that are returned by ENUM, but, which DISPATCHER knows are down?
Thanks,
Jawaid
Yes, insofar as you can call the dispatcher function ds_is_active()[1] from a failure_route in the context of your own failover logic for your ENUM destinations.
However, this seems baroque. A better way might be to implement some sort of external service monitoring or discovery and to simply pour that state into Kamailio somehow (e.g. using `htable`).
— Alex
[1] https://kamailio.org/docs/modules/5.6.x/modules/dispatcher.html#dispatcher.f...