Imported from http://www.pjsip.org/contrib/pjsiptcl/