Adding variable to logs

Nick Khamis symack at gmail.com
Tue Apr 30 20:02:27 CEST 2013


Hello Arran,

Thank you so much for your response. I have added the following to the
SIP dictionary we are using:

ATTRIBUTE       NAS-Port-Type                   61      integer

Please excuse my learning process. Is this considered an accounting request?

Cheers,

Nick.

On 4/30/13, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:
>> Tue Apr 30 05:50:08 2013
>>        Acct-Status-Type = Start
>>        Service-Type = SIP
>>        Sip-Response-Code = 200
>>        Sip-Method = Invite
>>        Event-Timestamp = "Apr 30 2013 05:50:08 EDT"
>>        Sip-From-Tag = "3B7C575D-E798317A"
>>        Sip-To-Tag = "as183d6189"
>>        Acct-Session-Id = "b7c2af61-2d1b4daf-e558033c at 192.168.2.11"
>>        User-Name = "1001 at example.server.com"
>>        NAS-Port = 5060
>>        Acct-Delay-Time = 0
>>        NAS-IP-Address = 127.0.0.1
>>        Acct-Unique-Session-Id = "f538381d8187adf7"
>>        Timestamp = 1367315408
>>
>>
>> Is NAS-PORT-TYPE not being included in the log because it's null?
>
> It's probably not being included because it wasn't present in the
> Accounting-Request. Also It's an integer attribute, there is no 'NULL'.
>
> Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> FreeRADIUS Development Team
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list