<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests.
If you have questions about using Kamailio or related to its configuration file,
ask on sr-users mailing list:
*
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing
C code, ask on sr-dev mailing list
*
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the
developers to troubleshoot the issue.
If you submit a feature request (or enhancement), you can delete the text of
the template and only add the description of what you would like to be added.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### Description
Kamailio doesn't start with db_mongodb and usrloc.
Configuration:
kamailio 4.4.7 (tried to use db_mongodb module from 5.1.2)
usrloc is configured to use db_mode=1 and db_insert_null=1.
MongoDB 3.0.2 and 3.6.3
mongo-c-driver was tested 1.9.2 and 1.9.4.
location table contains 300 records.
### Troubleshooting
#### Reproduction
1. Configure db_mode=1 (use internal cache).
2. Make 300 successful registrations to have 300 records inside mongodb.
3. Restart Kamailio
#### Debugging Data
db_mongodb_base.c
function db_mongodb_convert_bson()
line 614
#### Log Messages
0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:469]: preload_udomain(): loading
records - cycle [1]
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <s>...ignoring
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [gs] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <gs>...ignoring
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [s] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <s>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping
record for kgate.zz in table location
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 1==15 && [t] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <t>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <received>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [received] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <received>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping
record for Þñª(%Brusername in table location
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping
record for ª(%Bsusername in table location
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:231]: dbrow2info(): bad contact
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [udomain.c:484]: preload_udomain(): skipping
record for %Btusername in table location
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 3==15 && [ket] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <ket>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:492]: preload_udomain(): empty
domain record for user ame...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[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
[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
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <.168.158.178:16060>...ignoring
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 15==15 && [192.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[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
[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
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 12==15 && [.168.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <.168.158.178:16060>...ignoring
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 9==15 && [8.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 9==15 && [8.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 9==15 && [8.158.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <8.158.178:16060>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:492]: preload_udomain(): empty
domain record for user some.com...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 6==15 && [58.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 6==15 && [58.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 6==15 && [58.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 6==15 && [58.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 5060 (advertise 5060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 6==15 && [58.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:567]: grep_sock_info():
checking if port 16060 (advertise 16060) matches port 16060
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 6==15 && [58.178] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <58.178:16060>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [60] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [60]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <60>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:492]: preload_udomain(): empty
domain record for user tact...skipping
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 8==15 && [methods] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <methods>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:476]: preload_udomain(): empty
username record in table location...skipping
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid
[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
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <>...ignoring
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:231]: dbrow2info(): bad contact
[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
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid
[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
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:564]: grep_sock_info():
checking if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [socket_info.c:583]: grep_sock_info():
checking advertise if host==us: 2==15 && [ed] == [192.168.158.178]
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [resolve.h:355]: str2ip6(): str2ip6:
ERROR: too few colons in [ed]
[0;39;49m[0;39;49m 1(13464) DEBUG: usrloc [udomain.c:313]: dbrow2info(): non-local
socket <ed>...ignoring
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:256]: dbrow2info(): bad callid
[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
[0;39;49m[0;33;49m 1(13464) CRITICAL: usrloc [udomain.c:231]: dbrow2info(): bad contact
[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
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [ucontact.c:94]: new_ucontact(): no ruid for
aor: 158.178:5360@e.com
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [urecord.c:149]: mem_insert_ucontact(): failed
to create new contact
[0;39;49m[0;31;49m 1(13464) ERROR: usrloc [udomain.c:517]: preload_udomain(): inserting
contact failed
[0;39;49m[0;39;49m 1(13464) DEBUG: <core> [db_res.c:79]: db_free_columns():
freeing 21 columns
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
version: kamailio 4.4.7 (x86_64/linux) 35d8ab
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
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 35d8ab
compiled on 10:51:03 Apr 22 2018 with gcc 4.8.5
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04,
CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
```
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
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1507