Hello.<br>I think you must use leg_timeout instead of call_timeout.<br><br>Regards<br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/19 Juan Pablo L. <span dir="ltr">&lt;<a href="mailto:jpablolorenzetti@hotmail.com" target="_blank">jpablolorenzetti@hotmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;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>&lt;agent name=&quot;2@callcenter&quot; type=&quot;callback&quot; contact=&quot; 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">&quot; status=&quot;Availabl</span></div>
<div>e&quot; max-no-answer=&quot;3&quot; wrap-up-time=&quot;10&quot; reject- delay-time=&quot;5&quot; busy-delay-time=&quot;5&quot; no-answer-delay-time=&quot;5&quot; /&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=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div><span style="font-size:12pt">&lt;action application=&quot;set&quot; data=&quot;call_timeout=10&quot;/&gt;</span></div>
<div>&lt;action application=&quot;set&quot; data=&quot;originate_timeout=10&quot;/&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;</div><div><span style="font-size:12pt">&lt;action application=&quot;callcenter&quot; data=&quot;callcenter@default&quot;/&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://2802018@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://2802018@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://2802018@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://2802018@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://2802018@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://2802018@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://2802018@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://2802018@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://2802018@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>