<div class="gmail_quote">On Fri, Jul 23, 2010 at 2:15 PM, Matt lehner <span dir="ltr">&lt;<a href="mailto:mlehner@gmail.com">mlehner@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I would like to be able to store the current gateway id along with my<br>
accounting records when using drouting. I browsed quickly in the code<br>
and see a AVP that stores this info, but it is clearly referred to as<br>
&quot;INTERNAL_USE_ONLY&quot;. Would it be easy to make this AVP available in<br>
the routing scripts as a read-only? I am considering doing the<br>
modifications myself, but I have not yet become familiar with code API<br>
for AVPs.<br><br></blockquote><div><br></div><div>I have to say, this function would be immensely useful. I think I&#39;ve requested this before as well. If you patch it, I&#39;d like your patch. :D</div><div><br></div><div>

Today, I use the attr field to pull this information. It&#39;s clunky, but it works. I set attr == id.</div><div><br></div><div> </div></div>