]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4254 --resolve
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Fri, 25 May 2012 17:45:02 +0000 (13:45 -0400)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Fri, 25 May 2012 17:45:02 +0000 (13:45 -0400)
I've changed the variable name from cc_export to cc_export_vars to be more consistant from the original patch

src/mod/applications/mod_callcenter/mod_callcenter.c

index 30bdf9c2b349470dd657b78b03576b17272ce569..99ece2ff39cdce67833db33c22506706f804a274 100644 (file)
@@ -1466,6 +1466,8 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
                switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "ignore_early_media", "true");
                switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "origination_uuid", "%s", agent_uuid_str);
 
+               switch_channel_process_export(member_channel, NULL, ovars, "cc_export_vars");
+
                t_agent_called = local_epoch_time_now(NULL);
                dialstr = switch_mprintf("%s", 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);