I do not have that parameter set and I do not use multiple domains.

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.

On Wednesday, November 14, 2018 6:11:52 AM PST Bogdan-Andrei Iancu wrote:


    Hi Robert,            Do you have the "use_domain" parameter enabled in the 
auth_db module      
?         
http://www.opensips.org/html/docs/modules/2.4.x/auth_db.html#param_use_domain[1]
    
Bogdan-Andrei IancuOpenSIPS Founder and Developer  
http://www.opensips-solutions.com[2]OpenSIPS Bootcamp 2018  
http://opensips.org/training/
OpenSIPS_Bootcamp_2018/[3]    
On 11/07/2018 04:30 AM, Robert Dyck      wrote:        
                  
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.      
      
So I added the users but made an error.      
opensipsctl add abc xyz --  I didn't specify the domain. The UAC would not 
register.      
      
I corrected the user.      
opensipsctl rm abc, opensipsctl add [email protected][4] xyz      
The UAC still cannot register.      
DBG:auth_db:get_ha1: no result for user 'abc@'      
      
Opensips is restarted and the UAC registers.      
      
Restaring a production machine is problematic. Is there a way to flush the bad 
data which I 
assume has been cached?      
      
Some error checking in opensipsctl or the DB interface would be helpful.      
      
Thanks for your time and the product.      
Rob                        
_______________________________________________Users mailing 
[email protected][5]http://lists.opensips.org/cgi-bin/mailman/listinfo/users[6]
          



--------
[1] 
http://www.opensips.org/html/docs/modules/2.4.x/auth_db.html#param_use_domain
[2] http://www.opensips-solutions.com
[3] http://opensips.org/training/OpenSIPS_Bootcamp_2018/
[4] mailto:[email protected]
[5] mailto:[email protected]
[6] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to