Customize radius_cdr log
How can I customize the logs of the radius_cdr module? This is how it logs: Acct-Status-Type = Stop Acct-Session-Id = "d734ff5e-bf04-4045-8cb3-f5744574808b" Freeswitch-Hangupcause = Normal-Clearing Freeswitch-Src = "8478797989" Freeswitch-CLID = "Chris Parker" Freeswitch-Dst = "888" Freeswitch-Dialplan = "XML" Freeswitch-Lastapp = "bridge" Freeswitch-Billusec = 21460442 NAS-Port = 0 Acct-Delay-Time = 0 NAS-IP-Address = 127.0.0.1 Client-IP-Address = 127.0.0.1 Acct-Unique-Session-Id = "4b7754541b5902fa" Timestamp = 1181309011 I would like that to see in the log just this: Acct-Status-Type = Stop Freeswitch-Hangupcause = Normal-Clearing Freeswitch-Src = "8478797989" Freeswitch-Dst = "888"1 Timestamp = 1181309011 Is there a way to do that?
You can comment unneeded radius attributes in module source and compile again module. On Tue, Jun 16, 2015, 12:54 Густаво Силва <gfs@etherway.ru> wrote:
How can I customize the logs of the radius_cdr module?
This is how it logs:
Acct-Status-Type = Stop Acct-Session-Id = "d734ff5e-bf04-4045-8cb3-f5744574808b" Freeswitch-Hangupcause = Normal-Clearing Freeswitch-Src = "8478797989" Freeswitch-CLID = "Chris Parker" Freeswitch-Dst = "888" Freeswitch-Dialplan = "XML" Freeswitch-Lastapp = "bridge" Freeswitch-Billusec = 21460442 NAS-Port = 0 Acct-Delay-Time = 0 NAS-IP-Address = 127.0.0.1 Client-IP-Address = 127.0.0.1 Acct-Unique-Session-Id = "4b7754541b5902fa" Timestamp = 1181309011
I would like that to see in the log just this:
Acct-Status-Type = Stop Freeswitch-Hangupcause = Normal-Clearing Freeswitch-Src = "8478797989" Freeswitch-Dst = "888"1 Timestamp = 1181309011
Is there a way to do that? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Sergey Safarov
-
Густаво Силва