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)}
 
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.
 
It has to be one of freeswitch's channel variables. You can look at CDR details to see what variables are available.
 
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.