I have been through almost all the blogs and tried almost all the different combinations of settings, but all in vain. can any one tell me what's wrong in my setting. i am behind NAT and want to connect to sip provider. I tried almost 10's of different providers with NAT without NAT with STUN and without STUN, public (STUN /DNS) settings etc. but nothings worked out.
Any help will be highly appriciated. I recently purchased the device and updated the Firmware to the latest. so don't know if the problem is from the new update or my ISP (in UAE) blocks such services( but i can ping the server and can open their websites in browser).
Your configuration looks OK. On the Sip Tab under NAT Support Parameters I would have the following set to Yes in addition to the STUN settings:
Handle VIA received, Insert VIA Received, Substitute VIA Address, Handle VIA rport, Insert VIA rport. I would try this change first in the chance that makes any difference.
The INFO tab shows that STUN appears to be working, your external IP address is shown. The tab also shows a significant number of SIP Bytes Sent without any SIP bytes Received. It could be caused by your router's firewall, or it could be a sign of voip traffic blocking.
Depending on the sophistication of the blocking you may be able to circumvent it by altering the port numbers used. As you know, in communication your voip provider uses an incoming port number and your SPA3102 can use a different port number for sip signalling communication. Most voip providers only offer port 5060 for traffic to the provider, a few offer alternate ports. With the SPA3102 you can set most any number for the sip port(s) to be used by the adapter for incoming packets coming back from the provider.
PBXes offers a free account for your sip calling for users with low (2000 minutes a month) volume. PBXes offers a number of alternate ports for the sip signalling. I would test for the port blocking by signing up for a free PBXes account and use a different number for your packets to the PBXes proxy. For example, after you obtain an account with them you could setup an extension with their proxy as pbxes.org:1701. I would also setup your sip port on the SPA3102 as something other than the standard, for example 6502. Then see if you can register your extension to PBXes.
If registration is successful then you could setup your voip provider under PBXes as an outgoing trunk (and an incoming trunk if you set it to Register) and place and receive calls thru them. An alternative, not using PBXes, would be to find another voip provider that will allow you to send packets to their proxy using a non-standard port number in the proxy address.
If the account UserID on the Line 1 Tab and the PSTN Line Tab are for the same account, I would not have them both set to Register. These are two different VoIP addresses and I would only Register the one where you would receive calls incoming voip calls.