Dahua VTO with NVR

About to give up soon. Does anyone have a working configuration for the VTO2211 , to allow a grandstream SIP phone to trigger open door/relay?