[OpenSIPS-Devel] [ opensips-Patches-3034371 ] drouting: an AVP to hold the currently selected gateway

SourceForge.net noreply at sourceforge.net
Sun Jul 25 20:19:37 CEST 2010


Patches item #3034371, was opened at 2010-07-25 14:19
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3034371&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matt Lehner ()
Assigned to: Nobody/Anonymous (nobody)
Summary: drouting: an AVP to hold the currently selected gateway

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3034371&group_id=232389



More information about the Devel mailing list