This stuff includes some diffs from when I was working on Fax over IP (T.38) support in OpenH323, most of it has been integrated upstream by now.