I am running Asterisk v 1.2.14 on Windows XP, SP3 using AsteriskWin32.
I am using Andriod smartphones with CSipSimple as extensions and these connect to Asterisk through wi-fi, through an ADSL router. The extensions work fine within the LAN.
I am trying to connect to Asterisk through the Internet and have configured sip.conf, enabled STUN and ICE, forwarded ports 5060, 10000 - 10100 UDP to Asterisk on the router and Windows firewalls, however I am unable to connect with Asterisk. Canyouseeme.org reports, Error: I could not see your service on [IP] on port (5060).
My sip.conf is:
[general] context = default bindport = 5060 bindaddr = 192.168.1.110 srvlookup = yes nat = route localnet = 192.168.1.1/255.255.255.0 context = default allowoverlap = no canreinvite = no ; force relaying transport = udp tcpenable = no tcpbindaddr = 0.0.0.0 videosupport = yes pedantic = no jbenable = yes disallow = all allow = gsm allow = ulaw allow = alaw allow = speex allow = g722 allow = g726 allow = g7221 allow = mpeg4 allow = g729 externhost = tld ; Public address of router. stunaddr = stun.sipgate.net:10000 externrefresh = 180 [authentication]  context = default username = 3000 secret = 7 type = friend nat = comedia host = dynamic port = 48895 mailbox = 3000 dtmfmode = rfc2833 directrtpsetup = yes insecure = invite,port canreinvite = no qualify = yes jbenable = yes videosupport = yes trustrpid = yes Asterisk sip autodomain = yes busylevel = 5 disallow = all allow = gsm allow = ulaw allow = alaw allow = speex allow = g722 allow = g726 allow = g7221 allow = mpeg4 allow = g729
This is what rpt.conf looks like:
[general] icesupport=yes rtpstart=10000 rtpend=10100 ; rtpchecksums=no UDP=5060
What am I doing wrong?