mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-15 15:54:13 +00:00
add recordings_dir
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16233 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
296d715561
commit
c064a2a586
9 files changed
+23
-6
No files matched your search
@@ -5144,7 +5144,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
|
||||
if (!strcasecmp(rec_header, "on")) {
|
||||
char *file = NULL, *tmp = NULL;
|
||||
|
||||
tmp = switch_mprintf("%s%s%s", profile->record_path ? profile->record_path : "${base_dir}/recordings",
|
||||
tmp = switch_mprintf("%s%s%s", profile->record_path ? profile->record_path : "${recordings_dir}",
|
||||
SWITCH_PATH_SEPARATOR, profile->record_template);
|
||||
file = switch_channel_expand_variables(channel, tmp);
|
||||
switch_ivr_record_session(session, file, 0, NULL);
|
||||
|
||||
Reference in new issue
Block a user