<div dir="auto"><div>Hi Bogdan,<div dir="auto"><br></div><b style="font-family:monospace">fix_nated_regis</b><b style="font-family:monospace">trar not working. </b></div><div dir="auto"><font face="monospace"><b><br></b></font></div><div dir="auto"><font face="monospace"><b>please see my latest emails. </b></font></div><div dir="auto"><font face="monospace"><b><br></b></font></div><div dir="auto"><font face="monospace"><b>Best regards, </b></font></div><div dir="auto"><font face="monospace"><b>Dragomir<br></b></font><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Oct 31, 2017 13:42, "Bogdan-Andrei Iancu" <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Sorry, there is a type in the prev email, it should be "</tt><tt>So,
      have you actually tried the <b>fix_nated_regis</b><b>trar</b><b>()</b> 
      + mid_registrar_save() ?"<br>
    </tt><div class="quoted-text">
    <pre class="m_4046642628434773175moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="m_4046642628434773175moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
</pre>
    </div><div class="elided-text"><div class="m_4046642628434773175moz-cite-prefix">On 10/31/2017 01:25 PM, Bogdan-Andrei
      Iancu wrote:<br>
    </div>
    <blockquote type="cite">
      
      <tt>Hi,<br>
        <br>
        Actually fix_nated_registrar() does not rewrite the contact (it
        is adding a "received" field into user location). So, have you
        actually tried the fix_nated_contact()  + mid_registrar_save() ?<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="m_4046642628434773175moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="m_4046642628434773175moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
</pre>
      <div class="m_4046642628434773175moz-cite-prefix">On 10/28/2017 02:30 PM, Aqs Younas
        wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">Anything?</div>
        <div id="m_4046642628434773175DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
          <table style="border-top:1px solid #d3d4de">
            <tbody>
              <tr>
                <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" style="width:46px;height:29px" height="29" width="46"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.
                  <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" style="color:#4453ea" target="_blank">www.avast.com</a> </td>
              </tr>
            </tbody>
          </table>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 27 October 2017 at 17:26, Aqs
            Younas <span dir="ltr"><<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">Greeting list, 
                <div><br>
                </div>
                <div>I am using mid-registrar to forward register
                  requests to freeswitch server. I see i can't call
                  fix_nated_register and  mid_registrar_save("locat<wbr>ion")
                  both, since they both are doing contact rewrite. </div>
                <div><br>
                </div>
                <div>Also i can't use <span style="background-color:rgb(254,254,238);color:rgb(0,0,0);font-family:monospace;font-size:medium;white-space:pre-wrap">modparam("mid_registrar", "insertion_mode", 1)</span></div>
                <div>since it will insert path header instead of
                  re-writing contact. </div>
                <div><br>
                  My purpose of using mid-registrar was to get rid of
                  path header.<br>
                  <br>
                  It there any work around? Anything doable using
                  memcache. Saving information on register and using
                  that info to populate $du upon lookup. </div>
                <div><br>
                </div>
                <div>Best Regards, </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="m_4046642628434773175mimeAttachmentHeader"></fieldset>
        <br>
        <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_4046642628434773175moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_4046642628434773175moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="m_4046642628434773175mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_4046642628434773175moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_4046642628434773175moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>