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

SourceForge.net noreply at sourceforge.net
Thu Jul 29 18:44:54 CEST 2010


Patches item #3034371, was opened at 2010-07-25 21:19
Message generated for change (Settings changed) made by bogdan_iancu
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: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Matt Lehner ()
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
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.

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-07-29 19:44

Message:
Hi Matt,

Thanks for the patch - I uploaded on SVN.

Best regards,
Bogdan

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

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