Does anyone know of a good way to replace the functionality in ast_readstring in res_perl? It doesn't seem to be available in res_perl and I'm not sure of a clean way to get things like passwords, etc.