Fix record-greeting event missing VM-Greeting-Path
FS-7975 #resolve
This commit is contained in:
parent
242f22fa45
commit
5802ba71ac
|
@ -2270,7 +2270,6 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
|
|||
domain_name);
|
||||
vm_execute_sql(profile, sql, profile->mutex);
|
||||
switch_safe_free(sql);
|
||||
switch_safe_free(file_path);
|
||||
switch_safe_free(tmp_file_path);
|
||||
|
||||
switch_event_create_subclass(¶ms, SWITCH_EVENT_CUSTOM, VM_EVENT_MAINT);
|
||||
|
@ -2280,6 +2279,8 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
|
|||
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "VM-Domain", domain_name);
|
||||
switch_channel_event_set_data(channel, params);
|
||||
switch_event_fire(¶ms);
|
||||
|
||||
switch_safe_free(file_path);
|
||||
}
|
||||
|
||||
} else if (!strcmp(input, profile->change_pass_key)) {
|
||||
|
|
Loading…
Reference in New Issue