[OpenSIPS-Users] radius fields
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Nov 13 11:06:44 CET 2008
The syntax is correct - I just tested it with no problem.
Be careful with the var() as these variables are inherited in a process
(by all routes executed by a process) and not shared across the
transaction. See
http://www.opensips.org/index.php?n=Resources.DocsCoreVar
In what route are you setting the $var(a) ?
Regards,
Bogdan
chamo wrote:
> my needed syntax is 023211 at 192.168.1.1 (without sip:)
> $var(a) = $fU + "@" + $fd; // on this line i am getting syntax error
> , in manula ist similar $var(a) = "sip:" + $au + "@" + $fd;
> modparam("acc", "radius_extra", "User-Name=$var(a);
> Called-Station-Id=$tu; Calling-Station-Id=$fu;
> Sip-Translated-Request-URI=$ru");
>
> thank
> Chamo
>
>
>> / /use $fU for User-Name and $ru for Sip-Translated-Request-URI .
>> / /
>> / /Regards,
>> Bogdan
>>
>> chamo wrote:
>>
>>> / i have
>>>
> /> >/ modparam("acc", "radius_extra", "User-Name=$tt; Called-Station-Id=$tu;
> /> >/ Calling-Station-Id=$fu; Sip-Translated-Request-URI=$du")
> /> >/ but user-name and sip-translated-requests-uri aren't working
> /> >/
> /> >/ (fu and du variables are from manual)
> /> >/ _______________________________________________
> /> >/ Users mailing list
> /> >/ Users at lists.opensips.org <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> /> >/ http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> /
>
>
>
>
More information about the Users
mailing list