<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <span class="hps">Hi</span><span class="">, H.Yavari.</span> <br>
    <div class="moz-forward-container"><span id="result_box" class=""
        lang="en"> <span class="hps">Please give</span> <span
          class="hps">an example of</span> <span class="hps">its</span>
        <span class="hps">connection diagrams</span><span>:</span> <span
          class="hps">UAC</span><span class="atn">-</span><span>OPENSIPS</span><span
          class="atn">-MGW</span><span></span> <span class="hps">...</span>
        <br>
        <span class="hps">Show</span> <span class="hps">which modules</span>
        <span class="hps">and</span> <span class="hps">options</span> <span
          class="hps">you</span> <span class="hps">ordered</span> <span
          class="hps">in</span><span> .cfg</span><span class="hps"></span><span>?</span>
        <br>
        <span class="hps">In</span> <span class="hps">your example:</span>
        <span class="hps">"rtpproxy_offer (" ro ");" -</span> <span
          class="hps">that</span> <span class="hps">is</span> <span
          class="hps">"ro"?</span> <br>
        <span class="hps">And as</span> <span class="hps">a</span> <span
          class="hps">part of the code</span><span class="">:</span> <br>
      </span><span><span style="color: rgb(34, 34, 34); font-family:
          arial, sans-serif; font-size: 13px;">if (
          src_ip==XXXXXXYYYYYYYYY ) {</span><br style="color: rgb(34,
          34, 34); font-family: arial, sans-serif; font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">             route(5);</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">             exit;</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">         }</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">         else {</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">             if
          (!(registered("location","$fu"</span><wbr style="color:
          rgb(34, 34, 34); font-family: arial, sans-serif; font-size:
          13px;"><span style="color: rgb(34, 34, 34); font-family:
          arial, sans-serif; font-size: 13px;">))) {</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">                
          xlog("Caller:$fu is NOT Registered so NOT AUTHORIZED\n");</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">                
          sl_send_reply("403", "Forbidden auth ID");</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">                 exit;</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">             }</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">             route(4);</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">             exit;</span><br
          style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
          font-size: 13px;">
        <span style="color: rgb(34, 34, 34); font-family: arial,
          sans-serif; font-size: 13px;">        }</span></span><span
        id="result_box" class="" lang="en"><span class="hps"><br>
          here:</span> <span class="hps">src_ip</span> <span
          class="hps">- what</span> <span class="hps">source:</span> <span
          class="hps">MGW</span> <span class="hps">or</span> <span
          class="hps">UAC</span><span>?</span> <br>
        <span class="hps">And</span><span>:</span> <br>
        <span class="hps atn">route [</span><span>4</span><span
          class="atn">] {</span><br>
                 <span class="hps">rewritehostport ("XXXXXXXXXX");</span>
        <br>
                 <span class="hps">route (relay);</span> <br>
                 <span class="hps">}</span> <br>
        <span class="hps">here</span><span>: rewritehostport
          ("XXXXXXXXXX"); -</span> <span class="hps">host and port</span>
        <span class="hps">UAC</span><span>?</span></span><br>
      <br>
      <div class="moz-cite-prefix">06.03.2014 16:59, H Yavari <span
          id="result_box" class="short_text"><span
            style="background-color: rgb(255, 255, 255);" title="пишет
            &lt;br&gt;"
            onmouseover="this.style.backgroundColor='#ebeff9'"
            onmouseout="this.style.backgroundColor='#fff'">writes </span></span>:<br>
      </div>
    </div>
    <br>
  </body>
</html>