Browse code

uac: debug messages when initializing the remote uac registration

Daniel-Constantin Mierla authored on 28/06/2019 06:07:02
Showing 2 changed files
... ...
@@ -382,6 +382,7 @@ static int child_init(int rank)
382 382
 
383 383
 		kam_srand(getpid() * 17 +  time(0));
384 384
 		uac_reg_load_db();
385
+		LM_DBG("run initial uac registration routine\n");
385 386
 		uac_reg_timer(0);
386 387
 		for(;;){
387 388
 			/* update the local config framework structures */
... ...
@@ -579,6 +579,8 @@ int reg_ht_add(reg_uac_t *reg)
579 579
 	reg_ht_add_byuuid(nr);
580 580
 	counter_inc(regtotal);
581 581
 
582
+	LM_DBG("added uuid: %.*s - l_user: %.*s\n", nr->l_uuid.len, nr->l_uuid.s,
583
+			nr->l_username.len, nr->l_username.s);
582 584
 	return 0;
583 585
 }
584 586