<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Ready to pay the wiki tax? ;)<br><br>Sent from my iPhone</div><div><br>On Dec 20, 2012, at 1:09 PM, Juan Pablo L. <<a href="mailto:jpablolorenzetti@hotmail.com">jpablolorenzetti@hotmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<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: <a href="mailto:regis.freeswitch.org@tornad.net">regis.freeswitch.org@tornad.net</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><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"><<a href="mailto:jpablolorenzetti@hotmail.com">jpablolorenzetti@hotmail.com</a>></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, <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><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" /></div></div><div><br></div><div>and this is my config in the dialplan (also tried with exports):</div>
<div><br></div><div><div><action application="set" data="hangup_after_bridge=true"/></div><div><span style="font-size:12pt"><action application="set" data="call_timeout=10"/></span></div>
<div><action application="set" data="originate_timeout=10"/></div><div><action application="set" data="ignore_early_media=true"/></div><div><span style="font-size:12pt"><action application="callcenter" data="callcenter@default"/></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 <2802018> 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:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div>                                            </div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>