https://retellai.com/?utm_source=discord&utm_medium=seo logo
SMS Node to non US number not working
# ❓・bug-report
d
@AI Evy the SMS node is not working although i have correctly configured my Twilio messaging services and ensured the number supports SMS. When reading the Retell help documentation it mentions the SMS node only support US numbers? Is this correct? If yes I then decided to create a CUSTOM FUNCTION and tried to execute a one way SMS to the UK Twilio number using a POST but the POST configuration doesn't allow for Basic AUTH and Password to be added and so my custom function is failing. Can anybody provide any support or help on this topic, maybe I am missing something in plain sight?
a
Thanks for tagging me @deus56.. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you're correct about the SMS node limitations. The SMS node only works for phone numbers that have SMS enabled, and currently only Retell Twilio numbers can enable SMS [(1) ]() . Additionally, current SMS capabilities are limited to US numbers only [(2) ]() . The documentation confirms that "Native SMS capabilities are only available for Retell Twilio numbers (Telnyx not supported yet) " and that "Current SMS capabilities are limited to US numbers only" . Regarding your custom function approach, there's a community discussion that shows someone else encountered similar issues when trying to use SMS functionality with custom telephony numbers [(3) ]() . According to that discussion, SMS functions are not supported for custom telephony numbers, and the recommendation was to use Retell Twilio numbers or implement custom functions for SMS sending . For your specific situation with the UK number and authentication issues in your custom function, I don't have specific information about configuring Basic AUTH in custom functions from the available sources. If you need immediate assistance with your custom function authentication setup or alternative SMS solutions for non-US numbers, I'd recommend contacting support directly: *Visit [Contact Sales]() * *Visit [) * Would you like a general answer based on my knowledge about potential workarounds for SMS authentication in custom functions?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) [[2] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[3] Error in sending SMS](https://discord.com/channels/1186424376300679209/1412053422944817313) ​
o
Hello @deus56.
Currently SMS limited to US numbers only. you can use custom functions to call your server and you don't need to send the your Auth credentials every time, you can add it directly on your server.
d
Thanks for your quick reply - one of the reasons we selected Retell was that we could link Twilio and better manage our voice and messaging services, now we find out that we can't use our Twilio messaging successfully because we are in the UK region. Here is the error we are receiving from the custom function node we created: tool_call_id: tool_call_cbebb0 Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 401 response status: 401 response data: [{"code":20003,"message":"1","more_info":"2","status":401},"Authentication Error - No credentials provided","https://www.twilio.com/docs/errors/20003"]
o
This comes from your server , you need to configure your server with the right credentials.
d
Hi @Omar Ashraf | Community Lead I managed to test sms for the agent to a twilio mobile number with sms capability. I also managed to add the SMS node in the agent workflow and received a positive sms message in the tool result but i never received the message. See screenshot from the testagent screen. Does this mean that i can use my twilio sms service but not with the standard sms node but i can use it for the smsm chat agent? this is very odd.
@Omar Ashraf | Community Lead Any feedback to my last question? thanks
o
You will need a Twilio retell number to send SMS messages.
s
only Retell Twilio numbers can enable SMS currently
a
@shahretell basically im from Outside us and i buy retell number .. And i don't have any register business but i run a digital agency online and is it possible to approved for sms .. we have website also but main problem is i don't have any register biz or llc .. Can you guide me .. thanks Shah ..
s
please create a new ticket
@artasam