Greetings!
I've gotten kamailio configured and am attempting to
connect with Jitsi. I've added users to the kamailio
MySQL database, and double checked that they have
passwords. But when I attempt to connect through Jitsi I
get this message:
"Authentication failed for user@domain (SIP). The
password you entered is not valid."
(where user and domain are my actual user name and domain
name)
The fact that I'm getting a connection at all seems like a
good sign, but I don't know where it's going wrong with the
password authentication step.
I admit I'm in over my head with kamailio, so any help would
be greatly appreciated.
Syslog, in case it's helpful:
Jul 7 16:30:51 Server /usr/sbin/kamailio[9474]: NOTICE:
<core> [main.c:743]: handle_sigs(): Thank you for flying
kamailio!!!
Jul 7 16:30:51 Server /usr/sbin/kamailio[9501]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9497]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9496]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9495]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9491]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9490]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9487]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9484]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9483]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9482]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9481]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9480]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9479]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9478]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9477]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9476]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9502]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9486]: INFO:
<core> [main.c:854]: sig_usr(): INFO: signal 15 received
Jul 7 16:30:51 Server /usr/sbin/kamailio[9474]: ERROR: ctl
[ctl.c:379]: mod_destroy(): ERROR: ctl: could not delete unix
socket /tmp/kamailio_ctl: Operation not permitted (1)
Jul 7 16:30:51 Server kamailio: INFO: tls [tls_init.c:385]:
init_tls_compression(): tls: init_tls: disabling compression...
Jul 7 16:30:51 Server kamailio: INFO: <core>
[tcp_main.c:4846]: init_tcp(): init_tcp: using epoll_lt as the
io watch method (auto detected)
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: rr
[../outbound/api.h:49]: ob_load_api(): Failed to import bind_ob
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: rr
[rr_mod.c:159]: mod_init(): outbound module not available
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: usrloc
[hslot.c:53]: ul_init_locks(): locks array size 512
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: auth
[auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count
(nc_enabled) support disabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_init.c:549]: init_tls_h(): tls: _init_tls_h: compiled
with openssl version "OpenSSL 1.0.1 14 Mar 2012" (0x1000100f),
kerberos support: off, compression: on
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_init.c:557]: init_tls_h(): tls: init_tls_h: installed
openssl library version "OpenSSL 1.0.1c 10 May 2012"
(0x1000103f), kerberos support: off, zlib compression: on#012
compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -g
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall
-DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
-DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: WARNING: tls
[tls_init.c:611]: init_tls_h(): tls: openssl bug #1491
(crash/mem leaks on low memory) workaround enabled (on low
memory tls operations will fail preemptively) with free memory
thresholds 9961472 and 4980736 bytes
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO:
<core> [cfg/cfg_ctx.c:613]: cfg_set_now(): INFO:
cfg_set_now(): tls.low_mem_threshold1 has been changed to
9961472
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO:
<core> [cfg/cfg_ctx.c:613]: cfg_set_now(): INFO:
cfg_set_now(): tls.low_mem_threshold2 has been changed to
4980736
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO:
<core> [udp_server.c:179]: probe_max_receive_buffer():
INFO: udp_init: SO_RCVBUF is initially 180224
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO:
<core> [udp_server.c:230]: probe_max_receive_buffer():
INFO: udp_init: SO_RCVBUF is finally 360448
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO:
<core> [udp_server.c:179]: probe_max_receive_buffer():
INFO: udp_init: SO_RCVBUF is initially 180224
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO:
<core> [udp_server.c:230]: probe_max_receive_buffer():
INFO: udp_init: SO_RCVBUF is finally 360448
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:187]: fill_missing(): TLSs<default>:
tls_method=12
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:199]: fill_missing(): TLSs<default>:
certificate='/etc/kamailio/kamailio-selfsigned.pem'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:206]: fill_missing(): TLSs<default>:
ca_list='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:213]: fill_missing(): TLSs<default>:
crl='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:217]: fill_missing(): TLSs<default>:
require_certificate=0
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:224]: fill_missing(): TLSs<default>:
cipher_list='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:231]: fill_missing(): TLSs<default>:
private_key='/etc/kamailio/kamailio-selfsigned.key'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:235]: fill_missing(): TLSs<default>:
verify_certificate=0
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:238]: fill_missing(): TLSs<default>:
verify_depth=9
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:576]: set_verification(): TLSs<default>: No
client certificate required and no checks performed
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:187]: fill_missing(): TLSc<default>:
tls_method=9
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:199]: fill_missing(): TLSc<default>:
certificate='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:206]: fill_missing(): TLSc<default>:
ca_list='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:213]: fill_missing(): TLSc<default>:
crl='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:217]: fill_missing(): TLSc<default>:
require_certificate=0
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:224]: fill_missing(): TLSc<default>:
cipher_list='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:231]: fill_missing(): TLSc<default>:
private_key='(null)'
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:235]: fill_missing(): TLSc<default>:
verify_certificate=0
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:238]: fill_missing(): TLSc<default>:
verify_depth=9
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: tls
[tls_domain.c:579]: set_verification(): TLSc<default>:
Server MAY present invalid certificate
Jul 7 16:30:51 Server /usr/sbin/kamailio[9583]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9584]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9585]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9586]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9582]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9588]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9587]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9589]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9590]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9591]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9580]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9598]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9597]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9597]: INFO: ctl
[io_listener.c:225]: io_listen_loop(): io_listen_loop: using
epoll_lt io watch method (config)
Jul 7 16:30:51 Server /usr/sbin/kamailio[9602]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9603]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9601]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9604]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled
Jul 7 16:30:51 Server /usr/sbin/kamailio[9609]: INFO: rtpproxy
[rtpproxy.c:1559]: rtpp_test(): rtp proxy <udp:
127.0.0.1:7722>
found, support for it enabled