[OpenSIPS-Devel] [ opensips-Patches-3013565 ] rad_avp_add: convert strings to ints where appropriate

SourceForge.net noreply at sourceforge.net
Sun Aug 1 23:11:48 CEST 2010


Patches item #3013565, was opened at 2010-06-09 08:41
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3013565&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: Fixed
Priority: 5
Private: No
Submitted By: Matt Lehner ()
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: rad_avp_add: convert strings to ints where appropriate

Initial Comment:
In the same spirit as ID: 2886450, I have patched rad_avp_add to check if values should be converted to another format before being sent to radius. This allows for things such as:

modparam("acc", "aaa_extra",    "Sip-Source-IP-Address=$si; \
                                 Sip-Source-Port=$sp")

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-08-02 00:11

Message:
Hi Matt,

I uploaded your patch in a modified version, mainly to avoid the type
lookup at each addition - see rev 7085 & 7086

Please have it tested - If you confirm it works ok, I will upload on 1.6
branch too.

Thanks and regards,
Bogdan

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

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



More information about the Devel mailing list