Thailand and Cambodia have signed a joint document to restore a ceasefire along their shared border following 20 days of intense fighting, Azernews reports, citing foreign media.