New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing First Word in Message #490
Comments
Yes I noticed same problem. |
I tested this and the message went to Sandbox as it suppose to, not Inbox, and I got full message on Sandbox. Can you screenshot how you test it and where do you see your message ? |
Thanks. I am not sure I understand the response. I am using v1.3 Where is Sandbox menu? |
I have it routing to inbox and then it loses first word. |
unless you guys give me details on how you actually send the test message, what were configured in Route incoming, and other changes you made, I cannot help. I tested on 2 servers and I couldn't replicate this issue. I tried to route Sandbox to Inbox too. I'm using 1.3. |
I have this in the Database. select * from playsms_tblRecvSMS; | 0 | 33 | 2 | 2015-09-12 16:44:32 | 629876543210 | This is a message | 17082920638 | dev | select * from playsms_tblSMSIncoming; | 0 | 33 | 0 | 1 | | dev | 629876543210 | 17082920638 | | This is a message | 2015-09-12 16:44:32 | 1 | select * from playsms_tblSMSInbox; | 1442116491 | 23 | 1 | 629876543210 | 17082920638 | 1 | is a message | 2015-09-12 09:40:40 | | As you can see the data is correct in the First 2 tables but the Inbox Table has the first word missing. |
I have a customized inbound routing script that calls. Incoming.php |
ok, now lets examine the log file: please set your loglevel to 3 from config.php, and then restart playsmsd. next to tail the log file and try 1 test to simulate incoming SMS:
once that single test is done you can ctrl+c and read anton |
sms.example.us 2015-09-19 21:45:19 PID55fe0fafad562 - L3 recvsms # isrecvsmsd:1 dt:1442713550 sender:+18005551212 m:Three word test receiver:17082920638 smsc:dev
|
I see, do you use Inbox group ? can you remove your config/setup on Inbox group and then test again |
I disabled in GUI the group inbox and then first word came through. |
ok, please edit your change this line:
into this line:
save it, and then restart playsmsd, and then re-enable your inbox group and test ref: |
Yes all words came through, thanks a million. |
but this isn't a bug, it was designed to remove the keyword. message processed by Inbox Group was just like any other message that came to any other feature, their format is: KEYWORD CONTENT |
Maybe a quick if statement would be worthwhile in the case a KEYWORD is not found then you dont run into the problem. |
I appreciate the fix. None the less. |
Ah yes, it was caught by catchall account. may be catchall will receive forward in full message rather then missing the keyword |
Hello.
I was testing this and noticed that if you simulate a test message, the first word is missing.
Steps.
https://localhost/index.php?app=main&inc=gateway_dev&route=simulate&op=simulate
Enter Message
"This is a test message."
Step 2.
Go to Inbox
https://localhost/index.php?app=main&inc=feature_report&route=user_inbox&op=user_inbox
"is a test message."
The text was updated successfully, but these errors were encountered: