- Joined
- Jul 28, 2022
- Messages
- 40
- Reaction score
- 1
Hi, Im afraid that this is only for incoming SMS in the 3CX not for outgoing.Hi @Alejandro_3CX dose it also work to sent SMS from 3cx app, I mean it will show Alphanumeric ID when SMS sent from 3cx app. if yes is there any configuration guide as it is not workign for me.
Export the Twilio provider, adjust the SMS section where the URL is, then import the provider and redo the routing.As there is no way to auto-respond to WhatsApp-Messages, we only can answer by SMS after the 24h-Period of Meta. It is so important for us to send SMS by Twilio with alphanumeric Sender-ID (which is available in Germany without registration) to prevent customers answers by SMS (without "re-open" the WhatsApp Chat) or - worst case - call us at the Twilio's Overseas Number.
From the twilio console, we can send SMS with alphanumeric Sender-ID but not from 3CX. This is the code shown in the twilio console (to protect private data some characters are replaced with asterisks):
curl 'https://api.twilio.com/2010-04-01/Accounts/ACa5ce3af9b632417724becda2********/Messages.json' -X POST \
--data-urlencode 'To=+4917610777***' \
--data-urlencode 'MessagingServiceSid=MG65a294485da5473a1e15d63ccac80***' \
--data-urlencode 'Body=Text Message with Sender type Messaging Service...' \
-u ACa5ce3af9b632417724becda2********:[AuthToken]
That's all. I wonder, if we can bring 3CX to just add this 3rd line (MessagingServiceSid) when posting to Twilio, then our problem would be solved. For now, all SMS sent out from 3CX are received with the numeric number we want hide to the receiver.
Any idea?
That's really a great Idea! But for my understanding I can only adjust the URL. There seems to be no way to adjust the content posted to the twilio server and add this line needed tho send from Alphanumeric SID:
--data-urlencode 'MessagingServiceSid=MG65a294485da5473a1e15d63ccac80***' \
Neither in provider.pv (from export Trunk & Chat):
<sms>
<variable name="MESSAGING_SID">
<option>ACa5ce3af9b632417724becda2b*******</option>
</variable>
<field name="Enabled">1</field>
<field name="OptionalProvider">1</field>
<field name="ProviderType">twilio</field>
<field name="OutboundRouting">1</field>
<field name="ProviderName">Twilio</field>
<field name="MessagingUrl">https://api.twilio.com/2010-04-01/Accounts/{MESSAGING_SID}/Messages.json</field>
</sms>
nor twilio.pv.xml (from Admin Console Advanced / Templates / Provider-Templates):
<sms>
<variable name="MESSAGING_SID">
<title>ACCOUNT_SID</title>
<option name="Messaging Account SID" required="true" maxlength="60" type="textbox"></option>
</variable>
<variable name="MESSAGING_TOKEN">
<title>AUTH_TOKEN</title>
<option name="Auth token" secure="true" required="true" maxlength="100" type="password"></option>
</variable>
<field name="MessagingUrl" status="readonly">https://api.twilio.com/2010-04-01/Accounts/{MESSAGING_SID}/Messages.json</field>
<field name="ProviderName" status="readonly">Twilio</field>
<field name="OptionalProvider" status="readonly">1</field>
<field name="ProviderType" status="readonly">twilio</field>
<field name="OutboundRouting" status="readonly">1</field>
<field name="HasWebhook" status="readonly">1</field>
</sms>
Maybe I do not see the wood for the trees...
Data-UrlEncode is simply a GET parameter.
{URL}/messages.json?MessagingServiceSid=yourSIDhere
Hi, Im afraid that this is only for incoming SMS in the 3CX not for outgoing.

Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.