We did our insurance for our visa obtained in Sydney with a Thai company AXA no problems did it all online. You need insurance to get into Thailand check out the Thai Embassy Sydney website they have a list of insurance companies you can use. No problems.
The airlines have their own rules for flying from one country to another. Once they have landed then the rules of the country you have flown into comes into effect so you have to abide by both rules