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.ds_is_active > On Feb 6, 2023, at 5:52 PM, Jawaid Bazyar <[email protected]> wrote: > > 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 > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
