Hey Peter Much thanks :) It worked like a charm! Now I am able to ring an agent via mod_callcenter and if the agent does not answer, then the caller is not answered. Magic ! Now all I need to do is to hangup the caller if the agent does not answer / cancels .... regards, Anita On Wed, Mar 7, 2012 at 12:41 PM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
Look in the code for switch_channel_answer(), that's what causes the call to be answered.
Anyway, even though an unanswered call seems great in theory, it usually doesn't work, because the providers will only allow that state for a limited time. So in the end, answer is usually what must be done anyway.
/Peter
----- Reply message ----- Från: "Anita Hall" <anita.hall@simmortel.com> Datum: ons, mar 7, 2012 07:24 Rubrik: [Freeswitch-users] answer when agent connects in mod_callcenter Till: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Hi!
I tried mod_callcenter and I must say it is an amazing piece of work by Marc Olivier Chouinard! We had built something like this over ESL but nothing beats a loadable module :)
The tricky question is how do I configure it so that the caller is answered only after an agent is connected? By default, the call is answered and moh is played. Is it even possible or do I have to look inside mod_callcenter? If that, exactly where does a module answer a call ?
Thanks.
regards, Anita
!DSPAM:4f56fcb432761851621280!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org