add phone config; fix payload processing