Generic VoIP as SMS provider works for Send but Receive not working

Status
Not open for further replies.

AmirLD

Customer
Joined
Mar 28, 2024
Messages
5
Reaction score
0
Hi
We are an ITSP in Canada and would like to offer 3CX to some of our clients. I am working on the SMS part and was able to add a Generic VoIP provider . Send SMS works fine , I just sent a text message from my Extension on 3CX to my cell number .

But I am struggling with incoming SMS - I am calling the webhook with post method but I do not get any response.
How can I debug this? where would be the log of the post method I just used ? Tcpdump shoes the hit but not sure where is the log to check for errors.
Could not find anything on Console as well for SMS debug.

Thanks.
 
I would suggest to check the PBX management console log file to see whether the SMS is coming in the PBX.
 
Hi
Console log dose not show anything related to SMS even when I send a text which works and gets delivered to my Cell.
There should be another log for SMS .
 
@AmirLD
It is the management console log, and your logs must be set in the verbose logging level.
Here is an example of the log and you perhaps can use the keywords here:

Code:
2024/03/27 15:57:49.268|5408|0131|Trac|MYPHONE: NotifySenderAboutDelivery sender=175@
2024/03/27 15:57:49.268|5408|0131|Verb|MYPHONE: _DAC([241 NotificationChatMessageStatus]) - 00:00:00.0014845 - from GatewayService[0e9703b4-b84d-7040-8b5b-e69a47db4e88]@127.0.0.1. Requests:1 -> 0 (traceid=0HMVVSQENA68C:00000002)
2024/03/27 15:57:49.268|5408|0131|Trac|[Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor] Executing ContentResult with HTTP Response ContentType of text/xml
2024/03/27 15:57:49.269|5408|0131|Trac|[Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action ManagementConsoleJS.MyPhone.MyPhoneController.MPWebService (3CXManagementConsole) in 1.7437ms
2024/03/27 15:57:49.269|5408|0131|Trac|[Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'ManagementConsoleJS.MyPhone.MyPhoneController.MPWebService (3CXManagementConsole)'

2024/03/27 15:57:49.268|5408|0131|Verb|MYPHONE: _DAC([241 NotificationChatMessageStatus]) - 00:00:00.0014845 - from GatewayService[0e9703b4-b84d-7040-8b5b-e69a47db4e88]@127.0.0.1. Requests:1 -> 0 (traceid=0HMVVSQENA68C:00000002)
2024/03/27 15:57:49.268|5408|0131|Trac|[Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor] Executing ContentResult with HTTP Response ContentType of text/xml
2024/03/27 15:57:49.269|5408|0076|Verb|[GS] Response = ACK: Success=True, ErrorType=Success, ErrorCode=null, Parameter=, Message=Request has been successfully processed

2024/03/27 15:59:09.686|5408|0076|Verb|[GS] GatewayClient received message ResponseMyMessages. Messages:
ChatMessage: IdConversation=3, Party=+16XXXXXXXXX@+12XXXXXXXX.voxtelesys:175, Id=5, Sender=175(Owner Test J Myname), IsAnonymousActive=

2024/03/27 15:59:09.686|5408|0076|Verb|voxtelesys: sending message from +12XXXXXXXX to +16XXXXXXXXX. msgId=61eed5de09e0449596a483780e7b7291
2024/03/27 15:59:10.380|5408|0076|Verb|[GS] Request(MyPhone.Notifications.NotificationChatMessageStatus)
2024/03/27 15:59:10.380|5408|0076|Verb|[GS] ClientChannelImpl.SendRequest(MyPhone.Notifications.NotificationChatMessageStatus) started
 
I checked the log but there is nothing there referring to SMS , just to be clear outbound SMS works but even that doesn't show up in the log.
General question : Are we even allowed to use our own system for SMS ? or it has to be one of those listed providers ?
 
You are allowed as this API is available, but we won't be able to assist and troubleshoot the issue for unsupported trunks.
Ensure that your firewall is allowed to receive the traffic to the HTTPS port from your SMS provider.
What I could suggest is to monitor that log live and see what happens when you try to receive the SMS.
Feel free to give a try supported trunk as a test to see if it's working on your Phonesystem.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,074
Members
164,893
Latest member
jbergeon