com_phones = []
if ('contact_groups' in listing):
for contacts in listing['contact_groups']:
for contact in contacts['contacts']:
if (contact['type'] == 'phone'):
com_phones.append(contact['value'])
else:
com_phones = ''
print(com_phones) # Тут список телефонов