FS-5843 Give this a try
This commit is contained in:
parent
9104aab9de
commit
a34095a4b7
|
@ -1453,9 +1453,12 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
|
|||
switch_channel_process_export(member_channel, NULL, ovars, "cc_export_vars");
|
||||
|
||||
t_agent_called = local_epoch_time_now(NULL);
|
||||
|
||||
dialstr = switch_channel_expand_variables(member_channel, h->originate_string);
|
||||
status = switch_ivr_originate(NULL, &agent_session, &cause, dialstr, 60, NULL, cid_name ? cid_name : h->member_cid_name, h->member_cid_number, NULL, ovars, SOF_NONE, NULL);
|
||||
switch_safe_free(dialstr);
|
||||
if (dialstr != h->originate_string) {
|
||||
switch_safe_free(dialstr);
|
||||
}
|
||||
switch_safe_free(cid_name);
|
||||
|
||||
switch_event_destroy(&ovars);
|
||||
|
|
Loading…
Reference in New Issue