Collecting number from caller (via VAPI)
# prompt-tip
a
Hi all. Happy Thursday! I try to get my solution to collect the mobile number from the caller in the call/conversation. All is fine so far, but the issue for me is that the system just doesn't wait long enough to get the full number from the caller. The caller starts to tell the system but the system is always barging in after 5-6 digits telling the user that it got the number - of course not correct. I'm not able to manage this via the prompt, or don't know how. Any ideas? Is it the transcriber that doesn't wait long enough? I wasn't able to spot a setting within VAPI... (Trans = 11labs). Thank you
p
Hi, @User while design the prompt for the assistant give some example or tell the assistant that how many digits will be there in a contact number along with the international country code of your preference. by giving an example will sort this issue.
a
Thank you! At the moment the part of the prompt is like this: --- Beachte dabei, dass diese Rufnummern aus 11 bis 15 Ziffern bestehen (Beispiel: 015140067050), also warte länger ab, bis der Anrufer die Rufnummer komplett genannt hat. Wiederhole die Rufnummer zum Abgleich noch einmal. Der Anrufer soll die Rufnummer bestätigen. --- in english: Note that these phone numbers consist of 11 to 15 digits (example: 015140067050), so wait longer until the caller has given the complete number. After that repeat the phone number once more for verification. The caller should confirm the number. --- From a caller perspective it feels like something forces the system to continue, instead of listening. At least the above doesn't have the best effect, I'm afraid. Thanks
p
try to increase the response time in the settings of the assistant instead of telling it like repeat the number just give the prompt as after getting the details of the customer confirm the details by verifying it.
a
Will give it a try, thank you!
r
Hi Andre Schnack, You can determine and manage phone numbers called using the Vapi platform. To retrieve a specific phone number you can utilize the
GET
endpoint with the phone number's ID. For detailed API interaction, refer to the [Get Phone Number](https://docs.vapi.ai/api-reference/phone-numbers/get) documentation. Additionally, you can list all phone numbers associated with your account using the [List Phone Numbers](https://docs.vapi.ai/api-reference/phone-numbers/list) endpoint. This allows you to filter based on creation and update timestamps. If you are interested in outbound calling functionalities including an API to initiate calls or features like scheduling, you should check the [Outbound Calling](https://docs.vapi.ai/calls/outbound-calling) documentation for comprehensive guidance. You can initiate calls through
/call
endpoint by specifying an assistant and customer details. Let me know if you need further details or specific examples.