<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<br><br>being new to Kamailio, I have been closely following Daniel's tutorial "Kamailio 4.0.x and Asterisk 11.3.0 Realtime Integration using Asterisk Database", <div>hoping to be able to setup a basic SIP server with voicemail-boxes attached to the the accounts. (Eventually, UACs that live behind either port-restricted or</div><div>symmetric  NATs should be supported (i.e. experience two way audio), so, I guess, eventually "WITH_NAT" needs to be defined and rtpproxy needs to be </div><div>installed as described in the "Run your own Skype-like service in less than one hour" tutorial... ?)</div><div><br></div><div>Anyway, I am encountering a couple of difficulties in an early stage and hope for some insights form the experts: </div><div><br></div><div>1) Even though launching Kamailio with "/etc/init.d/kamailio start" seems to succeed ...</div><div><br></div><font face="Courier New">root@jm1:~# /etc/init.d/kamailio start<br>Starting Kamailio:<br> loading modules under /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/<br>  Listening on <br>             udp: 127.0.0.1:5060<br>             udp: 178.254.20.156:5060<br>             tcp: 127.0.0.1:5060<br>             tcp: 178.254.20.156:5060<br>Aliases: <br>             tcp: <a href="http://rv1192.1blu.de">rv1192.1blu.de</a>:5060<br>             tcp: localhost:5060<br>             udp: <a href="http://rv1192.1blu.de">rv1192.1blu.de</a>:5060<br>             udp: localhost:5060<br>             *: <a href="http://jingle-me.org">jingle-me.org</a>:*<br><br>kamailio started.<br>root@jm1:~# <br></font><br><div>  </div><div>... SIP Clients (I have tried several) cannot register and receive the response: 401 Unauthorised.</div><div><br></div><div>cat /var/log/syslog yields:<div><br><br><font face="Courier New">Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: rr [../outbound/api.h:49]: <b>Failed to import bind_ob</b><br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: rr [rr_mod.c:159]: outbound module not available<br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: usrloc [hslot.c:53]: locks array size 512<br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: auth [auth_mod.c:350]: auth: qop set, but nonce-count (nc_enabled) <b>support disabled</b><br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: <core> [udp_server.c:179]: INFO: udp_init: SO_RCVBUF is initially 229376<br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: <core> [udp_server.c:230]: INFO: udp_init: SO_RCVBUF is finally 262142<br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: <core> [udp_server.c:179]: INFO: udp_init: SO_RCVBUF is initially 229376<br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2180]: INFO: <core> [udp_server.c:230]: INFO: udp_init: SO_RCVBUF is finally 262142<br>Jun  5 21:59:01 jm1 /usr/sbin/kamailio[2200]: INFO: ctl [io_listener.c:225]: io_listen_loop:  using epoll_lt io watch method (config)</font></div><div><br></div><div>I suspect that the "<span style="font-family: 'Courier New'; ">INFO: auth [auth_mod.c:350]: auth: qop set, but nonce-count (nc_enabled) </span><b style="font-family: 'Courier New'; ">support disabled</b>" hints to the problem, but have no clue how to fix that.</div><div><br></div><div><font face="Courier New"><br></font><div>2) Kamailio does <u>not</u> start on boot-up, even though "<font face="Courier New">/etc/init.d/kamailio start</font> (<font face="Courier New">stop/restart/status</font>)" work(s), and  <font face="Courier New">/etc/default/kamailio</font> looks like this:</div></div></div><div><br></div><div><div><font face="Courier New">RUN_KAMAILIO=yes</font></div><div><font face="Courier New">USER=kamailio</font></div><div><font face="Courier New">GROUP=kamailio</font></div><div><font face="Courier New">SHM_MEMORY=64</font></div><div><font face="Courier New">PKG_MEMORY=4</font></div><div><font face="Courier New">SSD_SUID=no</font></div><div><font face="Courier New">DUMP_CORE=no</font></div></div><div><br></div><div>Right after a re-boot, <span style="font-family: 'Courier New'; ">root@jm1:~#</span> <font face="Courier New">chkconfig kamailio</font> yields: "<font face="Courier New">kamailio on", </font></div><div>however, <span style="font-family: 'Courier New'; ">root@jm1:~#</span><span style="font-family: 'Courier New'; ">/etc/init.d/kamailio status </span>yields: "<font face="Courier New">Status of Kamailio: kamailio is not running."</font> at this time.</div><div><br></div><div>Any hints are appreciated!</div><div><br></div><div>Best regards,</div><div><br></div><div>-Thomas</div></body></html>