### Answer
Based on your description, it sounds like there might be a disconnect between the function calling mechanism and the actual SMS execution. Here are some troubleshooting steps based on documented solutions:
Check Function Execution in Logs:
When the agent says the SMS was sent successfully but you don't receive it, check if the function is actually being invoked [(1) ](
) . After ending your test call, look for function execution logs to verify the Send SMS tool was actually called .
Common Setup Issues:
1.
Phone Number Configuration: Ensure your phone number has SMS enabled and is properly configured [(2) ](
) [(3) ](
) . Only Retell Twilio numbers can enable SMS functionality .
2.
Twilio Messaging Service Setup: For toll-free numbers, even if verified, they need to be linked to a Twilio Messaging Service [(4) ](
) . The number must be added to the Sender Pool of your Messaging Service .
3.
A2P Campaign Requirements: Some users have encountered the error "A2P Application not found for the given phone number" . This requires proper Twilio Console configuration through Messaging → Messaging Services .
Testing Approach:
Try using a simple hardcoded test prompt to isolate whether the issue is with function calling or SMS setup [(1) ](
) :
Hi! I am testing the SMS function.
I will now send you a test SMS.
When I finish speaking, immediately execute the send_sms function.