code: def rooms(status=None):
      
  
      room_query = VCRoom.find(type='vidyo')
      table_data = [['ID', 'Name', 'Status', 'Vidyo ID', 'Extension']]
  
      if status:
          room_query = room_query.filter(VCRoom.status == VCRoomStatus.get(status))
  
      for room in room_query:
          table_data.append([unicode(room.id), room.name, room.status.name,
                             unicode(room.data['vidyo_id']), unicode(room.vidyo_extension.extension)])
  
      table = AsciiTable(table_data)
      for col in (0, 3, 4):
          table.justify_columns[col] = 'right'
      print table.table
docs: Lists all Vidyo rooms