<div dir="ltr">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? </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 12:40 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 17:45, Vik Killa wrote:<br>
&gt; callcenter_config agent add agent1 callback<br>
&gt; ^ when i run this command, the agent is added back but all the agent&#39;s<br>
&gt; parameters are defaulted... shouldn&#39;t it read the callcenter.conf.xml<br>
&gt; for the default values of the agent?<br>
<br>
</div>Think of agents like UUIDs. Names are just aliases. Every time an agent<br>
is added to the system via agent add, or from callcenter config file, it<br>
is a new UUID. That&#39;s why parameters are default. Add needed parameters<br>
again from CLI.<br>
<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>
</blockquote></div><br></div>