[Freeswitch-users] call_timeout fails for callcenter agents

Brian Foster bdfoster at endigotech.com
Thu Dec 20 22:09:43 MSK 2012


Ready to pay the wiki tax? ;)

Sent from my iPhone

On Dec 20, 2012, at 1:09 PM, Juan Pablo L. <jpablolorenzetti at hotmail.com> wrote:

> Regis thank you very much for your answer, actually leg_timeout worked. i think the wiki and samples, tutorials, etc need to be updated because all of them mention that call_timeout is the variable to set to accomplish what i was looking for, even the sample configuration file that comes with the callcenter says so ... in any case it works now .. thanks!!
> 
> Date: Thu, 20 Dec 2012 08:24:08 +0100
> From: regis.freeswitch.org at tornad.net
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] call_timeout fails for callcenter agents
> 
> Hello.
> I think you must use leg_timeout instead of call_timeout.
> 
> Regards
> 
> 
> 2012/12/19 Juan Pablo L. <jpablolorenzetti at hotmail.com>
> Hi, i m trying to configure a callcenter, i need the application to ring the agentsfor 10 seconds and then move on to the next agent in the list, 
> everything works ok except that the agents ring for more than 10 seconds, so the channel var call_timeout is not being used by
> the callcenter application, probably due to a misconfiguration somewhere but i cant see where ... this is my config for the agents:
> 
> <agent name="2 at callcenter" type="callback" contact=" ignore_early_media=true,originate_timeout=10,call_timeout=10]sofia/gateway/huawei_csoft/6611290" status="Availabl
> e" max-no-answer="3" wrap-up-time="10" reject- delay-time="5" busy-delay-time="5" no-answer-delay-time="5" />
> 
> and this is my config in the dialplan (also tried with exports):
> 
> <action application="set" data="hangup_after_bridge=true"/>
> <action application="set" data="call_timeout=10"/>
> <action application="set" data="originate_timeout=10"/>
> <action application="set" data="ignore_early_media=true"/>
> <action application="callcenter" data="callcenter at default"/>
> 
> i can not see what i m doing wrong so i added that variables in both places (dialplan and the agents defs)
> and i see in the logs that they are being set in both places:
> 
> EXECUTE sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 set(hangup_after_bridge=true)
> 2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 SET [hangup_after_bridge]=[true]
> EXECUTE sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 set(call_timeout=10)
> 2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 SET [call_timeout]=[10]
> EXECUTE sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 set(originate_timeout=10)
> 2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 SET [originate_timeout]=[10]
> EXECUTE sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 set(ignore_early_media=true)
> 2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 SET [ignore_early_media]=[true]
> EXECUTE sofia/external-huawei_gw/2802018 at 10.49.0.2:5062 callcenter(callcenter at default)
> 2012-12-19 15:38:16.716876 [DEBUG] mod_callcenter.c:2508 Member 2802018 <2802018> joining queue callcenter at default
> 2012-12-19 15:38:16.736878 [DEBUG] mod_local_stream.c:417 Opening Stream [moh/8000] 8000hz
> 2012-12-19 15:38:16.736878 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16 at 8000hz 1 channels 20ms
> 2012-12-19 15:38:16.776878 [DEBUG] mod_callcenter.c:1049 Updated Agent 2 at callcenter set state = Receiving
> 2012-12-19 15:38:16.786922 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables
> 2012-12-19 15:38:16.786922 [DEBUG] switch_ivr_originate.c:2425 Parsing session specific variables
> 2012-12-19 15:38:16.786922 [DEBUG] switch_event.c:1569 Parsing variable [ignore_early_media]=[true]
> 2012-12-19 15:38:16.786922 [DEBUG] switch_event.c:1569 Parsing variable [originate_timeout]=[10]
> 2012-12-19 15:38:16.786922 [DEBUG] switch_event.c:1569 Parsing variable [call_timeout]=[10]
> 2012-12-19 15:38:16.786922 [NOTICE] switch_channel.c:951 New Channel sofia/external-huawei_gw/6611290 [09d48fc6-d133-4673-9f12-074af601f1f2]
> 
> 
> kindly give me a hint what i m doing wrong, thanks a lot for your help.
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 
> 
> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com   Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121220/a5ca75fe/attachment-0001.html 


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