<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Evginey:<div><br></div><div>These are the changes we made:</div><div><br></div><div><div>--- mod_callcenter.c.orig<span class="Apple-tab-span" style="white-space:pre">        </span>2012-01-11 20:23:34.000000000 -0300</div><div>+++ mod_callcenter.c<span class="Apple-tab-span" style="white-space:pre">        </span>2012-01-26 15:31:15.000000000 -0300</div><div>@@ -1420,6 +1420,7 @@</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Member-CID-Name", h->member_cid_name);</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Member-CID-Number", h->member_cid_number);</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CC-Member-DNIS", member_dnis);</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>switch_event_add_header(event, SWITCH_STACK_BOTTOM, "CC-Member-Joined-Time", "%" SWITCH_TIME_T_FMT, t_member_called);</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>switch_event_fire(&event);</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div> </div><div>@@ -2408,7 +2409,7 @@</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div> </div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>/* Make sure we answer the channel before getting the switch_channel_time_table_t answer time */</div><div>-<span class="Apple-tab-span" style="white-space:pre">        </span>switch_channel_answer(member_channel);</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>switch_channel_pre_answer(member_channel);</div><div> </div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>/* Grab the start epoch of a channel */</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>times = switch_channel_get_timetable(member_channel);</div></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On May 15, 2012, at 7:19 PM, Gustavo Mársico wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Evginey<div><br></div><div>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.</div><div>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.</div><div><br></div><div>Regards</div><div><br></div><div>Gustavo</div><div><br></div><div><br><div><div>On May 15, 2012, at 6:15 AM, Евгений wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div><p>Hi, colleagues.</p><p>Could I have real answer for client on mod_callcenter, when agent answers?<br>Or there is another way to queue call between 2 FreeSwitch. <br>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?</p><p>Best Regards, Evginey.<br><a href="http://blog.buchnev.ru/">http://blog.buchnev.ru</a></p></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></blockquote></div><br></div></body></html>