<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      10.02.2014 13:24, Bogdan-Andrei Iancu пишет:<br>
    </div>
    <blockquote cite="mid:52F89AB5.7000101@opensips.org" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix"><tt>Hello,<br>
          <br>
          In this scenario:<br>
              </tt><br>
        <tt>    Astеrisk &lt;-- 3 -- OpenSIPS &lt;-- 4 -- UAC<br>
          <br>
          What SIP requests the UAC is sending ? REGISTER ? INVITES ?<br>
        </tt></div>
    </blockquote>
    <tt>Hello!<br>
      <br>
      UAC registered to Opensips, Opensips registered as UAC on
      Asterisk. When the INVITE request comes from the UAC, Opensips
      need to sent INVITE to Asterisk as UAC.<br>
      <br>
      Note that the UAC does not know about Asterisk and Asterisk does
      not know about UAC. Asterisk know about only Opensips.<br>
      <br>
      It is necessary to any UAC registered on Opensips could imagine
      how extension on Asterisk, without changing the configuration of
      UAC.<br>
      <br>
      Thank you.<br>
    </tt><br>
    <blockquote cite="mid:52F89AB5.7000101@opensips.org" type="cite">
      <div class="moz-cite-prefix"><tt> <br>
          <br>
          Regards,<br>
        </tt>
        <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
        On 20.01.2014 13:05, Александр Пучков wrote:<br>
      </div>
      <blockquote cite="mid:52DD02FE.4060507@poig.ru" type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        Hi!<br>
        <br>
        OpenSIPS version 1.8.<br>
        <br>
        <span id="result_box" class="short_text" lang="en"><span
            class="hps">We have the following</span> <span class="hps">diagram</span><span>:<br>
            <br>
            PSTN        &lt;-- 1 --&gt; OpenSIPS    &lt;-- 2 --&gt;
            Astеrisk    &lt;-- 3 --&gt; UAC<br>
            192.168.1.1 &lt;-- 1 --&gt; 192.168.1.2 &lt;-- 2 --&gt;
            192.168.1.3 &lt;-- 3 --&gt; 192.168.1.*<br>
            <br>
          </span></span><span id="result_box" class="" lang="en"><span
            class="hps">I would like to</span> <span class="hps">make</span>
          <span class="hps">the following scheme:<br>
            <br>
            PSTN        &lt;-- 1 --&gt; OpenSIPS    &lt;-- 2 --&gt;
            Astеrisk    &lt;-- 3 --&gt; OpenSIPS    &lt;-- 4 --&gt; UAC<br>
            192.168.1.1 &lt;-- 1 --&gt; 192.168.1.2 &lt;-- 2 --&gt;
            192.168.1.3 &lt;-- 3 --&gt; 192.168.1.2 &lt;-- 4 --&gt;
            192.168.1.*<br>
          </span></span><br>
        <div id="gt-res-content" class="almost_half_cell">
          <div dir="ltr" style="zoom:1"><span id="result_box"
              class="short_text" lang="en"><span class="hps">Interestingly</span>
              <span class="hps">the following schema fragment</span><span
                class="">:</span></span></div>
        </div>
        <span id="result_box" class="" lang="en"><span class="hps">Astеrisk   


            &lt;-- 3 --&gt; OpenSIPS    &lt;-- 4 --&gt; UAC<br>
            <br>
          </span></span><span id="result_box" class="" lang="en"><span
            class="hps">Here</span> <span class="hps">OpenSIPS</span> <span
            class="hps">need</span> <span class="hps">to increase
            control</span> <span class="hps">over the services</span> <span
            class="hps">for</span> <span class="hps">UAC.</span> <span
            class="hps">UAC</span> <span class="hps">should not know</span>
          <span class="hps">about the existence of</span> <span
            class="hps">Asterisk</span> <span class="hps">and</span> <span
            class="hps">UAC</span> <span class="hps">must be
            registered </span><span class="hps">on the server</span> <span
            class="hps">OpenSIPS,</span> <span class="hps">and</span> <span
            class="hps">any SIP request</span> <span class="hps">OpenSIPS</span>
          <span class="hps">should redirect</span> <span class="hps">to</span>
          <span class="hps">Asterisk</span><span class="">.</span></span><br>
        <br>
        <span id="result_box" class="" lang="en"><span class="hps">I
            tried</span> <span class="hps">to use the module</span> <span
            class="hps">in</span> <span class="hps">UAC_REGISTRANT</span>
          <span class="hps">OpenSIPS,</span> <span class="hps">it works
            fine</span> <span class="hps">in the direction</span><span
            class="">:</span></span><br>
        <br>
        Astеrisk -- 3 --&gt; OpenSIPS -- 4 --&gt; UAC<br>
        <br>
        <span id="result_box" class="short_text" lang="en"><span
            class="hps">But</span> <span class="hps">how to implement</span>
          <span class="hps">the scheme</span> <span class="hps">in the</span>
          <span class="hps">direction:</span></span><br>
        <br>
        Astеrisk &lt;-- 3 -- OpenSIPS &lt;-- 4 -- UAC<br>
        <br>
        <span id="result_box" class="" lang="en"><span class="hps">I do
            not really</span> <span class="hps">imagine</span><span>.</span>
          <span class="hps">Please</span> <span class="hps">tell me how</span>
          <span class="hps">it can be implemented</span><span class="">.</span></span><br>
        <br>
        Thank!<br>
        <br>
        <br>
        <b>Александр Пучков,<br>
          Системный администратор,<br>
          Тел.: +7(496) 569-24-24 доб.тел. 255;<br>
          e-mail: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:mailex@poig.ru">mailex@poig.ru</a>;<br>
        </b>ООО "ПОИГ" (Интернет-провайдер г. Щелково)<br>
        Факс: +7(496) 569-24-24 доб. 103;<br>
        Адрес: 141108, М.О., г.Щелково, Пролетарский пр., д.11;<br>
        WEB: <a moz-do-not-send="true"
          href="http://www.schelkovo-net.ru">http://www.schelkovo-net.ru</a><br>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  
<br>
</hl><br>
<b>Александр Пучков,<br>Системный администратор,<br>Тел.:      +7(496) 569-24-24 доб.тел. 255;<br></b>ООО "ПОИГ" (Интернет-провайдер г. Щелково)<br>Факс:      +7(496) 569-24-24 доб. 103;<br>Адрес:     141108, М.О., г.Щелково, Пролетарский пр., д.11;<br>WEB:       <a href="http://www.schelkovo-net.ru">http://www.schelkovo-net.ru</a><br>
<br>
</body>
</html>