Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Session Logs - Custom fields
Author Message
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 37
Location: Guilford, CT

PostPosted: Mon Aug 19, 2024 4:54 am    Post subject: Session Logs - Custom fields Reply with quote

1. Brekeke Product Name and Version:
3.16.4.9, Advanced

2. Java version:
openjdk-11-jre / tomcat9

3. OS type and the version:
debian:bookworm

4. UA (phone), gateway or other hardware/software involved:
Freeswitch

5. Your problem:
Is it possible to add the Call ID (in / out) to the existing session logs?
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 245

PostPosted: Mon Aug 19, 2024 11:08 pm    Post subject: Reply with quote

Try CDR

https://docs.brekeke.com/sip/call-detailed-records-cdr-settings
https://docs.brekeke.com/sip/variables-for-cdr

There are %{callidin} and %{callidout}.
Back to top
View user's profile
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 37
Location: Guilford, CT

PostPosted: Tue Aug 20, 2024 9:47 am    Post subject: Reply with quote

Are there any configuration parameters to customize the CDR path structure, either by using "Output Path" or "Alternate Output Path". For example:

sip/WEB-INF/work/sv/log/cdr/YYYY/MM/

so it aligns with the some of the other logs?

Thanks,
Mike
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 245

PostPosted: Tue Aug 20, 2024 10:38 pm    Post subject: Reply with quote

Set the line below in [Configuration]-[Advanced] page.

cdr.file.datetime-format = yyyy/MM/dd-HHmmss


But you need to make a directory, yyyy/MM such as 2024/08 manually.
You can check the path at [CDR]->[Status] page.
Back to top
View user's profile
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 37
Location: Guilford, CT

PostPosted: Mon Sep 09, 2024 9:45 am    Post subject: Reply with quote

Thank you, Laurie!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1