<div dir="auto">Bogdan what ever happened to the reload feature, it was discussed in the past, it can greatly improve our lives  :-)</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 14, 2018, 7:02 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>That's the whole idea - if the "use_domain" is on 0, OpenSIPS
      will reference the users only by username. So try "opensipsctl add
      abc xyz" and post what record you get into the subscriber table.<br>
      <br>
      Regards, </tt><br>
    <pre class="m_-6439394457253433015moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_-6439394457253433015moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" rel="noreferrer">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="m_-6439394457253433015moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" target="_blank" rel="noreferrer">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="m_-6439394457253433015moz-cite-prefix">On 11/14/2018 06:52 PM, Robert Dyck
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I do not have that parameter set and I do not use multiple domains.</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">The problem was that after I corrected the error ( missing domain ), opensips continued to look for abc@ rather than abc. I was looking for a graceful way to correct the internal representation of the user name. Restarting opensips is no problem on a small installation but it is less than ideal.</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On Wednesday, November 14, 2018 6:11:52 AM PST Bogdan-Andrei Iancu wrote:
</p>
      <p style="margin-top:12px;margin-bottom:12px;margin-left:40px;margin-right:40px;text-indent:0px">    <span style="font-family:'Monospace'">Hi Robert,
      
      Do you have the "use_domain" parameter enabled in the auth_db module      ?
         </span><a href="http://www.opensips.org/html/docs/modules/2.4.x/auth_db.html#param_use_domain" target="_blank" rel="noreferrer"><span style="font-family:'Monospace';text-decoration:underline;color:#2980b9">http://www.opensips.org/html/docs/modules/2.4.x/auth_db.html#param_use_domain</span></a><span style="font-family:'Monospace'">
      
      Regards,
    </span>    </p>
      <p style="margin-top:12px;margin-bottom:12px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Monospace'">Bogdan-Andrei IancuOpenSIPS Founder and Developer  </span><a href="http://www.opensips-solutions.com" target="_blank" rel="noreferrer"><span style="font-family:'Monospace';text-decoration:underline;color:#2980b9">http://www.opensips-solutions.com</span></a><span style="font-family:'Monospace'">OpenSIPS Bootcamp 2018  </span><a href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" target="_blank" rel="noreferrer"><span style="font-family:'Monospace';text-decoration:underline;color:#2980b9">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</span></a>    </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px">On 11/07/2018 04:30 AM, Robert Dyck      wrote:
        </p>
      <p style="margin-top:12px;margin-bottom:12px;margin-left:80px;margin-right:80px;text-indent:0px">                  </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">I have updated my small test bed from 2.3.2 to 2.4.2. I didn't bother to back up the 'subscriber" table and it was wiped by the installation. No big deal, it was tiny.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">So I added the users but made an error.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">opensipsctl add abc xyz --  I didn't specify the domain. The UAC would not register.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">I corrected the user.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">opensipsctl rm abc, opensipsctl add <a href="mailto:abc@192.168.1.2" target="_blank" rel="noreferrer"><span style="text-decoration:underline;color:#2980b9">abc@192.168.1.2</span></a> xyz      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">The UAC still cannot register.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px"><span style="font-family:'monospace';color:#000000;background-color:#ffffff">DBG:auth_db:get_ha1: no result for user 'abc@'</span>      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">Opensips is restarted and the UAC registers.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">Restaring a production machine is problematic. Is there a way to flush the bad data which I assume has been cached?      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">Some error checking in opensipsctl or the DB interface would be helpful.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">Thanks for your time and the product.      </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:80px;margin-right:80px;text-indent:0px">Rob      
            
      </p>
      <p style="margin-top:12px;margin-bottom:12px;margin-left:80px;margin-right:80px;text-indent:0px"><span style="font-family:'Monospace'">_______________________________________________Users mailing list</span><a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer"><span style="font-family:'Monospace';text-decoration:underline;color:#2980b9">Users@lists.opensips.org</span></a><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="noreferrer"><span style="font-family:'Monospace';text-decoration:underline;color:#2980b9">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</span></a>        
  </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">

</p>
    </blockquote>
    <br>
  </div>

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