[OpenSIPS-Users] drouting, AVP to store the current gateway id (id_avp_name)
Brett Nemeroff
brett at nemeroff.com
Fri Jul 23 22:03:02 CEST 2010
On Fri, Jul 23, 2010 at 2:15 PM, Matt lehner <mlehner at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100723/21dfb532/attachment-0001.htm
More information about the Users
mailing list