cleaning up calls to asterisk cli.