def ParseCall(self, parser_mediator, row, query=None, **unused_kwargs):
    'Parse the calls taking into accounts some rows.\n\n    Args:\n      parser_mediator: A parser mediator object (instance of ParserMediator).\n      row: The row resulting from the query.\n      query: Optional query string. The default is None.\n    '
    try:
        aux = row['guid']
        if aux:
            aux_list = aux.split(u'-')
            src_aux = aux_list[0]
            dst_aux = aux_list[1]
        else:
            src_aux = u'Unknown [no GUID]'
            dst_aux = u'Unknown [no GUID]'
    except IndexError:
        src_aux = u'Unknown [{0:s}]'.format(row['guid'])
        dst_aux = u'Unknown [{0:s}]'.format(row['guid'])
    if (row['is_incoming'] == u'0'):
        user_start_call = True
        source = src_aux
        if row['ip_address']:
            destination = u'{0:s} <{1:s}>'.format(dst_aux, row['ip_address'])
        else:
            destination = dst_aux
    else:
        user_start_call = False
        source = src_aux
        destination = dst_aux
    if (row['videostatus'] == u'3'):
        video_conference = True
    else:
        video_conference = False
    event_object = SkypeCallEvent(row['try_call'], u'WAITING', user_start_call, source, destination, video_conference)
    parser_mediator.ProduceEvent(event_object, query=query)
    if row['accept_call']:
        event_object = SkypeCallEvent(row['accept_call'], u'ACCEPTED', user_start_call, source, destination, video_conference)
        parser_mediator.ProduceEvent(event_object, query=query)
        if row['call_duration']:
            try:
                timestamp = (int(row['accept_call']) + int(row['call_duration']))
                event_object = SkypeCallEvent(timestamp, u'FINISHED', user_start_call, source, destination, video_conference)
                parser_mediator.ProduceEvent(event_object, query=query)
            except ValueError:
                logging.debug(u'[{0:s}] Unable to determine when the call {1:s} was finished.'.format(self.NAME, row['id']))
Parse the calls taking into accounts some rows.

Args:
  parser_mediator: A parser mediator object (instance of ParserMediator).
  row: The row resulting from the query.
  query: Optional query string. The default is None.
def ParseCall(self, parser_mediator, row, query=None, **unused_kwargs):
    'Parse the calls taking into accounts some rows.\n\n    Args:\n      parser_mediator: A parser mediator object (instance of ParserMediator).\n      row: The row resulting from the query.\n      query: Optional query string. The default is None.\n    '
    try:
        aux = row['guid']
        if aux:
            aux_list = aux.split(u'-')
            src_aux = aux_list[0]
            dst_aux = aux_list[1]
        else:
            src_aux = u'Unknown [no GUID]'
            dst_aux = u'Unknown [no GUID]'
    except IndexError:
        src_aux = u'Unknown [{0:s}]'.format(row['guid'])
        dst_aux = u'Unknown [{0:s}]'.format(row['guid'])
    if (row['is_incoming'] == u'0'):
        user_start_call = True
        source = src_aux
        if row['ip_address']:
            destination = u'{0:s} <{1:s}>'.format(dst_aux, row['ip_address'])
        else:
            destination = dst_aux
    else:
        user_start_call = False
        source = src_aux
        destination = dst_aux
    if (row['videostatus'] == u'3'):
        video_conference = True
    else:
        video_conference = False
    event_object = SkypeCallEvent(row['try_call'], u'WAITING', user_start_call, source, destination, video_conference)
    parser_mediator.ProduceEvent(event_object, query=query)
    if row['accept_call']:
        event_object = SkypeCallEvent(row['accept_call'], u'ACCEPTED', user_start_call, source, destination, video_conference)
        parser_mediator.ProduceEvent(event_object, query=query)
        if row['call_duration']:
            try:
                timestamp = (int(row['accept_call']) + int(row['call_duration']))
                event_object = SkypeCallEvent(timestamp, u'FINISHED', user_start_call, source, destination, video_conference)
                parser_mediator.ProduceEvent(event_object, query=query)
            except ValueError:
                logging.debug(u'[{0:s}] Unable to determine when the call {1:s} was finished.'.format(self.NAME, row['id']))