SOLVED can i use user group name when recording?

Status
Not open for further replies.

Sumic

New Member
Apr 17, 2020
7
0
1
36
can i use user group name when recording?
i want to save the recording file group by user group name like ${user_group_name}:
Code:
record_path=${recordings_dir}/${domain_name}/archive/${user_group_name}/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}
 

ad5ou

Active Member
Jun 12, 2018
887
197
43
You can use pretty much any variable available to freeswitch. I don't think user group would be passed to freeswitch for a call.
Quick way to know for sure is to build a test dial plan and see what happens.

You might have better luck assigning 'call_group' and using that variable to group calls.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
453
162
43
49
It has to be one of freeswitch's channel variables. You can look at CDR details to see what variables are available.
 

Sumic

New Member
Apr 17, 2020
7
0
1
36
You can use pretty much any variable available to freeswitch. I don't think user group would be passed to freeswitch for a call.
Quick way to know for sure is to build a test dial plan and see what happens.

You might have better luck assigning 'call_group' and using that variable to group calls.
with much thx,i use ${call_group} for it .
 
Status
Not open for further replies.