<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I already have tried mod_callcenter
      with queue.<br>
      <br>
      All worked perfectly except only one thing -&nbsp; calls was routed
      with "call center server" peer number(if it was registered as
      agent). So I can't keep original destination number.&nbsp; <br>
      Also I have tried to make mod_callcenter agent concact via sofia
      external gateway. Nevertheless my <span id="result_box"
        class="short_text" lang="en"><span class="hps">attempts </span></span>to
      change destination number for restoring calls via channel's sip
      header variables ended with security issue.<br>
      <br>
      Really helpfull will be xml diaplan code, if it can be done
      another way.<br>
      <br>
      Thanks.<br>
      <br>
      <br>
      30.11.2013 22:34, Ali Pey &#1087;&#1080;&#1096;&#1077;&#1090;:<br>
    </div>
    <blockquote
cite="mid:CA+q4kRKmTW5-ZLyGgSpuRwbH=75jkQHR+sabWD17O61J1oV-Hw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Why don't you try to use Freeswitch queue feature?
        When calls are routed to freeswitch, freeswitch can queue them
        up and then route them to your call center server when you call
        center is reachable.
        <div>
          <br>
        </div>
        <div>Freeswitch can ping (Options) your call center server to
          detect if it's reachable or not.&nbsp;<br>
          <div><br>
          </div>
          <div>Regards,</div>
          <div>Ali Pey<br>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">
                On Sat, Nov 30, 2013 at 2:31 AM, Nikita Tarasov <span
                  dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:luckyraul@gmx.com" target="_blank">luckyraul@gmx.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 style="line-height:initial">
                    <div
                      style="text-align:initial;color:rgb(31,73,125);font-size:initial;width:100%;font-family:Calibri,'Slate
                      Pro',sans-serif">Let me rephrase. I am trying to
                      make redundant our priopretary call center server,
                      which doesn't have own capabilities to do it. For
                      that I am using opensips for detection of failure,
                      and for traffic routing. &nbsp;freeswitch is for
                      temporary &nbsp;replacement, while that software is
                      down. I need to make on freeswitch waiting buffer
                      and release it to recovered server with keeping
                      destination number.&nbsp;</div>
                    <div
                      style="text-align:initial;color:rgb(31,73,125);font-size:initial;width:100%;font-family:Calibri,'Slate
                      Pro',sans-serif">
                      <br style="display:initial">
                    </div>
                    <div
                      style="text-align:initial;color:rgb(31,73,125);font-size:initial;font-family:Calibri,'Slate
                      Pro',sans-serif">
                    </div>
                    <table style="border-spacing:0px" width="100%">
                      <tbody>
                        <tr>
                          <td colspan="2"
                            style="text-align:initial;font-size:initial">
                            <div style="border-style:solid none
                              none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt
                              0in 0in;font-family:Tahoma,'BB Alpha
                              Sans','Slate Pro';font-size:10pt">
                              <div><b>From: </b>Ali Pey</div>
                              <div><b>Sent: </b>Saturday, 30 November
                                2013 07:48</div>
                              <div><b>To: </b>FreeSWITCH Users Help</div>
                              <div><b>Reply To: </b>FreeSWITCH Users
                                Help</div>
                              <div><b>Subject: </b>Re:
                                [Freeswitch-users] Disastery Plan</div>
                            </div>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                    <div>
                      <div class="h5"><br>
                        <div>
                          <div dir="ltr">Hello,
                            <div>
                              <br>
                            </div>
                            <div>It's not quite clear what you are
                              asking. Are you trying to have redundant
                              opensips servers or redundant freeswitch
                              servers?<br>
                              <div class="gmail_extra">What do you mean
                                by ONE sip server? Everything is a sip
                                server.</div>
                              <div class="gmail_extra"><br>
                              </div>
                              <div class="gmail_extra">Opensips is quite
                                capable of detecting if a server is down
                                and re-route the calls to a redundant
                                server. That's what the load balancer
                                module does.</div>
                              <div class="gmail_extra">
                                <br>
                              </div>
                              <div class="gmail_extra">Regards,</div>
                              <div class="gmail_extra">Ali Pey</div>
                              <div class="gmail_extra"><br>
                                <br>
                                <div class="gmail_quote">On Thu, Nov 28,
                                  2013 at 6:21 AM, Nikita Tarasov <span
                                    dir="ltr">&lt;<a
                                      moz-do-not-send="true"
                                      href="mailto:luckyraul@gmx.com"
                                      target="_blank">luckyraul@gmx.com</a>&gt;</span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex"><span
                                      style="font-family:Verdana"><span
                                        style="font-size:12px">
                                        <p class="MsoNormal"><span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>Hi
                                                guys.&nbsp; </span></span></span></p>
                                        <p class="MsoNormal"><span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px">&nbsp;</span></span></p>
                                        <p class="MsoNormal"><span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>We
                                                have
                                                loadbalancer(opensips)
                                                and a huge amount of
                                                incoming calls going to
                                                ONE sip server, which is
                                                unscalable and
                                                priopretary. </span></span></span></p>
                                        <p class="MsoNormal"><span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>I
                                                need to create some kind
                                                of disastery plan for
                                                this server service is
                                                down or on high load. </span></span></span></p>
                                        <p class="MsoNormal">
                                          <span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>The
                                                main idea of this plan
                                                is, when disastery
                                                happends, to balance all
                                                incoming calls to
                                                freeswitch and keep them
                                                with music, while main
                                                server is down.</span></span></span></p>
                                        <p class="MsoNormal"><span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>On
                                                recovery calls should be
                                                forwarded to main server
                                                with the same
                                                destination number as
                                                they was.</span></span></span></p>
                                        <p class="MsoNormal">
                                          <span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>I
                                                have tryed to make it
                                                with mod_callcenter. It
                                                was done by placing
                                                calls in queue and when
                                                main server is on and
                                                re-registered on
                                                freeswitch, calls was
                                                forwarded. </span>But
                                              without destination
                                              number.</span></span></p>
                                        <p class="MsoNormal"><span
                                            style="font-family:Verdana"><span
                                              style="font-size:12px"><span>And
                                                I can't copy destination
                                                number to forwarded
                                                calls.</span></span></span></p>
                                        <br>
                                        <span
                                          style="font-family:Verdana"><span
                                            style="font-size:12px">Can
                                            you help me?</span></span></span></span>
                                    <br>
_________________________________________________________________________<br>
                                    Professional FreeSWITCH Consulting
                                    Services:<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:consulting@freeswitch.org"
                                      target="_blank">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"
                                      target="_blank">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>
                              <img moz-do-not-send="true"></div>
                          </div>
                          <br>
                        </div>
                      </div>
                    </div>
                  </div>
                  <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>
_________________________________________________________________________<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>
            <img moz-do-not-send="true" class="cm-tracker"
src="imap://luckyraul%40gmx%2Ecom@imap.gmx.com:993/fetch%3EUID%3E/Drafts%3E994?cm_session=a82ab016-03e5-4d6a-b76b-8a9de8d1dc1a&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com"></div>
        </div>
      </div>
      <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>