Call transfering
# support
g
I have been reviewing the call transfer tool documentation but was not able to get mine to call out properly. I added the following lines to my prompt: #Call Forwarding directory If the user asks for Hailey, call the transferCall function with +1629XXXXXXX If the user asks for Allen, call the transferCall function with +1629XXXXXXX If the user asks for Craig, call the transferCall function with +1629XXXXXXX If the user asks for Grant, call the transferCall function with +1629XXXXXXX I also removed any numbers from the Forwarding phone number field in hopes that the bot will populate that with the values provided in the prompt. Any help would be greatly appreciated!
v
@Grant It seems like you're trying to set up a call forwarding system based on the name of the person the user is asking for. However, I noticed that the phone numbers provided in your prompt are incomplete, as indicated by the 'XXXXXXX'. For the transferCall function to work properly, you need to provide complete and valid phone numbers in the E.164 format. To assist you further, could you please provide the full and correct phone numbers for Hailey, Allen, Craig, and Grant? Once I have the complete phone numbers, I can help you set up the call forwarding correctly.
You can continue this conversation by mentioning me in the message.
g
@User I only added those X's to protect the information of those individuals. The real prompt has full properly formatted numbers
s
Hey @Grant To help track down this issue, could you share: The call ID When exactly this happened (the timestamp) What response you expected to get What response you actually got instead This would really help me figure out what went wrong!
g
Ok sorry for the delay but I believe I have made some progress. I created a new tool using the API endpoint POST /tool with the following payload. The tool is created as expected. when testing it, it seems to only transfer people to the first number listed in that payload (Hailey). Am I missing any steps to ensure that the bot will respect the name and numbers provided in by that tool? https://cdn.discordapp.com/attachments/1332451007845896212/1332470001013227644/transferCalltool.txt?ex=67955ee4&is=67940d64&hm=ad950531632033924e06633fe2251a2ff76b28bb51cb64bd449ece8b68cdd545&
Let me know if there is any additional info you need. This happend over a series of test calls I made, happy to grab more details from one if needed!
y
you need to set up an elastic sip trunk if you are using twilio
s
Hey @Grant could you share the following: - The call ID - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
@Grant Because of no response closing this ticket.