<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You should probably use ESL/httapi etc
      with mod_callcenter API commands to handle adding tiers and
      agents, then you can have that called whenever you want.<br>
      <br>
      Cheers<br>
      <br>
      Alex<br>
      <br>
      On 28/05/13 09:37, Regis M wrote:<br>
    </div>
    <blockquote
cite="mid:CAHWtr1SWfuDBnGxFV2BUweGsQL9z=bj=VpBeXxVfOjMQ2wou8Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>mod_callcenter reads configuration only once from
            xml_curl.<br>
          </div>
          You have to do a queue reload each time you change the
          agent/tier configuration, or manualy doing the modification
          with callcenter_config on cli.<br>
          <br>
        </div>
        It's not like dialplan or directory configuration which doing a
        http request on each use.<br>
        <br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/5/27 Anatolii <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:a.mykhalkiv@kwebbl.com" target="_blank">a.mykhalkiv@kwebbl.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p>Hello all!</p>
            <p>Freeswitch version - 1.2.8, installed in Centos.</p>
            <p>Freeswitch always goes for configuration to our server
              (on which CakePHP is situated)</p>
            <p>I have problem with callcenter module in freeswitch.</p>
            <p>In mod_xml_curl add two bindings: dialplan and
              configuration.</p>
            <p>&lt; binding name="configuration"&gt;</p>
            <p> &lt; param name="use-dynamic-url" value="yes"/&gt;</p>
            <p> &lt; param name="gateway-url" value="<a
                moz-do-not-send="true"
href="http://example.comt/freeswitch/configuration/$%7Bour_queue_name%7D$%7Bcompany_id%7D"
                target="_blank">http://example.comt/freeswitch/configuration/${our_queue_name}${company_id}</a>"
              bindings="configuration"/&gt;</p>
            <p>&lt; /binding&gt;</p>
            <p>So, when I restart (start) freeswitch or reload
              mod_callcenter - FS request default configuration for
              callcenter and it works great (FS add queues, agents and
              tiers).</p>
            <p>After that in dialplan for specific number I set
              application callcenter with specific name and set 2 global
              variables, <b>our_queue_name</b> and <b>company_id</b>,
              which send to me with a name of queue and company id. --
              this works fine</p>
            <p>When I receive from freeswitch request - I configure xml
              from db data and send FS callcenter configuration. --
              works fine. <b>FS get correct xml, but add only queue
                settings and absolutely ignoring adding agents and
                tiers.</b> -- This is my problem for now.</p>
            <p>I try to solve this situation by using lua scripts - no
              results.</p>
            <br>
            <hr align="left" width="300">
            View this message in context: <a moz-do-not-send="true"
href="http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-configuration-don-t-register-agents-and-tiers-tp7591135.html"
              target="_blank">Problem with callcenter configuration
              (don't register agents and tiers)</a><br>
            Sent from the <a moz-do-not-send="true"
              href="http://freeswitch-users.2379917.n2.nabble.com/"
              target="_blank">freeswitch-users mailing list archive</a>
            at Nabble.com.<br>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      -- <br>
      This message has been scanned for viruses and
      <br>
      dangerous content by
      <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
      and is
      <br>
      believed to be clean.
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>