diff --git a/README.md b/README.md index e7123429..21503df7 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ The motivation behind building Frappe CRM stems from the need for a simple, cust ### Integrations - **Twilio:** Integrate Twilio to make and receive calls from the CRM. You can also record calls. It is a built-in integration. +- **Exotel:** Integrate Exotel to make and receive calls via agents mobile phone from the CRM. You can also record calls. It is a built-in integration. - **WhatsApp:** Integrate WhatsApp to send and receive messages from the CRM. [Frappe WhatsApp](https://github.com/shridarpatil/frappe_whatsapp) is used for this integration. - **ERPNext:** Integrate with [ERPNext](https://erpnext.com) to extend the CRM capabilities to include invoicing, accounting, and more. diff --git a/frontend/src/components/Telephony/ExotelCallUI.vue b/frontend/src/components/Telephony/ExotelCallUI.vue index 3ab3db2e..bb7844fa 100644 --- a/frontend/src/components/Telephony/ExotelCallUI.vue +++ b/frontend/src/components/Telephony/ExotelCallUI.vue @@ -286,11 +286,6 @@ const contact = ref({ mobile_no: '', }) -watch(phoneNumber, (value) => { - if (!value) return - getContact.fetch() -}) - const getContact = createResource({ url: 'crm.integrations.api.get_contact_by_phone_number', makeParams() { @@ -303,6 +298,12 @@ const getContact = createResource({ }, }) +watch(phoneNumber, (value) => { + if (!value) return + getContact.fetch() +}, { immediate: true }) + + const dirty = ref(false) const note = ref({