<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="color:rgb(0,0,0);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="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br></span></div><div><span style="color:rgb(0,0,0);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><br></div><div>Steve</div><div><br></div></div>
</div></div>