Adding variable to logs

Nick Khamis symack at gmail.com
Wed May 1 15:05:05 CEST 2013


It seems that the sql module of freeraedius does not support calls
to stored mysql procedures. Is this correct?

PS Sorry for the noise.

Cheers,

Nick

On 5/1/13, Alan DeKok <aland at deployingradius.com> wrote:
> Nick Khamis wrote:
>> Thanks so much for your response. I can provide a specific example.
>> In the client we have defined:
>>
>> modparam("acc", "aaa_extra", "  Sip-From-Tag=$si;
>>                                                 Sip-To-Tag=$tt;
>>                                                 .....
>>
>> In the included dictionary.sip:
>>
>> ATTRIBUTE       Sip-From-Tag                  105     string
>> ATTRIBUTE       Sip-To-Tag                      104     string
>
>   Which is wrong, by the way.  The SIP dictionary was *not* allocated
> through the standard methods.  They just invented it.
>
>> Partial accounting start query:
>>
>> '%{Sip-From-Tag}', \
>> '%{Sip-To-Tag}',
>>
>> The values are not saved to the corresponding fields in the DB, however,
>> they
>> are included in the log file:
>>
>> Sip-From-Tag = "E94C56E1-DE9870DE"
>> Sip-To-Tag = "as53e58d9c"
>
>   Have you bothered to look at the debug output, as suggested in the
> FAQ, "man" page, web pages, and daily on this list?  Are those SIP
> attributes even there?
>
>   My guess is "No", because of the previous issue.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list