[OpenSIPS-Devel] SF.net SVN: opensips:[7063] trunk/modules/drouting

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jul 29 18:43:01 CEST 2010


Revision: 7063
          http://opensips.svn.sourceforge.net/opensips/?rev=7063&view=rev
Author:   bogdan_iancu
Date:     2010-07-29 16:43:01 +0000 (Thu, 29 Jul 2010)

Log Message:
-----------
For accounting purposes, I needed to know which gateway a request was sent to. Since there was already an AVP inside the drouting module that stored this information, I just modified the code to allow this AVP to be accessed from inside the routing scripts. There is a new module parameter called id_avp to configure where it will be stored.

The AVP will only contain a value between the time do_routing/next_gw is called and the request is sent to the next hop.

Closes patch 3034371
Credits go to Matt Lehner

Modified Paths:
--------------
    trunk/modules/drouting/README
    trunk/modules/drouting/doc/drouting_admin.xml
    trunk/modules/drouting/drouting.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list