<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <div id="gt-src-c" class="g-unit">
      <div id="gt-src-p"> </div>
    </div>
    <div id="gt-res-c" class="g-unit">
      <div id="gt-res-p">
        <div id="gt-res-data">
          <div id="gt-res-wrap">
            <div id="gt-res-content" class="almost_half_cell">
              <div dir="ltr" style="zoom:1">
                <div id="tts_button" style="" class=""><object
                    type="application/x-shockwave-flash"
                    data="//www.gstatic.com/translate/sound_player2.swf"
                    id="tts" height="18" width="18"></object></div>
                <span id="result_box" class="short_text" lang="en"><span
                    class="hps">Ok</span><span class="">.</span> <span
                    class="hps">I solved</span> <span class="hps">with
                    this configuration:<br>
                    <br>
                    into /etc/asterisk/extensions.conf<br>
                    <br>
                    [queue_from_central]<br>
                    exten&nbsp;&nbsp;&nbsp; =&gt;&nbsp;&nbsp;&nbsp; _ZXXX,1,NoOp( ** Into </span></span><span
                  id="result_box" class="short_text" lang="en"><span
                    class="hps"><span id="result_box" class="short_text"
                      lang="en"><span class="hps">queue_from_central
                        context ** </span></span>)<br>
                    same&nbsp;&nbsp;&nbsp; =&gt;&nbsp;&nbsp;&nbsp;
n,Set(peer_up=${IF($["SIPPEER(serverA,status)"="OK"]?trunk_serverA:trunk_serverB)})<br>
                    same&nbsp;&nbsp;&nbsp; =&gt;&nbsp;&nbsp;&nbsp;
                    n,Queue(call-center-${peer_up},c,,,60)<br>
                    same&nbsp;&nbsp;&nbsp; =&gt;&nbsp;&nbsp;&nbsp; Hangup()<br>
                    <br>
                    and into /etc/asterisk/queues.conf<br>
                    <br>
                    [</span></span><span id="result_box"
                  class="short_text" lang="en"><span class="hps"><span
                      id="result_box" class="short_text" lang="en"><span
                        class="hps">call-center-trunk_serverA</span></span>]<br>
                    music=default<br>
                    strategy=rrmemory<br>
                    retry=5<br>
                    wrapuptime=10<br>
                    announce-frequency=30<br>
                    announce-position=yes<br>
                    ;; SIP USER<br>
                  </span></span><span id="result_box" class="short_text"
                  lang="en"><span class="hps">member =&gt;
                    SIP/22001@trunk_serverA</span></span><br>
                <span id="result_box" class="short_text" lang="en"><span
                    class="hps">member =&gt; SIP/22002@trunk_serverA<br>
                  </span></span><span id="result_box" class="short_text"
                  lang="en"><span class="hps"><span id="result_box"
                      class="short_text" lang="en"><span class="hps">member
                        =&gt; SIP/22003@trunk_serverA<br>
                        <br>
                      </span></span></span></span><br>
                <span id="result_box" class="short_text" lang="en"><span
                    class="hps"><span id="result_box" class="short_text"
                      lang="en"><span class="hps"><span id="result_box"
                          class="short_text" lang="en"><span class="hps">[</span></span><span
                          id="result_box" class="short_text" lang="en"><span
                            class="hps"><span id="result_box"
                              class="short_text" lang="en"><span
                                class="hps">call-center-trunk_serverB</span></span>]<br>
                            music=default<br>
                            strategy=rrmemory<br>
                            retry=5<br>
                            wrapuptime=10<br>
                            announce-frequency=30<br>
                            announce-position=yes<br>
                            ;; SIP USER<br>
                          </span></span><span id="result_box"
                          class="short_text" lang="en"><span class="hps">member
                            =&gt; SIP/22001@trunk_serverB</span></span><br>
                        <span id="result_box" class="short_text"
                          lang="en"><span class="hps">member =&gt;
                            SIP/22002@trunk_serverB<br>
                          </span></span><span id="result_box"
                          class="short_text" lang="en"><span class="hps"><span
                              id="result_box" class="short_text"
                              lang="en"><span class="hps">member =&gt;
                                SIP/22003@trunk_serverB<br>
                                <br>
                                Thanks Danny ;)<br>
                                <br>
                                Bye :)<br>
                              </span></span></span></span><br>
                      </span></span></span></span></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="moz-cite-prefix">Il 14/12/12 16:59, Danny Nicholas ha
      scritto:<br>
    </div>
    <blockquote cite="mid:007101cdda14$0591e160$10b5a420$@debsinc.com"
      type="cite">
      <pre wrap="">In my experience, you should set up two identical queues and configurations.
With a little work, you should be able to let server 1 know the phone is in
use by server 2 and vice versa.</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 

</pre>
  </body>
</html>