<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">I have a local area network with:</FONT></P>
<P class=MsoListParagraphCxSpFirst
style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: 12pt; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN
style="FONT-FAMILY: ; mso-fareast-font-family: symbol; mso-bidi-font-family: symbol"><SPAN
style="mso-list: ignore"><FONT face=Symbol><FONT
style="FONT-SIZE: 11pt">·</FONT></FONT><SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: normal"><FONT face="Times New Roman"><FONT
style="FONT-SIZE: 7pt">
</FONT></FONT></SPAN></SPAN></SPAN><FONT style="FONT-SIZE: 11pt">A Windows PC
with a VOIP application</FONT></P>
<P class=MsoListParagraphCxSpLast
style="MARGIN: 0in 0in 8pt 0.5in; LINE-HEIGHT: 12pt; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN
style="FONT-FAMILY: ; mso-fareast-font-family: symbol; mso-bidi-font-family: symbol"><SPAN
style="mso-list: ignore"><FONT face=Symbol><FONT
style="FONT-SIZE: 11pt">·</FONT></FONT><SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: normal"><FONT face="Times New Roman"><FONT
style="FONT-SIZE: 7pt">
</FONT></FONT></SPAN></SPAN></SPAN><FONT style="FONT-SIZE: 11pt">A Linux PC with
KAMailIO</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">There is also a remote Windows PC with the same VOIP
application.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">There is also an IPhone VOIP application that
communicates with the Windows PC application.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">All communications use the same KAMailIO
system.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">The IPhone application communicates with the PC on the
local network. It times out trying to communicate.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">The application works fine with either PC on another
server (sip.antisip.com)</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">I have tried a URL and a static IP address for
SIP_DOMAIN, neither succeeds.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Here are some extracts from the log (ignore timestamp
gap, several calls were attempted). I think the problem is that the reply to the
PC is being sent to <SPAN
style="BACKGROUND-IMAGE: none; BACKGROUND-REPEAT: repeat; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-POSITION: 0% 0%; mso-highlight: yellow"><FONT
style="BACKGROUND-COLOR: #ffff00">192.168.1.12</FONT></SPAN> instead of <SPAN
style="BACKGROUND-IMAGE: none; BACKGROUND-REPEAT: repeat; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-POSITION: 0% 0%; mso-highlight: yellow"><FONT
style="BACKGROUND-COLOR: #ffff00">92.13.147.87</FONT></SPAN>.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:28:51 SIS-Server kamailio[18136]: DEBUG: <core> [ip_addr.c:243]:
print_ip(): tcpconn_new: new tcp connection: 92.13.147.87</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:28:52 SIS-Server kamailio[18130]: DEBUG: tls [tls_server.c:354]:
tls_accept(): TLS accept successful</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:28:52 SIS-Server kamailio[18130]: DEBUG: tls [tls_server.c:361]:
tls_accept(): tls_accept: new connection from 92.13.147.87:49302 using
TLSv1/SSLv3 AES256-SHA 256</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:28:52 SIS-Server kamailio[18130]: DEBUG: tls [tls_server.c:364]:
tls_accept(): tls_accept: local socket: 96.81.57.12:5061</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:28:52 SIS-Server kamailio[18130]: DEBUG: auth [api.c:86]: pre_auth():
auth:pre_auth: Credentials with realm '96.81.57.12' not found</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:28:55 SIS-Server kamailio[18130]: DEBUG: registrar [reply.c:374]:
build_contact(): created Contact HF: Contact: <sip:hvs_uk_pc@<SPAN
style="BACKGROUND-IMAGE: none; BACKGROUND-REPEAT: repeat; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-POSITION: 0% 0%; mso-highlight: yellow"><FONT
style="BACKGROUND-COLOR: #ffff00">192.168.1.12</FONT></SPAN>:49302;transport=TLS;line=b3d07204a26e36e>;expires=120</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:583]:
grep_sock_info(): grep_sock_info - checking if host==us: 11==9 &&
[96.81.57.12] == [127.0.0.1]</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:587]:
grep_sock_info(): grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:583]:
grep_sock_info(): grep_sock_info - checking if host==us: 11==13 &&
[96.81.57.12] == [192.168.1.181]</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:587]:
grep_sock_info(): grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:583]:
grep_sock_info(): grep_sock_info - checking if host==us: 11==11 &&
[96.81.57.12] == [96.81.57.12]</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:587]:
grep_sock_info(): grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:583]:
grep_sock_info(): grep_sock_info - checking if host==us: 11==9 &&
[96.81.57.12] == [127.0.0.1]</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:587]:
grep_sock_info(): grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:583]:
grep_sock_info(): grep_sock_info - checking if host==us: 11==13 &&
[96.81.57.12] == [192.168.1.181]</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:587]:
grep_sock_info(): grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:583]:
grep_sock_info(): grep_sock_info - checking if host==us: 11==11 &&
[96.81.57.12] == [96.81.57.12]</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Mar<SPAN style="mso-spacerun: yes"> </SPAN>4
00:37:09 SIS-Server kamailio[18135]: DEBUG: <core> [socket_info.c:587]:
grep_sock_info(): grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060Mar<SPAN style="mso-spacerun: yes"> </SPAN>4 00:37:12 SIS-Server
kamailio[18136]: ERROR: <core> [tcp_main.c:4159]: handle_tcpconn_ev():
connect 192.168.1.12:49302 failed</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Changes to KAMCTLRC are:</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">SIP_DOMAIN=ed-todd-randd.com</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">DBENGINE=MYSQL</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">DBNAME=kamailio</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">DBRWUSER="kamailio"</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">DBRWPW="kamailiorw"</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Changes to KAMAILIO.CFG are:</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">#!define WITH_MYSQL</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">#!define WITH_AUTH</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT
style="FONT-SIZE: 11pt">#!define WITH_USRLOCDB</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">#!define WITH_TLS</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Plus I set debug=4 for logging.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">Whatsmyip.org shows the right IP address (static) and
hostname </FONT><A style='href: "http://www.ed-todd-randd.com"'><FONT
style="FONT-SIZE: 11pt" color=#0563c1>www.ed-todd-randd.com</FONT></A></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: 12pt"><FONT
style="FONT-SIZE: 11pt">So, any clues?</FONT></P></DIV></DIV></BODY></HTML>