<div dir="ltr">Hi guys,<div><br></div><div>We have an issue with cache_fetch function. </div><div><br></div><div>In the per_branch_route I store destination numbers as following (we have multiple choice gateways here):</div><div><br></div><div>cache_store("local","bran$ci$rd","$rU",90);</div><div><br></div><div>In the on_reply_route in case of 200-OK I can successfully fetch the destination number:</div><div><br></div><div>cache_fetch("local","bran$ci$si", $avp(cached_dst));</div><div><br></div><div>But in case of the failed call the same function always return <null><br clear="all"><div><br></div><div>failure_route[FAILURE_REDIR] {</div><div><br></div><div> if (!t_check_status("[1|2|3][0-9][0-9]")) {<br></div><div><br></div><div> cache_fetch("local","bran$ci$si", $avp(cached_dst));</div><div><br></div><div> }</div><div><br></div><div>}</div><div><br></div><div>Can we use cache_fetch in the on_failure route? </div><div><br></div><div>Please advice</div><div><br></div><div>Thanks,</div><div><br></div>-- <br><div class="gmail_signature">Regards,<br>Arsen.<br></div>
</div></div>