Hi,
I am trying to run an Asterisk (1.4.11) server on Linux Suse. The server is
behind NAT. I am testing with SIP client that developed from PJSIP running on
Pocket PC Windows Mobile 5.0 . The client is also behind another NAT.
STUN server is implement in SIP client. 
When a register  Message send from client to server, Asterisk receive it and
reply with 100 trying msg. However, there is no reply on 200 OK from server, as
it course my SIP client registration failure.
1. On the other hand, if i tested with OPENSER SIP server, registration is fine.
Important details are below:
sip.conf
[global]
 nat=yes
 canreinvite=no
 localnet=192.168.1.46
 externip=60.xx.xx.xx.xx
[8000]
type=friend
secret=8000
nat=yes
host=dynamic
canreinvite=no
How can i solve it? 
p/s : Network traffic capture in Ethereal are attached.
        ~ cobra client.cap - capture at client side
       ~ cobra server - capture at Asterisk server
Thanks
Regards
kum
Live Search: Better results, fast Try it now!
_________________________________________________________________
Personalize your Live.com homepage with the news, weather, and photos you care
about.
http://www.live.com/getstarted.aspx?icid=T001MSN30A0701
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070904/e5a916fd/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cobra client.cap
Type: application/octet-stream
Size: 6579 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20070904/e5a916fd/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cobra server.cap
Type: application/octet-stream
Size: 2623 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20070904/e5a916fd/attachment-0001.obj
Localnet is wrong... try localnet=192.168.1.0/24 /b On Sep 3, 2007, at 9:13 PM, neoh kumyee wrote:> > Hi, > > I am trying to run an Asterisk (1.4.11) server on Linux Suse. The > server is behind NAT. I am testing with SIP client that developed > from PJSIP running on Pocket PC Windows Mobile 5.0 . The client is > also behind another NAT. > > STUN server is implement in SIP client. > > When a register Message send from client to server, Asterisk > receive it and reply with 100 trying msg. However, there is no > reply on 200 OK from server, as it course my SIP client > registration failure. > > > 1. On the other hand, if i tested with OPENSER SIP server, > registration is fine. > > Important details are below: > > sip.conf > [global] > nat=yes > canreinvite=no > localnet=192.168.1.46 > externip=60.xx.xx.xx.xx > > > [8000] > type=friend > secret=8000 > nat=yes > host=dynamic > canreinvite=no > > > How can i solve it? > > p/s : Network traffic capture in Ethereal are attached. > ~ cobra client.cap - capture at client side > ~ cobra server - capture at Asterisk server > > Thanks > > Regards > kum > > Live Search: Better results, fast Try it now! > > Call and stay connected with your friends and family for free. Seen > and be heard with high-definition video calls on Windows Live > Messenger. Try it! > <cobra client.cap> > <cobra server.cap> > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070903/192d7473/attachment.htm