<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>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!!<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 20 Dec 2012 08:24:08 +0100<br>From: regis.freeswitch.org@tornad.net<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] call_timeout fails for callcenter agents<br><br>Hello.<br>I think you must use leg_timeout instead of call_timeout.<br><br>Regards<br><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">2012/12/19 Juan Pablo L. <span dir="ltr">&lt;<a href="mailto:jpablolorenzetti@hotmail.com">jpablolorenzetti@hotmail.com</a>&gt;</span><br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">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,&nbsp;<div>everything works ok except that the agents ring for more than 10 seconds, so the channel var call_timeout is not being used by</div>
<div>the callcenter application, probably due to a misconfiguration somewhere but i cant see where ... this is my config for the agents:</div><div><br></div><div><div>&lt;agent name="2@callcenter" type="callback" contact=" ignore_early_media=true,originate_timeout=10,call_timeout=10]sofia/gateway/huawei_csoft/<span style="font-size:12pt">6611290</span><span style="font-size:12pt">" status="Availabl</span></div>
<div>e" max-no-answer="3" wrap-up-time="10" reject- delay-time="5" busy-delay-time="5" no-answer-delay-time="5" /&gt;</div></div><div><br></div><div>and this is my config in the dialplan (also tried with exports):</div>
<div><br></div><div><div>&lt;action application="set" data="hangup_after_bridge=true"/&gt;</div><div><span style="font-size:12pt">&lt;action application="set" data="call_timeout=10"/&gt;</span></div>
<div>&lt;action application="set" data="originate_timeout=10"/&gt;</div><div>&lt;action application="set" data="ignore_early_media=true"/&gt;</div><div><span style="font-size:12pt">&lt;action application="callcenter" data="callcenter@default"/&gt;</span></div>
</div><div><br></div><div>i can not see what i m doing wrong so i added that variables in both places (dialplan and the agents defs)</div><div>and i see in the logs that they are being set in both places:</div><div><br></div>
<div><div>EXECUTE sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> set(hangup_after_bridge=true)</div><div>2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> SET [hangup_after_bridge]=[true]</div>
<div>EXECUTE sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> set(call_timeout=10)</div><div>2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> SET [call_timeout]=[10]</div>
<div>EXECUTE sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> set(originate_timeout=10)</div><div>2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> SET [originate_timeout]=[10]</div>
<div>EXECUTE sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> set(ignore_early_media=true)</div><div>2012-12-19 15:38:16.716876 [DEBUG] mod_dptools.c:1335 sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> SET [ignore_early_media]=[true]</div>
<div><span style="font-size:12pt">EXECUTE sofia/external-huawei_gw/<a href="http://10.49.0.2:5062" target="_blank">2802018@10.49.0.2:5062</a> callcenter(callcenter@default)</span></div></div><div><span style="font-size:12pt"><div>
2012-12-19 15:38:16.716876 [DEBUG] mod_callcenter.c:2508 Member 2802018 &lt;2802018&gt; joining queue callcenter@default</div><div>2012-12-19 15:38:16.736878 [DEBUG] mod_local_stream.c:417 Opening Stream [moh/8000] 8000hz</div>
<div>2012-12-19 15:38:16.736878 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms</div><div>2012-12-19 15:38:16.776878 [DEBUG] mod_callcenter.c:1049 Updated Agent 2@callcenter set state = Receiving</div>
<div>2012-12-19 15:38:16.786922 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables</div><div>2012-12-19 15:38:16.786922 [DEBUG] switch_ivr_originate.c:2425 Parsing session specific variables</div><div>2012-12-19 15:38:16.786922 [DEBUG] switch_event.c:1569 Parsing variable [ignore_early_media]=[true]</div>
<div>2012-12-19 15:38:16.786922 [DEBUG] switch_event.c:1569 Parsing variable [originate_timeout]=[10]</div><div>2012-12-19 15:38:16.786922 [DEBUG] switch_event.c:1569 Parsing variable [call_timeout]=[10]</div><div>2012-12-19 15:38:16.786922 [NOTICE] switch_channel.c:951 New Channel sofia/external-huawei_gw/6611290 [09d48fc6-d133-4673-9f12-074af601f1f2]</div>
<div><br></div></span></div><div><br></div><div>kindly give me a hint what i m doing wrong, thanks a lot for your help.</div><div><br></div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________
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</div>                                               </div></body>
</html>