[OpenSIPS-Users] How to insert the IP address of user in radius request.
Tung Tran
tr.tung at gmail.com
Tue Jun 23 14:00:22 CEST 2009
Dear Mr. Bogdan,
I know we can insert the source IP address in account request before sending
it to Radius, however can I insert it in AUTHORIZE request instead?
Thank you very much for your reply.
Tung
----- Original Message -----
From: "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>
To: "Tung Tran" <tr.tung at gmail.com>
Cc: <users at lists.opensips.org>
Sent: Tuesday, June 23, 2009 6:04 PM
Subject: Re: [OpenSIPS-Users] How to insert the IP address of user in radius
request.
> Hi Tung,
>
> First of all you should upgrade to 1.5 version (see
> http://www.opensips.org/Resources/Downloads).
>
> For your problem, use extra accounting - you can account whatever extra
> info you want. See:
>
> http://www.opensips.org/html/docs/modules/1.5.x/acc.html#ACC-extra-id
>
> To get the source IP, use the $si pseudo-variable (see
> http://www.opensips.org/Resources/DocsCoreVar15#toc71).
>
> Regards,
> Bogdan
>
> Tung Tran wrote:
>> Hi all,
>>
>> I get a request to insert the public IP address of the sip softphone or
>> IP Phone/ATA (end-point) in the Radius request sending to Radius server.
>> I am thinking about to mod the auth_radius module to insert that IP in
>> SIP-URI-User field, likely this one:
>>
>> Original
>> Sip-Uri-User = "985512405"
>>
>> After mod:
>> Sip-Uri-User = 985512405 at 1.2.3.4
>>
>> Where 1.2.3.4 is the IP of SIP end-point, not the IP address of
>> Opensips/Opensers servers.
>>
>> But I dont know where I should play with.
>> Any one had done it before or know where we can edit, pls help me.
>>
>> BTW, I am using openser 1.2.2 version.
>> Thanks in advance
>> Tung
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
More information about the Users
mailing list