<div dir="ltr"><div class="gmail_quote">
<div dir="ltr">
<div>hi,</div>
<div> </div>
<div>i use "ds_select_domain()" to route a call.</div>
<div>if the destination reply with an error i am using the next lines in a route that i called from the failure route:</div>
<div> </div>
<div>if($avp(OSPRPL)!=404) {<br> ds_mark_dst("IP");<br> }</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>why? how do i set a destinatio in dispatcher to be inactive?</div>
<div> </div>
<div>this is my modparams:</div>
<div> </div>
<div>#!ifdef WITH_DISPATCHER<br>#------ dispatcher params ---------<br>modparam("dispatcher", "db_url", DBURL)<br>modparam("dispatcher", "dst_avp", "$avp(dsdst)")<br>modparam("dispatcher", "cnt_avp", "$avp(dscnt)")<br>
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")<br>modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")<br>modparam("dispatcher", "ds_ping_from", "<a href="mailto:sip%3Auser@host.com" target="_blank">sip:user@host.com</a>")<br>
modparam("dispatcher", "ds_ping_reply_codes", "class=2;code=405")<br>modparam("dispatcher", "ds_ping_interval", 30)<br>modparam("dispatcher", "ds_probing_mode", 1)<br>
modparam("dispatcher", "ds_hash_size", 8)<br>modparam("dispatcher", "flags", 2)<br>#!endif<br></div></div></div><br></div>