On Fri, Jul 23, 2010 at 2:15 PM, Matt lehner <[email protected]> wrote:

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

Today, I use the attr field to pull this information. It's clunky, but it
works. I set attr == id.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to