hi,
i use "ds_select_domain()" to route a call.
if the destination reply with an error i am using the next lines in a route
that i called from the failure route:
if($avp(OSPRPL)!=404) {
ds_mark_dst("IP");
}
after trying this line i do "kamctl fifo ds_list" and i see the host is
still at "AX". and in the next call the dispatcher still tries the same
destination.
why? how do i set a destinatio in dispatcher to be inactive?
this is my modparams:
#!ifdef WITH_DISPATCHER
#------ dispatcher params ---------
modparam("dispatcher", "db_url", DBURL)
modparam("dispatcher", "dst_avp", "$avp(dsdst)")
modparam("dispatcher", "cnt_avp", "$avp(dscnt)")
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")
modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")
modparam("dispatcher", "ds_ping_from", "sip:user@host.com")
modparam("dispatcher", "ds_ping_reply_codes",
"class=2;code=405")
modparam("dispatcher", "ds_ping_interval", 30)
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_hash_size", 8)
modparam("dispatcher", "flags", 2)
#!endif