How to Received MO

How to Received MO SearchSearch
Author Message
gensupport
New member
Username: Gensupport

Post Number: 33
Registered: 12-2017
Posted on Monday, October 08, 2018 - 05:01 am:   

Dear Support,

May I know, how to received MO from nowsms?
I want get the MO(sms from recipient) to keep in our database. Is it possible?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8283
Registered: 10-2002
Posted on Thursday, October 11, 2018 - 08:49 pm:   

Hi,

Normally, these messages would be routed to a 2-way command ... for example, you create a PHP script, and when a message is received, NowSMS calls the PHP script to process the message,

This is a simple example: https://support.nowsms.com/discus/messages/1/3991.html

You would add code to interface with your database.

-bn
gensupport
Frequent Contributor
Username: Gensupport

Post Number: 59
Registered: 12-2017
Posted on Monday, February 18, 2019 - 10:00 am:   

Hi Support,

I've successfully configure 2-way command.
But, may I know why sometimes SMSPREFIX return RECEIPTMESSAGEID value?
And sometimes at the first SMS, received code and sometimes received "Message delivered to +XXXX". Is it difference meaning?


Below is sample of log.

SENDER : +60100000000,
RECIP : 356938094734622,
RECEIPTMESSAGEID : 5C6A8937,
MESSAGEID : 5C6AD53A.REC,
SMSPREFIX : id:5C6A8937,
SMS : sub:001 dlvrd:001 submit date:1902101746 done date:1902101850 stat:DELIVRD err:000

SENDER : +60167777777,
RECIP : 69382030103818,
RECEIPTMESSAGEID : 5AF45BA8,
MESSAGEID : 5AF45BA9.REC,
SMSPREFIX : DELIVERED.,
SMS : Message delivered to +60167777777 nid:5AF45BA8 sub:001 dlvrd:001 submit date:1902101850 done date:1902101850 stat:DELIVRD err:000
gensupport
Frequent Contributor
Username: Gensupport

Post Number: 60
Registered: 12-2017
Posted on Monday, March 04, 2019 - 02:36 am:   

Hi,

Need your help regarding this issue.
Anyone pls help.
gensupport
Frequent Contributor
Username: Gensupport

Post Number: 61
Registered: 12-2017
Posted on Monday, March 04, 2019 - 03:17 pm:   

I need your explaination regarding this as soon as possible.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5989
Registered: 08-2008
Posted on Monday, March 04, 2019 - 04:20 pm:   

Hi,

What does the SMSIN-yyyymmdd.LOG show for the text of these messages?

What is the exact syntax of your 2-way command?

Are the messages being sent out via Android, GSM modem, SMPP?


Des
NowSMS Support