Flowroute SMS

mydigitalself

Member
Oct 20, 2019
55
4
8
Anyone have any issues receiving SMS from Flowroute?

Sending works perfectly, but receiving the FROM and BODY fields don't added to the database resulting a a SMS from 0 to ext with no message. Nothing appears in the messages on my phones or email.

I did comment out line 159 in the sms_email.php file as it was reporting a syntax error and I thought that may have been the issue.
 
Last edited:

mydigitalself

Member
Oct 20, 2019
55
4
8
I have outbound SMS working over Flowroute; inbound is a little problematic.

The nginx error log shows the correct information; however the PHP message under the SMS is indicating there is an issue.

"PHP message: TO: 0PHP message: FROM: 0PHP message: BODY: PHP message: BODY: PHP message: BODY-revised: PHP message: "

This matched what shows in the email and freeswitch logs.

2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] DIRECTION: inbound
2020-12-01 14:20:43.696622 [INFO] switch_cpp.cpp:1447 chat console
2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] TO: 222@demo
2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] Extension: 222
2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] FROM: 0
2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] BODY:
2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] DOMAIN_NAME: demo
2020-12-01 14:20:43.696622 [NOTICE] switch_cpp.cpp:1447 [sms] MAILSENT (already): 1

From the email received:
To: 0
Msg:

The info being sent to the hook file is not being received correctly by Freeswitch or the email.

Has anyone come across this and if so were they able to correct it?