I explicitly sent out a t_reply on failure. <br><br>And yes, it seems that I need to set it prior to the failure route.. however, it's before everything in the config now. so I'm not sure really what it needs to be before.. maybe the original t_relay in which the call failed.<br>
<br>BTW, I'm using the dialog module if that changes anything...<br><br><br><br><div class="gmail_quote">On Tue, Mar 31, 2009 at 8:50 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Brett Nemeroff wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bogdan,<br>
RURI modified by carrierroute, then t_relay(). Far end replies with 503. Call carrierroute again, which errors since the only other route has a prob=0. <br>
</blockquote></div>
ok, but after the cc fails, you sent out a reply with t_reply() or you let the received 503 to propagate to the UAC?<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Without the failed_transaction_flag actually armed before the failure_route, I get no database activitiy at all..<br>
</blockquote></div>
so, if you set it before the failure_route it works, otherwise ok, right?<br>
<br>
Regards,<br>
Bogdan<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>
Nothing else is using that flag. I have it set at the top of my failure_routes and my main acc flag set at the very top of the main routing block.<br>
<br>
<br>
<br></div><div><div></div><div class="h5">
On Tue, Mar 31, 2009 at 7:36 AM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
<br>
Hi Brett,<br>
<br>
the transactions you miss in the acc are replied in failure_route<br>
with t_reply() or you are passing the received reply ?<br>
<br>
also, are you sharing the "failed_transaction_flag" with other flags ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Brett Nemeroff wrote:<br>
<br>
Hello All,<br>
I'm going to reply to my own message. I'm not sure if the<br>
upgrade actually had anything to do with this, but I suspect<br>
it did..<br>
<br>
I log everything, failed, missed, acked, etc into one acc<br>
table. I was setting the acc flag right at the very very top<br>
of my script to just catch everything.<br>
<br>
Well this worked great in 1.4, but in 1.5, it seems that<br>
failed transactions were getting skipped...<br>
<br>
I always had the failed_transaction_flag defined, but I only<br>
set that flag in my failure route. For some reason, I wasn't<br>
getting failed transactions ever.<br>
<br>
It's also notable that I used the carrierroute function, with<br>
only one valid route, the secondard route (domain) had a<br>
probability of 0 (ie: disabled). That may have contributed to<br>
this?<br>
<br>
Anyway, I set the failed transaction flag at the top of the<br>
script as well, and it's working how I had expected. Not sure<br>
if something else broke when I did that, but my typical call<br>
flows seem to be logged properly now.<br>
<br>
-Brett<br>
<br>
<br>
On Mon, Mar 30, 2009 at 11:58 AM, Brett Nemeroff<br>
<<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a> <mailto:<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>><br></div></div><div class="im">
<mailto:<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a> <mailto:<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>>>> wrote:<br>
<br>
Hey All,<br>
So I've recently upgraded my 1.4 install to 1.5 and I've<br>
noticed,<br>
I don't get INVITEs that are replied with a 503 stored in ACC<br>
anymore, the whole transaction is missing.<br>
<br>
I used to get those. I haven't changed any of my acc params. :/<br>
<br>
Am I missing something?<br>
Thanks,<br>
Brett<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div class="im"><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>