Sorry, last mail forgot to attach file, send again.
Dear Klaus,
Thanks for your help last time. Your response is always so quick.
Following your advice, I've attached the log of Kamailio3.1 in this message.(debug=3)
Something strange can be found in this log as below:
( 10.150.175.210 is the private ip of the Amazon EC2 server)
--------------------------------------------------------------------------------------------------------------------
17(1715) DEBUG: <core> [socket_info.c:501]: grep_sock_info - checking if host==us: 17==9 && [
sip.mydomain.org] == [127.0.0.1]
17(1715) DEBUG: <core> [socket_info.c:504]: grep_sock_info - checking if port 5060 matches port 5060
17(1715) DEBUG: <core> [socket_info.c:501]: grep_sock_info - checking if host==us: 17==14 && [
sip.mydomain.org] == [10.150.175.210]
17(1715) DEBUG: <core> [socket_info.c:504]: grep_sock_info - checking if port 5060 matches port 5060
17(1715) DEBUG: <core> [socket_info.c:501]: grep_sock_info - checking if host==us: 17==9 && [
sip.mydomain.org] == [127.0.0.1]
17(1715) DEBUG: <core> [socket_info.c:504]: grep_sock_info - checking if port 5060 matches port 5060
17(1715) DEBUG: <core> [socket_info.c:501]: grep_sock_info - checking if host==us: 17==14 && [
sip.mydomain.org] == [10.150.175.210]
17(1715) DEBUG: <core> [socket_info.c:504]: grep_sock_info - checking if port 5060 matches port 5060
--------------------------------------------------------------------------------------------------------------------
Any kind of hint further??
Your help will be great appreciated.