<br><br><div class="gmail_quote">On Mon, Apr 12, 2010 at 10:48 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Jock,<br>
<div class="im">> I'm wondering if the above error is some kind of AVP storage thing I</div><div class="im">
> haven't set up that is causing it not to properly "mark" the gateway,<br>
> or more likely, not remember the mark. But I can't spot anything in<br>
> the dispatcher documentation that says as such.<br>
</div>your guess is right - dispatcher module uses AVPs to keep the state<br>
(between sequential tries on the same dialog).<br>
<br>
I guess the ds_mark_dst() fails - can you check this? (this function<br>
search for the dst and grp avps to identify the last tried destination.).<br><br></blockquote><div>Greetings Bogdan, and thanks as always;</div><div><br></div><div>I tried this:</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
if( t_check_status("408") ){</div><div> xlog( "L_NOTICE", "[$Tf] FR: $ci -- TIMEOUT for Gateway $rd (marking as bad)\n" );</div><div> if (!ds_mark_dst("p")) {</div>
<div> xlog("L_NOTICE", "[$Tf] Panic! Not marked\n");</div><div> }</div><div> }</div><div><br></div><div>No 'Panic' in the logs.</div>
<div><br></div><div>The dst and grp AVPs are set up, as you saw on my original post, but... that doesn't mean I'm not missing anything.</div><div><br></div><div>I'm sorry, I'm not much use here, I'm really not sure what else to try...</div>
<div><br></div><div>My thanks;</div><div><br></div><div> - Jock </div></span></div></div>