Adding variable to logs
Alan DeKok
aland at deployingradius.com
Wed May 1 14:45:40 CEST 2013
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.
More information about the Freeradius-Users
mailing list