<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 7/28/11 1:31 AM, Anto wrote:
    <blockquote
cite="mid:CA+Ecp7Sm9iFPiORGpeUbukPovQapWtUxtehYtsgzxD_qbQtQfQ@mail.gmail.com"
      type="cite"><span id="result_box" class="long_text"><span
          style="background-color: rgb(235, 239, 249);" title="Hola">Hello
          <br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="Se me presenta un problema porque no se como asimilar
          la implementacion.">It presents a problem because I do not
          know how to assimilate the implementation. </span><span
          style="background-color: rgb(255, 255, 255);" title="Hasta
          ahora teniamos un dise&ntilde;o de un proxy para balancear la salida
          entre varios gateway, pero se va a a&ntilde;adir otro proxy para otro
          servicio (de otros usuarios) y usara los mismos gateway de
          salida o quizas distintos (aun no se que sera mejor, si">Until
          now we had a design of a proxy to balance out between several
          gateway, but it will add another proxy for another service
          (other users) and use the same gateway output or perhaps
          different (although not that be better if </span><span
          title="dividir o unificar los gateway).">divide or unify the
          gateway). </span><span style="background-color: rgb(255, 255,
          255);" title="El problema lo tengo con el enrutado de entrada,
          que no se muy bien como implementarlo.">The problem as I have
          with the routing entry, which is not very well how to
          implement it.
          <br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="Ahora tenemos el dise&ntilde;o asi:">Now we have the design
          like this:
          <br>
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -GW ----\&nbsp;&nbsp; <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; -
          CARRIER1<br>
          USER ------ KAMAILIO -----&nbsp; GW ---- +<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -
          CARRIER2<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; -GW ----/</span><span
          title="-GW ----/"><br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="Y pasara a ser asi:">And becomes like this:
          <br>
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
          -GW ----\&nbsp;&nbsp; <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
          /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - CARRIER1<br>
          USER ------ KAMAILIOSERVICE1 -----&nbsp; GW ---- +<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
          \&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; - CARRIER2<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          -GW ----/<br>
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
          -GW ----\&nbsp;&nbsp; <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
          /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - CARRIER1<br>
          USER ------ KAMAILIOSERVICE2 -----&nbsp; GW ---- +<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; - CARRIER2<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          -GW ----/<br>
        </span><span title="-GW ----/"><br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="O quizas usando los mismos gateway.">Or maybe using the
          same gateway.
          <br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="El problema es que cada carrier nos proporciona varios
          DID (utilizo los mismos para ambos servicios).">The problem is
          that each carrier provides DID number (I use the same for both
          services). </span><span style="background-color: rgb(255,
          255, 255);" title="Habia pensado poner un kamailio entre los
          gateway y los carriers, que compruebe el did de que servicio
          es y lo mande a su correspondiente gateway (en el caso de
          tener los gateway por separado) o bien, ponerlo entre los
          gateway y los proxy haciendo la">Kamailio had thought to put a
          gateway between the carriers and that they did check the
          service and send it to the corresponding gateway (in the case
          of the gateway separately), or put it in the proxy gateway and
          making </span><span title="comprobacion para saber a que
          proxy enrutar (en el caso de usar los mismos gateway).">checking
          for routing to proxy (in the case of using the same gateway).
        </span><span style="background-color: rgb(255, 255, 255);"
          title="&iquest;Cual seria mejor?&iquest;Alguna recomendacion de como llevar
          esto a la practica?.">What would be better? Any
          recommendations on how to put this into practice?.
          <br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="Lo que mayor duda me crea, es la tabla de enrutado, ya
          que si este nuevo proxy enruta el trafico de entrada y deja su
          ip en el campo via, tambien pasara por el los datos de salida
          (tengo dudas si a nivel SIP, siguiendo">The biggest question
          that I believe is the routing table, as if this new proxy
          routes the traffic into and leaves her in the field via ip,
          also pass through the output data (I have doubts whether SIP
          level, following </span><span title="estandar, se puede hacer
          que no pase por el la salida) y quisiera que fuese directo
          (USER-&gt;PROXY-&gt;GW-&gt;CARRIER), solo pasando por el la
          entrada.">standard, you can not pass through the exit) and
          want it to be direct (USER -&gt; Proxy -&gt; GW -&gt;
          CARRIER), just past the entrance.
          <br>
          <br>
        </span><span style="background-color: rgb(255, 255, 255);"
          title="&iquest;Alguien me podria aconsejar donde podria encontrar mas
          informacion para montar este escenario?.">Anyone could advise
          me where I could find more information to set up this
          scenario?. </span><span style="background-color: rgb(255,
          255, 255);" title="gracias y perdon por molestarles con esta
          duda ;-).">thanks and sorry for bothering you with this
          question ;-).
          <br>
        </span></span></blockquote>
    unfortunately I was not able to understand exactly what you are
    looking for. Are you asking hints about the best way to route calls
    from carriers towards users? If you control the gateways, then you
    can instruct there where to send the calls based on DID. Otherwise,
    both kamailio instances can have some did map (for example using
    mtree module) and route locally through location or send the calls
    to the other kamailio instance.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>