def _getResponse(self):
resp_dict= dict()<EOL>resp_str = self._conn.read_until("<STR_LIT>", connTimeout)<EOL>for line in resp_str.split("<STR_LIT:\r\n>"):<EOL><INDENT>mobj = re.match('<STR_LIT>', line);<EOL>if mobj:<EOL><INDENT>resp_dict[mobj.group(<NUM_LIT:1>)] = mobj.group(<NUM_LIT:2>)<EOL><DEDENT>else:<EOL><INDENT>mobj = re.match('<STR_LIT>', line, flags=re.DOTALL)<EOL>if mobj:<EOL><INDENT>resp_dict['<STR_LIT>'] = mobj.group(<NUM_LIT:1>)<EOL><DEDENT><DEDENT><DEDENT>return resp_dict<EOL>
Read and parse response from Asterisk Manager Interface.

        @return: Dictionary with response key-value pairs.