]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9869 [mod_callcenter] Exporting cc_queue_joined_epoch when originating agent outbo...
authorItalo Rossi <italorossib@gmail.com>
Wed, 21 Dec 2016 15:14:04 +0000 (12:14 -0300)
committerItalo Rossi <italorossib@gmail.com>
Wed, 21 Dec 2016 15:14:04 +0000 (12:14 -0300)
src/mod/applications/mod_callcenter/mod_callcenter.c

index d39d9b47f723de01dbb11d3377b37739d62964df..f565e5ba0da5916168379111350107e867445d8a 100644 (file)
@@ -1657,6 +1657,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
 
                switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS);
                switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "cc_queue", "%s", h->queue_name);
+               switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "cc_queue_joined_epoch", "%s", h->member_joined_epoch);
                switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "cc_member_uuid", "%s", h->member_uuid);
                switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "cc_member_session_uuid", "%s", h->member_session_uuid);
                switch_event_add_header(ovars, SWITCH_STACK_BOTTOM, "cc_member_pre_answer_uuid", "%s", h->member_uuid);