[Freeswitch-users] mod_callcenter real answer
gustavomarsico at gmail.com
Wed May 16 23:46:34 MSD 2012
These are the changes we made:
--- mod_callcenter.c.orig 2012-01-11 20:23:34.000000000 -0300
+++ mod_callcenter.c 2012-01-26 15:31:15.000000000 -0300
@@ -1420,6 +1420,7 @@
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Member-CID-Name", h->member_cid_name);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Member-CID-Number", h->member_cid_number);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Member-DNIS", member_dnis);
+ switch_event_add_header(event, SWITCH_STACK_BOTTOM, "CC-Member-Joined-Time", "%" SWITCH_TIME_T_FMT, t_member_called);
@@ -2408,7 +2409,7 @@
/* Make sure we answer the channel before getting the switch_channel_time_table_t answer time */
/* Grab the start epoch of a channel */
times = switch_channel_get_timetable(member_channel);
On May 15, 2012, at 7:19 PM, Gustavo Mársico wrote:
> Hi Evginey
> I made that change a few days ago, due a scenario where dialer is used. In fact, dialer dials to a queue first instead of customer.
> All I did was replace in the code "answer" by "pre_answer" in some place. I've no the code right now, but I can send it to you later.
> On May 15, 2012, at 6:15 AM, Евгений wrote:
>> Hi, colleagues.
>> Could I have real answer for client on mod_callcenter, when agent answers?
>> Or there is another way to queue call between 2 FreeSwitch.
>> For example, client's call has to be routed to two FS servers, which has different agents in queues. But answer comes from first server when application CALLCENTER is called. How can I do this?
>> Best Regards, Evginey.
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users