<h3>Description</h3>
<p>Kamailio doesn't start with db_mongodb and usrloc.</p>
<p>Configuration:<br>
kamailio 4.4.7 (tried to use db_mongodb module from 5.1.2)<br>
usrloc is configured to use db_mode=1 and db_insert_null=1.<br>
MongoDB 3.0.2 and 3.6.3<br>
mongo-c-driver was tested 1.9.2 and 1.9.4.<br>
location table contains 300 records.</p>
<h3>Troubleshooting</h3>
<h4>Reproduction</h4>
<ol>
<li>Configure db_mode=1 (use internal cache).</li>
<li>Make 300 successful registrations to have 300 records inside mongodb.</li>
<li>Restart Kamailio</li>
</ol>
<h4>Debugging Data</h4>
<p>db_mongodb_base.c<br>
function db_mongodb_convert_bson()<br>
line 614</p>
<h4>Log Messages</h4>
<p>0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:469]: preload_udomain(): loading records - cycle [1]<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <s>...ignoring<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket ...ignoring<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [s] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <s>...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for kgate.zz in table location<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 1==15 && [t] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket ...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket ...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [received] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket ...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for Þ�ñª�(%B�r�username in table location<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for ª�(%B�s�username in table location<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:231]: dbrow2info(): bad contact<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for %B�t�username in table location<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket ...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:492]: preload_udomain(): empty domain record for user ame...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;35;49m 1(13464) WARNING: usrloc [../../ut.h:717]: shm_str_dup(): shm_str_dup fallback; dup called for src->s == NULL or src->len < 0<br>
�[0;39;49m�[0;35;49m 1(13464) WARNING: usrloc [../../ut.h:731]: shm_str_dup(): shm_str_dup fallback; skip memcpy for src->s == NULL<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <.168.158.178:16060>...ignoring<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;35;49m 1(13464) WARNING: usrloc [../../ut.h:717]: shm_str_dup(): shm_str_dup fallback; dup called for src->s == NULL or src->len < 0<br>
�[0;39;49m�[0;35;49m 1(13464) WARNING: usrloc [../../ut.h:731]: shm_str_dup(): shm_str_dup fallback; skip memcpy for src->s == NULL<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <.168.158.178:16060>...ignoring<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 9==15 && [8.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 9==15 && [8.158.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <8.158.178:16060>...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:492]: preload_udomain(): empty domain record for user some.com...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 6==15 && [58.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 6==15 && [58.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 6==15 && [58.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 6==15 && [58.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 5060 (advertise 5060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 6==15 && [58.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:567]: grep_sock_info(): checking if port 16060 (advertise 16060) matches port 16060<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 6==15 && [58.178] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <58.178:16060>...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [60] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [60]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <60>...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:492]: preload_udomain(): empty domain record for user tact...skipping<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 8==15 && [�methods] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <�methods>...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty username record in table location...skipping<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for sip:SIPP43.some.com@192.168.158.178:5360 in table location<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <��>...ignoring<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [��] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket <��>...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:231]: dbrow2info(): bad contact<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for 8.some.com@192.168.158.178:5360 in table location<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for ome.com@192.168.158.178:5360 in table location<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:564]: grep_sock_info(): checking if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [socket_info.c:583]: grep_sock_info(): checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [resolve.h:355]: str2ip6(): str2ip6: ERROR: too few colons in [ed]<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local socket ...ignoring<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for 2.168.158.178:5360 in table location<br>
�[0;39;49m�[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:231]: dbrow2info(): bad contact<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping record for 68.158.178:5360 in table location<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [ucontact.c:94]: new_ucontact(): no ruid for aor: 158.178:<a href="mailto:5360@e.com">5360@e.com</a><br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [urecord.c:149]: mem_insert_ucontact(): failed to create new contact<br>
�[0;39;49m�[0;31;49m 1(13464) ERROR: usrloc [udomain.c:517]: preload_udomain(): inserting contact failed<br>
�[0;39;49m�[0;39;49m 1(13464) DEBUG:  [db_res.c:79]: db_free_columns(): freeing 21 columns</s></s></p><s><s>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<p>version: kamailio 4.4.7 (x86_64/linux) 35d8ab<br>
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
id: 35d8ab<br>
compiled on 10:51:03 Apr 22 2018 with gcc 4.8.5</p>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>CentOS 7.1
Linux linux-dev 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
</code></pre></s></s>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1507">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZQBr4MOQfB7LUigUmWbrQIX0Q3rlks5trxxWgaJpZM4ThljJ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZSN8I0sb6teqiRiT0SzVZGHbI6KBks5trxxWgaJpZM4ThljJ.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1507"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Kamailio doesn't start with db_mongodb and usrloc. (#1507)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1507"}}}</script>