it's not just logged off to available, it's all of the agent's settings
if you 'add' an agent, you need to 'set' each parameter
maybe there should be a 'reload' agent API that does what im talking about. like the 'reload queue' api


On Fri, Oct 4, 2013 at 3:06 PM, Mimiko <vbvbrj@gmail.com> wrote:
On 04.10.2013 20:55, Vik Killa wrote:
> this seems silly since if you do reload mod_callcenter, the XML is read
> from the agent data and the agent is added with those attributes.... why
> not have the add agent function same as if the module is being reloaded?

It's not silly. When you do a reload mod_callcenter, it's actually
deletes all config an adds again agents in the same way as you do from
CLI. In your case isn't better to just set agent's status to 'Loggd Off'
and then 'Available'? Thus retaining agent's settings.

--
Mimiko desu.

_________________________________________________________________________
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