SOLVED Anyone had success implementing SMS on 4.4.9 via Flowroute?

Status
Not open for further replies.

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
Hey all!

Been using FusionPBX for the last few months has been great, except now I have a need for SMS integration send/receive which has been a struggle so far. I've seen several threads but none have seemed to work for me.
I'm able to cURL a text out from Debian itself via Flowroute but no luck past that. I've been using Zoiper to try and facilitate texts.

Is there anyway to narrow down the point of failure for sending/receiving texts? Since I can cURL from Debian I'm thinking next step is to try and send somehow directly from FusionPBX, from there is there any option to narrow down receiving?

Thanks!
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
I'm diving into the CLI and seeing this now when trying to send text messages:

Chatplan: [cell number] parsing [public->demo] continue=false
Chatplan: [cell number]@[server IP] Regex (PASS) [demo] to([cell number]@[server IP]) =~ /^(.*)$/ break=on-false
2019-10-05 01:30:05.934985 [DEBUG] mod_sms.c:477 SMS chatplan no actions found
2019-10-05 01:30:05.954972 [DEBUG] sofia_presence.c:225 Can't find registered user [cell number]@[server IP]
2019-10-05 01:30:05.954972 [WARNING] sofia_presence.c:4815 Not sending message to ourselves!
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
Well I think I've narrowed down the issue pretty far.
I can receive texts no issue from a cell number to a softphone over flowroute.
I can send texts from softphone to softphone over internal extensions.

I cannot however send out from softphone to external cell numbers. I'm not exactly sure at the moment why but it kind of looks like it isn't even trying to send the text over flowroute API.
 

PBXMePlz

Member
Mar 1, 2019
102
10
18
31
Alright got the outbound to finally work, HAZA! Turns out in the chatplan you need to have this line in your appropriate context (public for me):
<action application="lua" data="app.lua sms outbound"/>
 
  • Like
Reactions: pksml and Vzb007
Status
Not open for further replies.