Unable to log in the asterisk server?

SIP.CONF:
[1498]
type=friend
username=1498
host=dynamic
context=default
canreinvite=yes
dtmfmode=rfc2833

[1499]
type=friend
username=1499
host=dynamic
context=default
canreinvite=yes
dtmfmode=rfc2833

extensions.conf:
[default]
exten=>_1XXX,1,Dial(SIP/${EXTEN},15,t)
exten=>_1XXX,3,Hangup

these are my configration.I want to connect two SIP phone in a local net.
but it can not work.It shows

Transmitting (no NAT) to 59.57.185.175:6080:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 59.57.185.175:6080;received=192.168.1.104
From: 1490 sip:1490@192.168.1.118:6080
To: 1490 sip:1490@192.168.1.118:6080;tag=as1e059ea0
Call-ID: 70AA04BDF4C44838B3C079E7CD515DE1@192.168.1.118
CSeq: 14121 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Expires: 500
Contact: sip:1490@59.57.185.175:6080;expires=500
Date: Thu, 10 Mar 2005 01:59:39 GMT
Content-Length: 0


Scheduling destruction of call

I need some help!!!Any ideas??

Seems strange to see public IP addresses in your log when you’re trying to just connect phones on a local net. Can you post a description of your network environment?

[quote=“ymym”]SIP.CONF:
[1498]
type=friend
username=1498
host=dynamic
context=default
canreinvite=yes
dtmfmode=rfc2833

[1499]
type=friend
username=1499
host=dynamic
context=default
canreinvite=yes
dtmfmode=rfc2833

extensions.conf:
[default]
exten=>_1XXX,1,Dial(SIP/${EXTEN},15,t)
exten=>_1XXX,3,Hangup

these are my configration.I want to connect two SIP phone in a local net.
but it can not work.It shows

Transmitting (no NAT) to 59.57.185.175:6080:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 59.57.185.175:6080;received=192.168.1.104
From: 1490 sip:1490@192.168.1.118:6080
To: 1490 sip:1490@192.168.1.118:6080;tag=as1e059ea0
Call-ID: 70AA04BDF4C44838B3C079E7CD515DE1@192.168.1.118
CSeq: 14121 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Expires: 500
Contact: sip:1490@59.57.185.175:6080;expires=500
Date: Thu, 10 Mar 2005 01:59:39 GMT
Content-Length: 0


Scheduling destruction of call

I need some help!!!Any ideas??[/quote]

59.57.185.175 is my gateway of my loacl net.
the number 1498 is on the pc with 192.168.1.102
the number 1490 is on the pc with 192.168.1.104
the server ip is 192.168.1.118