<div dir="ltr"><div class="gmail_quote">
<div dir="ltr">
<div>hi,</div>
<div> </div>
<div>i use &quot;ds_select_domain()&quot; 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(&quot;IP&quot;);<br> }</div>
<div> </div>
<div>after trying this line i do &quot;kamctl fifo ds_list&quot; and i see the host is still at &quot;AX&quot;. 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(&quot;dispatcher&quot;, &quot;db_url&quot;, DBURL)<br>modparam(&quot;dispatcher&quot;, &quot;dst_avp&quot;, &quot;$avp(dsdst)&quot;)<br>modparam(&quot;dispatcher&quot;, &quot;cnt_avp&quot;, &quot;$avp(dscnt)&quot;)<br>
modparam(&quot;dispatcher&quot;, &quot;grp_avp&quot;, &quot;$avp(dsgrp)&quot;)<br>modparam(&quot;dispatcher&quot;, &quot;attrs_avp&quot;, &quot;$avp(dsattrs)&quot;)<br>modparam(&quot;dispatcher&quot;, &quot;ds_ping_from&quot;, &quot;<a href="mailto:sip%3Auser@host.com" target="_blank">sip:user@host.com</a>&quot;)<br>
modparam(&quot;dispatcher&quot;, &quot;ds_ping_reply_codes&quot;, &quot;class=2;code=405&quot;)<br>modparam(&quot;dispatcher&quot;, &quot;ds_ping_interval&quot;, 30)<br>modparam(&quot;dispatcher&quot;, &quot;ds_probing_mode&quot;, 1)<br>
modparam(&quot;dispatcher&quot;, &quot;ds_hash_size&quot;, 8)<br>modparam(&quot;dispatcher&quot;, &quot;flags&quot;, 2)<br>#!endif<br></div></div></div><br></div>