https://retellai.com/?utm_source=discord&utm_medium=seo logo
Error in sending SMS
# ❓・bug-report
g
I have connected a toll-free A2P verified number via SIP trunking. I have also set up the SMS function using account SID and Auth Token. However, while using the send_sms function in a voice agent, I keep getting the error below: tool_call_id: bf3c115511a127fd Encountered error in sending SMS: Error: getA2PApplicationByPhoneNumber: A2P Application not found for the given phone number FYI, when I use the "Make an outbound SMS" option to test the SMS functionality, it works well. @Reece - Integration @ Retell AI @retell_02360 @Colin - Integrations @ Retell AI @retellaisdk_71593 @retellaisipserverdetails_46942 @retellai @User @User
o
you are saying that you already a2p approved from Twilio and your number is verified ? for now you can make a custom function to send the message till i check with the team, can you provide your org id ?
g
Yes, the number is already A2P verified on Twilio. Here's the organisation ID: org_1kEljnCBgxQ5laAU
o
can you provide a call id for that.
g
Call ID: call_85ddcddcde1599d810c757078f2
@Omar Ashraf | Community Lead has the issue been resolved?
o
Hello @governor5815 ,currently it is better to use Retell Twilio Number to make sure the sip config is correct or you can send message using custom functions.
g
My client is already using Twilio for other activities and prefers connecting the voice via an SIP trunk. You're suggesting that the error is because of incorrect SIP configuration? I have been working with SIP trunks for a while now and it's unlikely that I've configured it incorrectly.
o
I checked with the team SMS function is not supported for the custom telephony numbers .
I have forwarded this feature request to the team.
Thanks.
g
Well, but the chatbot works with custom telephony?
o
Hello @governor5815 , right now The SMS works with retell numbers only, but I have forwarded this issue to the team.
g
@Omar Ashraf | Community Lead, I think you were wrong. It's working right now.
o
Your Twilio number is working now, it could be an update, but if it's working that's good to hear.