<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 30.05.22 12:45, Patrick Karton
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR0402MB377850F7FE7C7CB982982498DFDD9@AM0PR0402MB3778.eurprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="auto">Thanks for Feedback.
<div dir="auto">I will create PR.</div>
</div>
</blockquote>
<p>It would be appreciated.</p>
<p>Just in case it helps, as a hint, maybe you can leverage (reuse
or inspire from) the C code done for dispatcher modparam
ds_ping_reply_codes:</p>
<p>-
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.ds_ping_reply_codes">https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.ds_ping_reply_codes</a><br>
</p>
<p>It allows specifying more response codes or classes.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<blockquote type="cite"
cite="mid:AM0PR0402MB377850F7FE7C7CB982982498DFDD9@AM0PR0402MB3778.eurprd04.prod.outlook.com">
<div class="gmail_extra"><br>
<div class="gmail_quote">Le 30 mai 2022 11:28, Daniel-Constantin
Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a> a écrit :<br
type="attribution">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>Hello,</p>
<p><br>
</p>
<p>probably you have to extend the C code to support this
feature, if there is no module parameter in tm module
that allows customization at this moment.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<p><br>
</p>
<div>On 23.05.22 16:48, Patrick Karton wrote:<br>
</div>
<blockquote>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> Hello, </div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> <br>
</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> im using DNS Failover and everything works
well except i would like to try other resolved ips
when i receive a 408 from the previous ones</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> <br>
</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> As far as i know only a received 503 will
trigger next destinations and there is no config
parameters in tm module to handle that behaviour.</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> <br>
</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> so how can i implement it ?</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> <br>
</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> set a failure route before relay and just
call t_relay() after again ? </div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> <br>
</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> also is there a way in failure route to know
how many destinations are left to exit failure route.</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> <br>
</div>
<div style="font-family:'calibri' , 'arial' ,
'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 ,
0 , 0 )"> Thanks for help.</div>
<br>
<fieldset></fieldset>
<pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true" class="moz-txt-link-freetext">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre>--
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online: June 20-23, 2022
* <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online: June 20-23, 2022
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>