[Freeswitch-users] mod_callcenter real answer

Евгений joohny at mail.ru
Thu May 17 09:47:12 MSD 2012

Hi, Gustavo.
Thank you for the patch.
For information - I think there is new version of mod_callcenter for you in GIT, because lines in your patch is on the new places in new mod_callcenter.c.
Do you have issue with no ring_ready sound on client side?Best Regards, Evginey.


These are the changes we made:

--- mod_callcenter.c.orig2012-01-11 20:23:34.000000000 -0300
+++ mod_callcenter.c2012-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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120517/8356f790/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list