mod_callcenter and agents disconnected
Hello guys! I have been working with mod callcenter today and noted something. If logged as an agent and shutdown the softphone, FS shows the extension when off, but keep the agent as Available, is there any way to change agent status when a registration dies? freeswitch@internal> callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time operador127@soporte|single_box||callback|[call_timeout=10]user/127@ ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186051|0|0|0|0 operador128@soporte|single_box||callback|[call_timeout=10]user/128@ ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186045|0|0|0|0 operador126@soporte|single_box||callback|[call_timeout=10]user/126@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador129@soporte|single_box||callback|[call_timeout=10]user/129@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador148@soporte|single_box||callback|[call_timeout=10]user/148@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador149@soporte|single_box||callback|[call_timeout=10]user/149@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador999@soporte|single_box||callback|[call_timeout=10]user/999@${domain_name}|Logged Out|Waiting|5|10|10|40|0|0|0|0|1482185645|0|0|0|0 +OK Sin mas a que hacer referencia, Victor Medina
hi, there is a pull request that i'm working to add that feature, so you can put the action to execute if the agent answers not registered, the same way as it is now with the option no-answer. Tomorrow i should do the commit so Italo Rossi can review it, the link where you can follow the work: https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/1099... On 12/19/2016 11:36 PM, Victor Medina wrote:
Hello guys!
I have been working with mod callcenter today and noted something. If logged as an agent and shutdown the softphone, FS shows the extension when off, but keep the agent as Available, is there any way to change agent status when a registration dies?
freeswitch@internal> callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time operador127@soporte|single_box||callback|[call_timeout=10]user/127@${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186051|0|0|0|0 operador128@soporte|single_box||callback|[call_timeout=10]user/128@${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186045|0|0|0|0 operador126@soporte|single_box||callback|[call_timeout=10]user/126@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador129@soporte|single_box||callback|[call_timeout=10]user/129@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador148@soporte|single_box||callback|[call_timeout=10]user/148@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador149@soporte|single_box||callback|[call_timeout=10]user/149@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador999@soporte|single_box||callback|[call_timeout=10]user/999@${domain_name}|Logged Out|Waiting|5|10|10|40|0|0|0|0|1482185645|0|0|0|0 +OK
Sin mas a que hacer referencia,
Victor Medina
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Excellent! Sin mas a que hacer referencia, Victor Medina On Mon, Dec 19, 2016 at 7:50 PM, Antonio Silva <asilva@wirelessmundi.com> wrote:
hi,
there is a pull request that i'm working to add that feature, so you can put the action to execute if the agent answers not registered, the same way as it is now with the option no-answer.
Tomorrow i should do the commit so Italo Rossi can review it, the link where you can follow the work:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/ pull-requests/1099/overview
On 12/19/2016 11:36 PM, Victor Medina wrote:
Hello guys!
I have been working with mod callcenter today and noted something. If logged as an agent and shutdown the softphone, FS shows the extension when off, but keep the agent as Available, is there any way to change agent status when a registration dies?
freeswitch@internal> callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer| wrap_up_time|reject_delay_time|busy_delay_time|no_ answer_delay_time|last_bridge_start|last_bridge_end|last_ offered_call|last_status_change|no_answer_count|calls_ answered|talk_time|ready_time operador127@soporte|single_box||callback|[call_timeout=10]user/127@ ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186051|0|0|0|0 operador128@soporte|single_box||callback|[call_timeout=10]user/128@ ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186045|0|0|0|0 operador126@soporte|single_box||callback|[call_timeout=10]user/126@ ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador129@soporte|single_box||callback|[call_timeout=10]user/129@ ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador148@soporte|single_box||callback|[call_timeout=10]user/148@ ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador149@soporte|single_box||callback|[call_timeout=10]user/149@ ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador999@soporte|single_box||callback|[call_timeout=10]user/999@ ${domain_name}|Logged Out|Waiting|5|10|10|40|0|0|0|0|1482185645|0|0|0|0 +OK
Sin mas a que hacer referencia,
Victor Medina
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
participants (2)
-
Antonio Silva
-
Victor Medina