<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi, Brett!<br>
<br>
I think the problem is that the 'use_next_gw' function deletes
the gw_id_avp of the "failed" leg, and therefore the acc module
cannot see it. My suggestion is to use a different avp for the
db_extra parameter, and for each leg to copy the gw_id_avp into
that avp.<br>
Let me know if this works like this.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Razvan Crainea
OpenSIPS Core Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
On 10/07/2012 09:44 PM, Brett Nemeroff wrote:<br>
</div>
<blockquote
cite="mid:CAPwC5wx6uQQ7DOAtnWBpzF+r-mDLKOVcfCp2JR_auS31L6xUQA@mail.gmail.com"
type="cite">Hello all,
<div>I'm using opensips 1.8.0-beta-notls and I've seen this happen
several times. Using the ACC module to write calls to mysql
(both to acc and missed_calls). I have gw_id_avp value being
written to an avp and that avp is added as a db_extra. About
half of the time, this value is written as a 0, even though I
have a perfectly valid destination that was attempted. In fact,
all of the other avps for that call that are in db_extra are
passed just fine. Just the gw_id_avp for that leg isn't being
written. I'm seeing this happen in both the acc and missed_calls
table and so far I can't find a correlation to what happened on
the call and why the value is 0. </div>
<div><br>
</div>
<div>Has anyone else seen this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Brett</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>