Hi Juha,<br><br>great that you needed it so it got spotted, practically we had support for sync'ing flags back to transaction from message in 1.x, but seems it got lost during the integration.<br><br>I just reintroduced the t_flush_flags() in the tmx module. Being a fix considering the lost of the old feature, it can be backported once you confirm it works for you (unfortunately I am not able to test right now).<br>
<br>Cheers,<br>Daniel<br><br><div class="gmail_quote">On Sat, Mar 12, 2011 at 7:46 AM, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Juha Heinanen writes:<br>
<br>
> is there any way to unset the accounting flags after calling<br>
> t_newtran()? for example, i would not like to account invites that<br>
> result to 407 proxy authentication required.<br>
<br>
</div>just to clarify, i added statement<br>
<br>
resetflag(ACC_FAILED_FLAG);<br>
<br>
just before proxy_challenge() call, but it did not have any effect. i<br>
guess the reason is that transaction was already created.<br>
<br>
if failed transaction reporting cannot be undone after transaction has<br>
been created, then another possibility (although not as attractive) would<br>
be to add a filter param to accounting module that would list which<br>
response codes >=300 script writer is not interested in.<br>
<div><div></div><div class="h5"><br>
-- juha<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Daniel-Constantin Mierla<br> <a href="http://www.asipto.com">http://www.asipto.com</a><br>