diff --git a/erpnext/erpnext_integrations/exotel_integration.py b/erpnext/erpnext_integrations/exotel_integration.py index 10d533c8dfa..a42718602ad 100644 --- a/erpnext/erpnext_integrations/exotel_integration.py +++ b/erpnext/erpnext_integrations/exotel_integration.py @@ -75,12 +75,6 @@ def make_a_call(from_number, to_number, caller_id): def get_exotel_settings(): return frappe.get_single('Exotel Settings') -@frappe.whitelist(allow_guest=True) -def get_phone_numbers(): - numbers = 'some number' - whitelist_numbers(numbers, 'for number') - return numbers - def whitelist_numbers(numbers, caller_id): endpoint = get_exotel_endpoint('CustomerWhitelist') response = requests.post(endpoint, data={