I am trying to setup a test user. I have installed from
repo. This is my monitor output:
[cycle #: 2; if
constant make sure server lives]
Server:: kamailio
(4.0.2 (x86_64/linux))
Build:: mi_core.c
compiled on 15:41:19 Jul 1 2013 with gcc 4.6.3
Flags:: STATS: Off,
USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, USE_FUTEX,
FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
GIT:: fc967b
Now:: Mon Jul 1
20:43:35 2013
Up since:: Mon Jul
1 20:43:04 2013
Up time:: 31 [sec]
Transaction
Statistics:
tmx:UAS_transactions
= 0
tmx:UAC_transactions
= 0
tmx:inuse_transactions
= 0
Stateless Server
Statistics:
sl:sent_replies = 1
sl:sent_err_replies
= 0
sl:received_ACKs =
0
UsrLoc Stats:
usrloc:location-contacts
= 0
usrloc:location-expires
= 0
usrloc:location-users
= 0
usrloc:registered_users
= 0
I am running kamailio as:
sudo
/usr/local/kamailio-devel/sbin/kamailio -l
<my-public-ip-addr> -E -ddd -D 1
And this is my subscriber:
» kamctl db show subscriber
+----+----------+--------------------+------------+---------------+----------------------------------+----------------------------------+------+
| id | username |
domain | password | email_address | ha1
| ha1b
| rpid |
+----+----------+--------------------+------------+---------------+----------------------------------+----------------------------------+------+
| 6 | test | tethys.xxxxxxx.net
| testpasswd | |
5cf40781f33c6f43a26244046564b67e |
eb898de815bc16092e4c2e8c04bfe188 | NULL |
+----+----------+--------------------+------------+---------------+----------------------------------+----------------------------------+------+
My sip client is replying all the time with "Request Timeout
(408)", and my server is saying:
0(15818) DEBUG: auth
[api.c:86]: pre_auth(): auth:pre_auth: Credentials with
realm '<my-ip>' not found
What could be going on?