<div dir="ltr"><div><div>Hello,<br><br>if my SIP client tries to connect ... a server error occured (see below). Could you please help me to figure out the reason?<br>Kamailio is installed on an amazon instance with an elastic IP (52.208.249.214, hostname: <a href="http://synth.ddns.net">synth.ddns.net</a>).<br><br>Thanks<br>Hermann<br><br><br>ubuntu@ip-172-31-32-10:~sudo /etc/init.d/kamailio restart<br> * Stopping Kamailio SIP Server: kamailio                                                                                                       [ OK ] <br> * Starting Kamailio SIP Server: kamailio                                                                                                              loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules/<br>Listening on <br>             udp: <a href="http://127.0.0.1:5060">127.0.0.1:5060</a><br>             udp: <a href="http://172.31.32.10:5060">172.31.32.10:5060</a><br>             tcp: <a href="http://127.0.0.1:5060">127.0.0.1:5060</a><br>             tcp: <a href="http://172.31.32.10:5060">172.31.32.10:5060</a><br>Aliases: <br>             tcp: ip-172-31-32-10.eu-west-1.compute.internal:5060<br>             tcp: localhost:5060<br>             udp: ip-172-31-32-10.eu-west-1.compute.internal:5060<br>             udp: localhost:5060<br>             *: synth.ddns.net:*<br><br>ubuntu@ip-172-31-32-10:~$ kamctl db show subscriber <br>+----+----------+----------------+----------+---------------+----------------------------------+----------------------------------+------+<br>| id | username | domain         | password | email_address | ha1                              | ha1b                             | rpid |<br>+----+----------+----------------+----------+---------------+----------------------------------+----------------------------------+------+<br>|  1 | Johanna  | <a href="http://synth.ddns.net">synth.ddns.net</a> | 12345    |               | 4fa26cedd456d7105c01a48742e71e42 | 1e249ac341d95701f855fce18bec0fba | NULL |<br><br>ubuntu@ip-172-31-32-10:~$ sudo ngrep -d any -qt -W byline . port 5060<br><br><br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.5ad567803b13610279818912da2fcd81.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.6a2baefed6cf4f6b6d34c7563d829e44.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.6d74cec9e5f5e46dd9cd67338143127f.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.a3a37d6bd0cd5d68fc786568f587f06e.0.<br>Via: SIP/2.0/UDP 188.174.185.176:5060;received=188.174.185.176;rport=5060;branch=z9hG4bKPjAgF18hfvv20KOQ9H8G-fqfIPMjjcu9wq.<br>From: <<a href="mailto:sip%3AJohanna@synth.ddns.net">sip:Johanna@synth.ddns.net</a>>;tag=vzlAJNNNES67ir6nsLMjvyFh5D0Thy6s.<br>To: <<a href="mailto:sip%3AJohanna@synth.ddns.net">sip:Johanna@synth.ddns.net</a>>;tag=b27e1a1d33761e85846fc98f5f3a7e58.3300.<br>Call-ID: 9Uj4TSeQAVwaMs3UHf8UKIhuoA4xBEZt.<br>CSeq: 39586 REGISTER.<br>Server: kamailio (4.3.6 (x86_64/linux)).<br>Content-Length: 0.<br>.<br><br><br>U 2016/10/20 13:44:33.727161 <a href="http://52.208.249.214:5060">52.208.249.214:5060</a> -> <a href="http://172.31.32.10:5060">172.31.32.10:5060</a><br>SIP/2.0 500 I'm terribly sorry, server error occurred (1/SL).<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.2605d82fd11bd8f788cfad582884eb6d.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.e425ad98e0436abc4661d1452a49670d.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.2d047656fb9df0edfccd4a40d20237b7.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.f54ab9c35b22814b15acbe16bcae387f.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.db5960988332c2f4899a5e1c2b57e3c6.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.62f1191bd5af8480698ce118984536c0.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.5ad567803b13610279818912da2fcd81.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.6a2baefed6cf4f6b6d34c7563d829e44.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.6d74cec9e5f5e46dd9cd67338143127f.0.<br>Via: SIP/2.0/UDP 172.31.32.10;received=52.208.249.214;branch=z9hG4bK533f.a3a37d6bd0cd5d68fc786568f587f06e.0.<br>Via: SIP/2.0/UDP 188.174.185.176:5060;received=188.174.185.176;rport=5060;branch=z9hG4bKPjAgF18hfvv20KOQ9H8G-fqfIPMjjcu9wq.<br>From: <<a href="mailto:sip%3AJohanna@synth.ddns.net">sip:Johanna@synth.ddns.net</a>>;tag=vzlAJNNNES67ir6nsLMjvyFh5D0Thy6s.<br>To: <<a href="mailto:sip%3AJohanna@synth.ddns.net">sip:Johanna@synth.ddns.net</a>>;tag=b27e1a1d33761e85846fc98f5f3a7e58.3300.<br>Call-ID: 9Uj4TSeQAVwaMs3UHf8UKIhuoA4xBEZt.<br>CSeq: 39586 REGISTER.<br>Server: kamailio (4.3.6 (x86_64/linux)).<br>Content-Length: 0.<br><br><br></div>2) My logfile  /var/log/kamailio/kamailio.log is empty though<br><br></div>/etc/rsyslog.d/kamailio.conf exists with the entry:<br><div> local0.*                        -/var/log/kamailio/kamailio.log<br><br>And in /etc/kamailio/kamailio.conf:<br>log_facility=LOG_LOCAL0<br><br></div><div>Why is the logfile empty?<br><br></div><div>Thanks Herman<br></div><div><br><br></div></div>