Twilio->3CX issues

stpaulschurch

SMB User
Joined
Feb 17, 2024
Messages
18
Reaction score
9
I switched from Voxtelesys to Twilio because of cost for non-profits. At any rate, I followed the instructions provided here at 3cx for creating a trunk with Twilio. After following through the steps at both 3cx and twilio, I am able to receive calls. However, I am not able to make calls from my app or voip phones. I get the following error in the log:

30045 error:

Code:
Unable to parse message from provider twilio. Error: Unknown message received: { "ParentAccountSid": null, "Payload": "{\"resource_sid\":\"blah\",\"service_sid\":null,\"error_code\":\"32101\",\"more_info\":{\"Msg\":\"The called number is not correctly formatted.\",\"ErrorCode\":\"32101,The called number is not correctly formatted.\",\"LogLevel\":\"ERROR\"},\"webhook\":{\"type\":\"application/json\",\"request\":{\"url\":null,\"method\":null,\"headers\":{},\"parameters\":{\"SipCallId\":\"zKYhYsb4Md3Kh1uKVEmIag..\",\"SipSrcIp\":\"blahblah\",\"SipSrcTransport\":\"udp\",\"To\":\"\\\"1218499blah\\\" <sip:[email protected]:5060>\",\"From\":\"<sip:[email protected]:5060>;tag=e5d3e561\"}},\"response\":{\"status_code\":null,\"headers\":{},\"body\":null}}}", "Level": "ERROR", "Timestamp": "2024-12-28T12:50:40.359286275Z", "PayloadType": "application/json", "AccountSid": "blahblah", "Sid": "blahblah" }

(blah's are removed info from the error code so you can't see it)

I setup outgoing call rules so that numbers called are formatted E.164 (+1 plus 10 digits for US calls). So I'm confused as to why it still says numbers aren't formatted correctly. Any help would be appreciated.

I'm also having issues with SMS probably related to the same thing. But I'll deal later.
 
Make sure all your numbers in 3CX are also formatted in the same number format. Twilio only deals with numbers in +E164 format so your caller ID should also be E164.
Also make sure you have E164 processing disabled.
 
  • Like
Reactions: jed

Latest Posts

Members Online Now

Forum statistics

Threads
111,831
Messages
589,276
Members
164,660
Latest member
RJenkinsROCK