For those that are interested and struggling with this, I just got this working with my Amcrest camera. This works with 24/7 recording and alerts, in my case MMS to our phones.
Camera: Amcrest IP5M-T1179EW-28MM
Dahua Firmware: DH_IPC-HX25(8)XX-Molec_MultiLang_NP_V2.800.0000000.15.R.200313...