[Freeswitch-users] call_timeout fails for callcenter agents

Juan Pablo L. jpablolorenzetti at hotmail.com
Thu Dec 20 00:50:34 MSK 2012


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 bythe 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="Available" 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 default2012-12-19 15:38:16.736878 [DEBUG] mod_local_stream.c:417 Opening Stream [moh/8000] 8000hz2012-12-19 15:38:16.736878 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16 at 8000hz 1 channels 20ms2012-12-19 15:38:16.776878 [DEBUG] mod_callcenter.c:1049 Updated Agent 2 at callcenter set state = Receiving2012-12-19 15:38:16.786922 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables2012-12-19 15:38:16.786922 [DEBUG] switch_ivr_originate.c:2425 Parsing session specific variables2012-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.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121219/1a469d6e/attachment-0001.html 


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