[Freeswitch-users] call_timeout fails for callcenter agents
Regis M
regis.freeswitch.org at tornad.net
Thu Dec 20 10:24:08 MSK 2012
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:5062set(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:5062set(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:5062set(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:5062set(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:5062callcenter(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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121220/21c9f5a3/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list