Are you forwarding the proper ports on your router? If your router has an UPnP option, enable it, although DD-WRT may help your situation.
The ATA is in the DMZ, so all ports are forwarded to it that aren't already assigned. My main point was that going from Linksys to Grandstream should not require all this changing and troubleshooting.
Bookmarks