Razvan,<div>Thanks for your reply. I'll give this a shot, but shouldn't use_next_gw automatically set the gw_id_avp upon calling it? It's almost like it deletes it, but doesn't re-populate it? All the other auto-populated avps with drouting appear to be working.</div>
<div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Mon, Oct 8, 2012 at 3:40 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><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 cols="72">Razvan Crainea
OpenSIPS Core Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre><div><div class="h5">
On 10/07/2012 09:44 PM, Brett Nemeroff wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">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></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><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></blockquote></div><br></div>