<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>23 aug 2013 kl. 08:13 skrev Steve Davies <<a href="mailto:steve@connection-telecom.com">steve@connection-telecom.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 August 2013 07:55, Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span> wrote:<br>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Please read the full documentation for t_relay. There's a lot of return codes that actually is really helpful. If it fails, read the return code and take action accordingly.<br>

<br>
Yeah, I know I'm boring, but we do try to write proper reference documentation in this project ;-)<br></blockquote><div><br></div><div>Hi Olle,</div><div><br></div><div>Where is this documentation?</div><div><br></div>
<div>Here's all that is said about return codes from t_relay in the 4.0.x module documentation  (<a href="http://kamailio.org/docs/modules/4.0.x/modules/tm.html#t_relay">http://kamailio.org/docs/modules/4.0.x/modules/tm.html#t_relay</a>).  Looks like there are docs that I didn't find?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">  "<span style="font-family: Helvetica, Arial; font-size: 12px; text-align: justify; ">Returns a negative value on failure -- you may still want to send a negative reply upstream statelessly not to leave upstream UAC in lurch."</span></blockquote>
<div><span style="font-family: Helvetica, Arial; font-size: 12px; text-align: justify; "><br></span></div><div><span style="font-family: Helvetica, Arial; font-size: 12px; text-align: justify; "><br></span></div>
<div>All the examples about re-routing calls are all about doing append_route out of the to_on_failure route.  Which works beautifully for "soft" failures etc.  Seems a shame this exception must be done differently?</div>
</div></div></div></blockquote>That must be a big OOPS. (embarrassed smile on my lips).</div><div><br></div><div>Check here:</div><div><a href="http://kamailio.org/docs/modules/1.5.x/tm.html#id2514020">http://kamailio.org/docs/modules/1.5.x/tm.html#id2514020</a></div><div><br></div><div>Someone more familiar with the tm module code than I am have to upgrade the 4.0 docs and devel as well.</div><div><br></div><div>Thanks for pointing that out.</div><div><br></div><div>/O</div><br></body></html>