<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><span id="result_box" class=""
        lang="en"><span title="Несколько ÑÐ»Ð¾Ð² Ð¾ ÑÑ‚руктуре ÑÐµÑ‚и:
          ">A few words about the structure of my network.<br>
          <br>
        </span><span title="У Ð¼ÐµÐ½Ñ Ð´Ð¾ÑÑ‚аточно Ð¿Ñ€Ð¾ÑÑ‚ая ÑÑ‚руктура:
          ">I have a very simple structure:<br>
          <br>
        </span><span title="UAC &lt;---&gt; OpenSIPS &lt;---&gt; PSTN
          ">UAC &lt;---&gt; OpenSIPS &lt;---&gt; PSTN<br>
          <br>
        </span><span title="Это Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÐµÑ‚ Ð¾Ð±Ñ‹Ñ‡Ð½Ð¾Ð¼Ñƒ ÐºÐ»Ð¸ÐµÐ½Ñ‚у ÑÐ¾Ð²ÐµÑ€ÑˆÐ°Ñ‚ÑŒ Ð¸
          Ð¿Ñ€Ð¸Ð½Ð¸Ð¼Ð°Ñ‚ÑŒ Ð·Ð²Ð¾Ð½ÐºÐ¸.
          ">This allows a regular customer to make and receive calls.<br>
        </span><span title="Я Ð¶Ðµ Ñ…очу Ð¿Ñ€ÐµÐ´Ð¾ÑÑ‚авлять Ð½ÐµÐºÐ¾Ñ‚орым ÐºÐ»Ð¸ÐµÐ½Ñ‚ам
          Ñ€Ð°ÑÑˆÐ¸Ñ€ÐµÐ½Ð½Ñ‹Ð¹ ÑÐµÑ€Ð²Ð¸Ñ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ Ð°ÑÑ‚ериска, Ðº Ð¿Ñ€Ð¸Ð¼ÐµÑ€Ñƒ Ð³Ð¾Ð»Ð¾ÑÐ¾Ð²ÑƒÑŽ
          Ð¿Ð¾Ñ‡Ñ‚у.
          ">I want to provide SOME customers extended service using an
          asterisk, for example - voicemail.<br>
          <br>
        </span><span title="На Ð´Ð°Ð½Ð½Ñ‹Ð¹ Ð¼Ð¾Ð¼ÐµÐ½Ñ‚ Ñ Ð½Ð°ÑˆÐµÐ» Ñ‚акой Ð²Ñ‹Ñ…од Ð´Ð»Ñ
          ÑÑ‚их ÐºÐ»Ð¸ÐµÐ½Ñ‚ов:
          ">At the moment, I found a way out for these customers (with
          extended service) :<br>
          <br>
        </span><span title="UAC &lt;---&gt; OpenSIPS &lt;---&gt;
          ASTERISK &lt;---&gt; PSTN
          ">UAC &lt;---&gt; OpenSIPS &lt;---&gt; ASTERISK &lt;---&gt;
          PSTN<br>
          <br>
        </span><span title="Соответственно, ÐºÐ»Ð¸ÐµÐ½Ñ‚Ñ‹ (UAC), ÐºÐ¾Ñ‚орые
          Ð´Ð¾Ð»Ð¶Ð½Ñ‹ ÑƒÑ…одить Ð² PSTN Ñ‡ÐµÑ€ÐµÐ· Asterisk Ð·Ð°Ð½ÐµÑÐµÐ½Ñ‹ Ð² Ð³Ñ€ÑƒÐ¿Ð¿Ñƒ
          &quot;asterisk&quot;.
          ">Accordingly , </span></span><span id="result_box" class=""
        lang="en"><span title="Соответственно, ÐºÐ»Ð¸ÐµÐ½Ñ‚Ñ‹ (UAC), ÐºÐ¾Ñ‚орые
          Ð´Ð¾Ð»Ð¶Ð½Ñ‹ ÑƒÑ…одить Ð² PSTN Ñ‡ÐµÑ€ÐµÐ· Asterisk Ð·Ð°Ð½ÐµÑÐµÐ½Ñ‹ Ð² Ð³Ñ€ÑƒÐ¿Ð¿Ñƒ
          &quot;asterisk&quot;.
          "><span id="result_box" class="" lang="en"><span title="На
              Ð´Ð°Ð½Ð½Ñ‹Ð¹ Ð¼Ð¾Ð¼ÐµÐ½Ñ‚ Ñ Ð½Ð°ÑˆÐµÐ» Ñ‚акой Ð²Ñ‹Ñ…од Ð´Ð»Ñ ÑÑ‚их ÐºÐ»Ð¸ÐµÐ½Ñ‚ов:
              ">customers</span></span> (UAC), which should go to the
          PSTN through Asterisk listed in the group "asterisk".<br>
          <br>
        </span><span title="Важный Ð¼Ð¾Ð¼ÐµÐ½Ñ‚: OpenSIPS Ð´Ð¾Ð»Ð¶ÐµÐ½ Ð±Ñ‹Ñ‚ÑŒ
          Ð·Ð°Ñ€ÐµÐ³ÐµÑÑ‚рирован ÐºÐ°Ðº UAC Ð½Ð° asterisk ÐºÐ°Ðº extension, Ð¸Ð½Ð°Ñ‡Ðµ
          Ñ€Ð°ÑÑˆÐ¸Ñ€ÐµÐ½Ð½Ñ‹Ð¹ ÑÐµÑ€Ð²Ð¸Ñ Ð½ÐµÐ»ÑŒÐ·Ñ Ð±ÑƒÐ´ÐµÑ‚ Ð¿Ñ€ÐµÐ´Ð¾ÑÑ‚авить.
          ">An important point: OpenSIPS must be registered as UAC on
          how asterisk extension, otherwise the service will not be
          extended to provide.<br>
        </span><span title="Кроме Ñ‚ого, Ð½Ð°Ð¼Ð½Ð¾Ð³Ð¾ Ð¿Ñ€Ð¾Ñ‰Ðµ Ð²Ð½ÐµÑÑ‚и
          Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚еля Ð² Ð³Ñ€ÑƒÐ¿Ð¿Ñƒ &quot;asterisk&quot;, Ñ‡ÐµÐ¼ Ð¼ÐµÐ½ÑÑ‚ÑŒ
          Ð½Ð°ÑÑ‚ройки ÐµÐ³Ð¾ SIP-клиента.
          ">Also, much easier to make the user to the "asterisk" group,
          than tweak its SIP-client.<br>
          <br>
        </span><span title="Для Ñ‚ого, Ñ‡Ñ‚обы ÑÑ‚о ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ñ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð»
          Ð¼Ð¾Ð´ÑƒÐ»ÑŒ uac_registrant, Ð¾Ð½ Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÐµÑ‚ Ð·Ð°Ñ€ÐµÐ³Ð¸ÑÑ‚рировать OpenSIPS
          ÐºÐ°Ðº UAC Ð½Ð° asterisk.
          ">In order to do this I used the module "uac_registrant", it
          allows you to register as OpenSIPS to UAC asterisk.<br>
          <br>
        </span><span title="С ÐµÐ³Ð¾ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ Ñ Ð¼Ð¾Ð³Ñƒ ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ð·Ð²Ð¾Ð½Ð¾Ðº:
          ">With it, I can make a call :<br>
          <br>
        </span><span title="UAC &lt;--- OpenSIPS &lt;--- ASTERISK
          &lt;--- PSTN
          ">UAC &lt;--- OpenSIPS &lt;--- ASTERISK &lt;--- PSTN<br>
          <br>
        </span><span title="А Ð²Ð¾Ñ‚ Ñ‚акой Ð·Ð²Ð¾Ð½Ð¾Ðº ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ð½Ðµ Ð¼Ð¾Ð³Ñƒ:
          ">But such a call can not do :<br>
          <br>
        </span><span title="UAC ---&gt; OpenSIPS ---&gt; ASTERISK
          ---&gt; PSTN
          ">UAC ---&gt; OpenSIPS ---&gt; ASTERISK ---&gt; PSTN<br>
          <br>
        </span><span title="Я Ð¿Ñ€Ð¾Ð±Ð¾Ð²Ð°Ð» Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÑŒ topology_hiding() Ð¸
          match_dialog(),
          ">I tried using topology_hiding () and match_dialog (),<br>
          <br>
        </span><span title="но Ð¿Ñ€Ð¸ ÑÑ‚ом OpenSIPS Ð½Ðµ Ð¿ÐµÑ€ÐµÑÑ‹Ð»Ð°ÐµÑ‚ Ð·Ð°Ð¿Ñ€Ð¾Ñ
          ACK Ð°ÑÑ‚ериску.">but it does not forward the request </span></span><span
        id="result_box" class="" lang="en"><span title="но Ð¿Ñ€Ð¸ ÑÑ‚ом
          OpenSIPS Ð½Ðµ Ð¿ÐµÑ€ÐµÑÑ‹Ð»Ð°ÐµÑ‚ Ð·Ð°Ð¿Ñ€Ð¾Ñ ACK Ð°ÑÑ‚ериску."><span
            id="result_box" class="" lang="en"><span title="но Ð¿Ñ€Ð¸ ÑÑ‚ом
              OpenSIPS Ð½Ðµ Ð¿ÐµÑ€ÐµÑÑ‹Ð»Ð°ÐµÑ‚ Ð·Ð°Ð¿Ñ€Ð¾Ñ ACK Ð°ÑÑ‚ериску.">"ACK" from </span></span>OpenSIPS
          to Asterisk .<br>
          <br>
        </span></span>24.03.2014 14:50, Bogdan-Andrei Iancu Ð¿Ð¸ÑˆÐµÑ‚:<br>
    </div>
    <blockquote cite="mid:53300DFF.4090407@opensips.org" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix"><tt>Hello,<br>
          <br>
          Script-wise, what are you trying to do right now by the
          db_is_user_in() ? If you explain the actual idea you try to
          implement, I can guide you with the script.<br>
          <br>
          So, when comes to the incoming REGISTER, what you want to
          change now ?<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 21.03.2014 10:37, ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ ÐŸÑƒÑ‡ÐºÐ¾Ð² wrote:<br>
      </div>
      <blockquote cite="mid:532BFA40.10406@poig.ru" type="cite">
        <meta content="text/html; charset=UTF-8"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">11.02.2014 19:44, Bogdan-Andrei
          Iancu Ð¿Ð¸ÑˆÐµÑ‚:<br>
        </div>
        <blockquote cite="mid:52FA4554.4010307@opensips.org" type="cite">
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <div class="moz-cite-prefix"><tt>Hello,<br>
              <br>
              Please keep the list CC'ed all the time !<br>
              <br>
              You did no inserted the topo hiding triggering in the
              write place - you need to do it only for initial INVITEs ;
              for sequential requests you need the be sure to invoke the
              match_dialog() function. See:<br>
              Â Â Â  <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/1.10.x/dialog.html#id295144">http://www.opensips.org/html/docs/modules/1.10.x/dialog.html#id295144</a><br>
              <br>
              It will be helpful to provide more info on what "it is not
              working" - like do you see any changes on the INVITE sent
              out by OpenSIPS, any script errors, etc<br>
            </tt></div>
        </blockquote>
        <span id="result_box" class="" lang="en"><span title="Я Ð¿Ñ‹Ñ‚аюсь
            Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÑŒ Ð¿Ñ€ÐµÐ´Ð»Ð¾Ð¶ÐµÐ½Ð½Ñ‹Ðµ Ð’ами Ñ„ункции, Ð½Ð¾ ÑÑ‚олкнулся Ñ
            Ð¿Ñ€Ð¾Ð±Ð»ÐµÐ¼Ð¾Ð¹: Ñƒ Ð¼ÐµÐ½Ñ Ð½Ðµ ÑÑ€Ð°Ð±Ð°Ñ‚ывает Ð°Ð²Ñ‚оризация Ð¸ Ñ Ð½Ðµ Ð¼Ð¾Ð³Ñƒ
            ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ð¸ÑÑ…одящий Ð²Ñ‹Ð·Ð¾Ð². ">I 'm trying to use your proposed
            function, but ran into a problem - I have not triggered the
            authorization and I can not make an outgoing call .<br>
            <br>
          </span><span title="После Ð²Ð½ÐµÑÐµÐ½Ð¸Ñ Ð½ÐµÐºÐ¾Ñ‚орых Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ð¹: ">After

            making some changes :<br>
          </span></span><br>
        <span id="result_box" class="" lang="en"><span title="После
            Ð²Ð½ÐµÑÐµÐ½Ð¸Ñ Ð½ÐµÐºÐ¾Ñ‚орых Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ð¹: "><tt><tt>    if
                (!db_is_user_in("$fu", "asterisk"))</tt> # +++ I ADDED
              THIS STRING<br>
              Â Â Â  if (!(method=="REGISTER") &amp;&amp; from_uri==myself)
              /*НЕ multidomain Ð²ÐµÑ€ÑÐ¸Ñ*/<br>
              <br>
              Â Â Â  {<br>
              <br>
              Â Â Â  Â Â Â  if(!check_source_address("0")){<br>
              Â Â Â  Â Â Â  Â Â Â  if (!proxy_authorize("", "subscriber")) {  
              Â Â Â  Â Â Â  Â Â Â  <br>
              Â Â Â  Â Â Â  <br>
              Â Â Â  Â Â Â  <br>
              Â Â Â  Â Â Â  Â Â Â  Â Â Â  proxy_challenge("", "0");<br>
              Â Â Â  Â Â Â  Â Â Â  Â Â Â  exit;<br>
              Â Â Â  Â Â Â  Â Â Â  }<br>
              Â Â Â  Â Â Â  Â Â Â  Â Â Â  if (!db_check_from()) {<br>
              Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  sl_send_reply("403","Forbidden auth
              ID");<br>
              Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  exit;<br>
              Â Â Â  Â Â Â  Â Â Â  Â Â Â  }<br>
              Â Â Â  Â Â Â  Â Â Â  consume_credentials();<br>
              Â Â Â  Â Â Â  }<br>
              Â Â Â  }</tt></span><span title="У Ð¼ÐµÐ½Ñ Ð²Ñ€Ð¾Ð´Ðµ Ð½Ð°Ð¼ÐµÑ‚ился
            Ð¿Ñ€Ð¾Ð³Ñ€ÐµÑÑ, Ð½Ð¾ Ð¿Ñ€Ð¸ Ð°Ð½Ð°Ð»Ð¸Ð·Ðµ ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ð¹ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ñ‹ Ñ
            ÑƒÐ²Ð¸Ð´ÐµÐ», Ñ‡Ñ‚о Ñƒ Ð¼ÐµÐ½Ñ Ð½Ðµ Ð¿ÐµÑ€ÐµÐ´Ð°ÐµÑ‚ся Ð·Ð°Ð¿Ñ€Ð¾Ñ Ð½Ð° Ð°ÑÑ‚ериск."><br>
            <br>
            I like making progress , but the analysis of messages using
            the program "wireshark", I saw that I had not sent a request
            "ACK" to the asterisk. </span><span title="И Ð²Ñ‹Ð·Ð¾Ð² Ð½Ðµ
            Ð¿Ñ€Ð¾Ñ…одит. ">The challenge does not pass.<br>
            <br>
          </span><span title="Коротко Ð½Ð°Ð¿Ð¾Ð¼Ð½ÑŽ, Ñ‡Ñ‚о Ñ Ð¿Ñ‹Ñ‚аюсь Ð´Ð¾Ð±Ð¸Ñ‚ься: ">Briefly



            remind you that I 'm trying to achieve :<br>
          </span><span title="Я Ñ…отел Ð±Ñ‹ ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ñ‚ак, Ñ‡Ñ‚обы opensips
            Ð²Ñ‹ÑÑ‚упал ÐºÐ°Ðº UAC Ð´Ð»Ñ Ð°ÑÑ‚ериска, Ð½Ð¾ Ð¿Ñ€Ð¸ ÑÑ‚ом Ð±Ñ‹Ð» ÑÐµÑ€Ð²ÐµÑ€Ð¾Ð¼ Ð´Ð»Ñ
            ÑÐ²Ð²Ð¾ÐµÐ³Ð¾ UAC.">I would like to make opensips acted as UAC to
            asterisk , but it was a server for opensips UAC. </span><span
            title="Это Ð¿Ð¾Ð·Ð²Ð¾Ð»Ð¸Ñ‚ Ð¼Ð½Ðµ Ð¿Ñ€ÐµÐ´ÑÑ‚авить UAC, Ð·Ð°Ñ€ÐµÐ³Ð¸ÑÑ‚рированным
            Ð½Ð° OpenSIPSб ÐºÐ°Ðº extension Ð½Ð° Ð°ÑÑ‚ериск.">This will allow me
            to introduce UAC, registered in OpenSIPS like an extension
            on the asterisk.</span></span><br>
        <br>
        Please, write a little piece of code for deciding my problem.<br>
        <br>
        My configuration file:<br>
        <br>
        <tt><a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://pastebin.com/39vV4eYT">http://pastebin.com/39vV4eYT</a><br>
          <br>
        </tt>
        <blockquote cite="mid:52FA4554.4010307@opensips.org" type="cite">
          <div class="moz-cite-prefix"><tt> Hello,<br>
              <br>
              Use the dialog based topology hiding <br>
              Â Â Â  Â Â Â  <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/1.10.x/dialog.html#id296001">http://www.opensips.org/html/docs/modules/1.10.x/dialog.html#id296001</a><br>
              <br>
              when forwarding the INVITE to Asterisk (in OpenSIPS).<br>
            </tt></div>
          <blockquote cite="mid:52FA3200.4080703@poig.ru" type="cite">
            <blockquote cite="mid:52FA1980.10906@opensips.org"
              type="cite"> </blockquote>
            <tt>Thank you.<br>
              <br>
              I tried it like this code fragment:<br>
              <br>
#--8&lt;----------------------------------------------------------------------------------<br>
              <br>
              route {<br>
              <br>
              Â Â Â  <br>
              Â Â Â  if (!mf_process_maxfwd_header("10")) {<br>
              Â Â Â  Â Â Â  sl_send_reply("483","Too Many Hops");<br>
              Â Â Â  Â Â Â  exit;<br>
              Â Â Â  }<br>
              Â Â Â  <br>
              Â Â Â  #force_rport();  <br>
              <br>
              Â Â Â  if(avp_db_load("$fu","$avp(trace)")) {<br>
              Â Â Â  Â Â Â  $avp(traceuser)=$fu;<br>
              Â Â Â  Â Â Â  setflag(22);<br>
              Â Â Â  Â Â Â  sip_trace();<br>
              Â Â Â  Â Â Â  xlog("L_INFO","User $fu being traced");<br>
              Â Â Â  }<br>
              Â Â Â 
              #...................................................................<br>
              Â Â Â  if (db_is_user_in("$fu", "asterisk"))<br>
              Â Â Â  {<br>
              Â Â Â Â Â Â Â  if(!has_totag() &amp;&amp; is_method("INVITE")) {<br>
              Â Â Â Â Â Â Â  topology_hiding();<br>
              Â Â Â Â Â Â Â  }    Â Â Â  <br>
              Â Â Â  }<br>
              Â Â Â  <br>
              Â Â Â  if (has_totag()) {<br>
              Â Â Â  ...<br>
              Â Â Â  }<br>
            </tt><br>
            <tt>    ...<br>
#--8&lt;----------------------------------------------------------------------------------<br>
              <br>
              But it not worked :( Perhaps, this code is wrong.<br>
              <br>
            </tt><span id="result_box" class="" lang="en"><span
                class="hps">Could you</span> <span class="hps">indicate</span>
              <span class="hps">where the error</span><span>?</span> <span
                class="hps"></span></span><span id="result_box" class=""
              lang="en"><span class="hps">Could you</span> <span
                class="hps">indicate</span> <span class="hps">where the
                error</span><span class="">?</span> <span class="hps">Or

                do I</span> <span class="hps">need to</span> <span
                class="hps">follow the</span> <span class="hps">documentation</span>
              <span class="hps">on the function</span> <span class="hps"></span></span><span
              id="result_box" class="" lang="en"><span class="hps"><tt>topology_hiding()?</tt></span><span
                class="hps"></span></span>
            <blockquote cite="mid:52FA1980.10906@opensips.org"
              type="cite">
              <div class="moz-cite-prefix"><tt> </tt>On 11.02.2014
                10:12, ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ ÐŸÑƒÑ‡ÐºÐ¾Ð² wrote:<br>
              </div>
              <blockquote cite="mid:52F9DB75.3080008@poig.ru"
                type="cite">
                <meta content="text/html; charset=UTF-8"
                  http-equiv="Content-Type">
                <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>
                    <br>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
        </blockquote>
        <br>
        <br>
        <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 moz-do-not-send="true"
          href="http://www.schelkovo-net.ru">http://www.schelkovo-net.ru</a><br>
        <br>
      </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>