- Joined
- Mar 5, 2022
- Messages
- 96
- Reaction score
- 32
Hi,
I'm trying to send an sms to the 3CX webhook. It works, partially.
Here is the payload I am using in my "Send SMS" widget in Twilio Flow:
{
"ToCountry": "01",
"ToState": "",
"SmsMessageSid": "",
"NumMedia": "0",
"ToCity": "",
"FromZip": "",
"SmsSid": "{{trigger.message.ChannelSid}}",
"FromState": "",
"SmsStatus": "sent",
"FromCity": "",
"Body":"{{trigger.message.Body}}",
"FromCountry": "US",
"To": "{{flow.channel.address}}",
"ToZip": "",
"NumSegments": "1",
"MessageSid": "{{trigger.message.MessageSid}}",
"AccountSid": "XXXXXXXXXXXXXXX",
"From": "{{contact.channel.address}}",
"ApiVersion": "2010-04-01"
}
The problem is that in 3CX the SMS gets sent to my extension each time. I text from my cell phone to my Twilio # that triggers a flow by keywords.
If the keyword is "test" I want it to be sent to a 3CX Queue agents to be dealt with.
So far it only sends to my extension, even though the SMS Message route is set to a different extension.
Please advise, thanks!
I'm trying to send an sms to the 3CX webhook. It works, partially.
Here is the payload I am using in my "Send SMS" widget in Twilio Flow:
{
"ToCountry": "01",
"ToState": "",
"SmsMessageSid": "",
"NumMedia": "0",
"ToCity": "",
"FromZip": "",
"SmsSid": "{{trigger.message.ChannelSid}}",
"FromState": "",
"SmsStatus": "sent",
"FromCity": "",
"Body":"{{trigger.message.Body}}",
"FromCountry": "US",
"To": "{{flow.channel.address}}",
"ToZip": "",
"NumSegments": "1",
"MessageSid": "{{trigger.message.MessageSid}}",
"AccountSid": "XXXXXXXXXXXXXXX",
"From": "{{contact.channel.address}}",
"ApiVersion": "2010-04-01"
}
The problem is that in 3CX the SMS gets sent to my extension each time. I text from my cell phone to my Twilio # that triggers a flow by keywords.
If the keyword is "test" I want it to be sent to a 3CX Queue agents to be dealt with.
So far it only sends to my extension, even though the SMS Message route is set to a different extension.
Please advise, thanks!

