<div dir="ltr"><div>I used the Xlog and made sure the line is executed.</div>
<div>i saw it in the trace as well....<br><br></div>
<div class="gmail_quote">On Fri, Dec 9, 2011 at 9:26 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div bgcolor="#FFFFFF" text="#000000">Hello, 
<div class="im"><br><br>On 12/7/11 3:02 PM, Uri Shacked wrote: 
<blockquote type="cite">
<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></div></div></div></div></blockquote></div>where do you set $avp(OSPRPL)? Can you add a xlog() message inside the if to be sure the ds_mark_dst() is executed? Alternative, use debugger module with cfgtrace to see what actions are executed from config file.<br>
<br>Cheers,<br>Daniel<br> <br>
<blockquote type="cite">
<div class="im">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">
<div> 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><br>
<fieldset></fieldset> <br></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888"></font></span></blockquote><span class="HOEnZb"><font color="#888888"><br><pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre></font></span></div></blockquote></div>
<br></div>