def _parseAsteriskConf(self):
if os.path.isfile(confFileAMI):<EOL><INDENT>try:<EOL><INDENT>fp = open(confFileAMI, '<STR_LIT:r>')<EOL>data = fp.read()<EOL>fp.close()<EOL><DEDENT>except:<EOL><INDENT>raise IOError('<STR_LIT>'<EOL>% confFileAMI)<EOL><DEDENT>mobj = re.search('<STR_LIT>', <EOL>data, re.MULTILINE)<EOL>if mobj:<EOL><INDENT>self._amiuser = mobj.group(<NUM_LIT:1>)<EOL>self._amipass = mobj.group(<NUM_LIT:2>)<EOL>return True<EOL><DEDENT><DEDENT>return False<EOL>
Parses Asterisk configuration file /etc/asterisk/manager.conf for
        user and password for Manager Interface. Returns True on success.

        @return: True if configuration file is found and parsed successfully.