Here are the settings I’ve used to get my HT802 to work flawlessly on VOIP.MS . You can also cross reference this with the sample HT70x config they have on their site. I also configured my router for QoS to grant priority to UDP 5060 and 10002 in/out for FXS1 and 5062 and 10004 for FXS2. Note the RTP port (10002 or 10004) must be an even number and above 10000 for voip.ms. I have also modified the dial plan to turn off HT802 voice menu and allow testing of the voip.ms Music On Hold feature.
You have to log in to see the config screenshots.