<div dir="ltr">it&#39;s not just logged off to available, it&#39;s all of the agent&#39;s settings<div>if you &#39;add&#39; an agent, you need to &#39;set&#39; each parameter</div><div>maybe there should be a &#39;reload&#39; agent API that does what im talking about. like the &#39;reload queue&#39; api</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 3:06 PM, Mimiko <span dir="ltr">&lt;<a href="mailto:vbvbrj@gmail.com" target="_blank">vbvbrj@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 04.10.2013 20:55, Vik Killa wrote:<br>
&gt; this seems silly since if you do reload mod_callcenter, the XML is read<br>
&gt; from the agent data and the agent is added with those attributes.... why<br>
&gt; not have the add agent function same as if the module is being reloaded?<br>
<br>
</div>It&#39;s not silly. When you do a reload mod_callcenter, it&#39;s actually<br>
deletes all config an adds again agents in the same way as you do from<br>
CLI. In your case isn&#39;t better to just set agent&#39;s status to &#39;Loggd Off&#39;<br>
and then &#39;Available&#39;? Thus retaining agent&#39;s settings.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Mimiko desu.<br>
<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>
</div></div></blockquote></div><br></div>