н
Size: a a a
н
A
MR
н
MR
н
MR
A
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'keys', 'match', 'match_regex', 'name', 'parsers', 'read', 'register_parser']
BQ
Event : Cdr -> {'Privilege': 'cdr,all', 'Timestamp': '1592466161.169201', 'AccountCode': '', 'Source': '', 'Destination': '175', 'DestinationContext': 'ext-local', 'CallerID': 'as', 'Channel': 'Local/175@from-internal-0000005a;2', 'DestinationChannel': 'PJSIP/175-0000034f', 'LastApplication': 'Dial', 'LastData': 'PJSIP/175/sip:175@192.168.84.12:51217;ob,,HhTtrb(func-apply-sipheaders^s^1)', 'StartTime': '2020-06-18 13:42:36', 'AnswerTime': '', 'EndTime': '2020-06-18 13:42:40', 'Duration': '4', 'BillableSeconds': '0', 'Disposition': 'NO ANSWER', 'AMAFlags': 'DOCUMENTATION', 'UniqueID': '1592466156.1390', 'UserField': ''}
eval()
запихать твой output.split(‘-> ’)[1]
? Он вернет тебе dict и оттуда можно достать по ключу Disposition. Первое, что пришло в голову