Confirmation about recivied SMS

Confirmation about recivied SMS SearchSearch
Author Message
riteshe
New member
Username: Ritbizkit

Post Number: 3
Registered: 02-2010
Posted on Tuesday, March 30, 2010 - 05:50 pm:   

hi,
i have one question, im using now SMS with a PHP script, the script send informations about results. i mean, if a send a sms with text liverpool, the script will send me information about liverpool last result. but my question is, how do i know that nowSMS send my result SMS to the client or how do i know if that client recieve that SMS. there is any option where i can see this, or i have to develope any script to check this???
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1978
Registered: 08-2008
Posted on Tuesday, March 30, 2010 - 10:36 pm:   

Hi,

Possible, but rather complicated.

You can ask for a delivery receipt when you submit a message. But depending on your SMSC connection, you may or may not receive one. (I'm guessing that you're using a GSM modem, and it is both modem and operator dependent whether or not you will actually receive a delivery receipt, which complicates matters further.)

There's a long discussion thread on how to request delivery receipts, and how they are processed here:

http://support.nowsms.com/discus/messages/1/24078.html

The 12th post in that thread has an excellent summary. The following link will take you directly to that post:

http://support.nowsms.com/discus/messages/1/24078.html#POST40255

The basic sequence is...

You submit a message to NowSMS. NowSMS assigns you a message ID which is returned when you submit the message.

If you're using a simple 2-way SMS application, there is no way for NowSMS to tell you the message ID assigned for your response. Instead of returning your text response in the HTTP response, you need to use the sendsms.php function to submit a new message request to NowSMS: http://blog.nowsms.com/2008/10/nowsms-php-example-send-sms-text.html

An example modification to that script which allows you to parse the NowSMS assigned message ID can be found here:

http://support.nowsms.com/discus/messages/1/24868.html

Assuming your SMSC connection supports delivery receipts, when the message is delivered (or fails delivery), you receive back an SMS message that contains delivery information, as described in the first of the links above.

--
Des
NowSMS Support
riteshe
New member
Username: Ritbizkit

Post Number: 4
Registered: 02-2010
Posted on Wednesday, March 31, 2010 - 02:56 pm:   

hi des,
thanks for the link. i read that post but i have one doubt, i put on my command to execute this one.
http://127.0.0.1/mainv0.8.php?msg=@@FULLSMS@@&msisdn=@@SENDER@@&sn=@@RECIP@@&ReceiptRequested=Yes

sms command prefix: *
the receip request its YES, so i want to know where i can check that delivery report on NOW sms??

thank u.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1982
Registered: 08-2008
Posted on Wednesday, March 31, 2010 - 09:23 pm:   

IF your outbound SMSC connection supports delivery receipts, then a delivery receipt will be delivered back to you as a received SMS message that starts with id:

This requires that delivery receipts be supported by your outbound SMSC connection.

Because of the section that this is posted in, I'm guessing that your outbound SMSC connection is a modem. In this case, it also depends on whether or not the modem you are using supports delivery receipts.

--
Des
NowSMS Support
riteshe
New member
Username: Ritbizkit

Post Number: 5
Registered: 02-2010
Posted on Wednesday, March 31, 2010 - 11:01 pm:   

hi,
ok, im using ICON 210 as my gsm modem.
so i have to configure to receive the delivery report? and how i can do this?
riteshe
New member
Username: Ritbizkit

Post Number: 6
Registered: 02-2010
Posted on Wednesday, March 31, 2010 - 11:12 pm:   

hi,
im using ICON 210 as my gsm modem.
so i have to configure the outbound SMSC to receive the delivery report? and how i can do this? and if my modem dont support delivery reports, what can i do??
plz help me
thanks
riteshe
New member
Username: Ritbizkit

Post Number: 7
Registered: 02-2010
Posted on Thursday, April 01, 2010 - 08:54 am:   

hi des, so any solution for my problem?
thank u.
riteshe
New member
Username: Ritbizkit

Post Number: 8
Registered: 02-2010
Posted on Thursday, April 01, 2010 - 02:08 pm:   

hii. any solution for my problem??
thank u
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1984
Registered: 08-2008
Posted on Thursday, April 01, 2010 - 04:04 pm:   

I don't know if the Option ICON 210 supports delivery receipts. Most likely, it does, as I have tested various other Option ICON models which do.

However, there is still an open question as to whether or not your mobile operator supports delivery receipts.

Forget about 2-way SMS for a minute.

Try submitting an SMS message to NowSMS via a direct URL submission in your web browser.

For example:

http://127.0.0.1:8800/?phonenumber=1234567890&text=test&receiptrequested=yes

Edit the phone number (and IP address of NowSMS if necessary).

If your network and modem support delivery receipts, you will receive back an SMS that starts with the text id:

If you receive this message, then we can look closer at your overall project.

If you do not receive this message, then it is probable that your mobile operator does not support SMS delivery receipts.

So let's see what happens.

--
Des
NowSMS Support
riteshe
New member
Username: Ritbizkit

Post Number: 11
Registered: 02-2010
Posted on Saturday, April 03, 2010 - 12:33 am:   

hi des,
i try what u said, and i got this result:

Message Submitted

Continue


MessageID=4B8843AE.req, Recipient=1234567890

so what i have to do now???

thank u.
riteshe
New member
Username: Ritbizkit

Post Number: 13
Registered: 02-2010
Posted on Saturday, April 03, 2010 - 10:26 am:   

hi des,
i try what u said, and i got this result:

Message Submitted

Continue


MessageID=4B8843AE.req, Recipient=1234567890

so what i have to do now???

thank u.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1990
Registered: 08-2008
Posted on Saturday, April 03, 2010 - 03:29 pm:   

Did you receive any SMS message?

Does the main screen of NowSMS show a count for any new messages received?

If it does not, then it is probable that either your modem or your mobile operator do not support SMS delivery receipts.
riteshe
New member
Username: Ritbizkit

Post Number: 14
Registered: 02-2010
Posted on Saturday, April 03, 2010 - 11:03 pm:   

hi, des
well, i try it again, and on nowsms screen dont count on recivied sms. but my operator support delivery report, because when i send a sms from my cell phone, i recieve delivery report. and i forget to say, that im using trial version of nowsms.

so any solution for my problem?? its my university presentation work, so i have to prove that my client recieve the sms, thats why i need delivery reports.

thank u.
riteshe
New member
Username: Ritbizkit

Post Number: 15
Registered: 02-2010
Posted on Monday, April 05, 2010 - 03:45 pm:   

hi des, any solution for my problem??
thank u.
riteshe
New member
Username: Ritbizkit

Post Number: 16
Registered: 02-2010
Posted on Monday, April 05, 2010 - 11:19 pm:   

des, plzzz help me.
plzzzz,
thank u
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7891
Registered: 10-2002
Posted on Tuesday, April 06, 2010 - 04:15 pm:   

Hi Riteshe,

Unfortunately, it may be that the modem you are using does not support delivery reports.

If a delivery report is requested (&ReceiptRequested=Yes is present in the submit URL), but no delivery report message is received back, then it means that either the carrier does not support delivery reports, or the modem does not support delivery reports.

Unfortunately, many modems do not support delivery reports. I do know that the Option ICON 322 and 452 models do support delivery reports. But we have never tested the 210.

Let me ask a question.

Are you able to receive any SMS messages at all? Do you have "Receive SMS" enabled in the settings for the modem in NowSMS?

I'm wondering if it is just delivery reports that you are not receiving, or if you cannot receive any SMS messages at all ... which could be a separate issue.

Let me suggest this:

Make sure that the SMSDEBUG.LOG is enabled on the "Serial #" page of the configuration dialog (it is by default in NowSMS Lite).

Try submitting another SMS message including the &ReceiptRequested=Yes parameter that Des described earlier.

Reply to this post with two file attachments: SMSDEBUG.LOG and SMSGW.INI.

These files will show me exactly how your NowSMS is configured. And they will show me how the modem is responding to different commands.

-bn
riteshe
New member
Username: Ritbizkit

Post Number: 17
Registered: 02-2010
Posted on Tuesday, April 06, 2010 - 10:38 pm:   

hi bryce, i did what u said.
here the SMSDEBUG.LOG logfile but i didnt find the SMSGW.INI. file.

application/octet-streamSMSDEBUG
SMSDEBUG.LOG (4.5 k)
riteshe
New member
Username: Ritbizkit

Post Number: 18
Registered: 02-2010
Posted on Wednesday, April 07, 2010 - 10:10 am:   

hi bryce, u know if ICON 225 or ICON 401 support delivery reports?
thank u.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7893
Registered: 10-2002
Posted on Wednesday, April 07, 2010 - 01:42 pm:   

I compared your SMSDEBUG.LOG to a system running an Option ICON 322 ... and I noticed some interesting differences.

Try editing SMSGW.INI.

Under the [Modem - GlobeTrotter GI210 - Modem Interface #2] section header, add the following line:

PollMemorySR=Yes

This might cause delivery receipts to start working.

You are able to receive other messages sent directly to the modem phone number, correct?

I'm not 100% certain about the 225 or 401. I am only 100% certain about the 322 and 452.

-bn
riteshe
New member
Username: Ritbizkit

Post Number: 19
Registered: 02-2010
Posted on Wednesday, April 07, 2010 - 02:54 pm:   

hi, i try what u said, but i didn't receive any delivery report, here my SMSGW.INI (finally i found it hehehe) and SMSDEBUG.LOG. and yes when i send a sms to modem number runing my php script i recieve the SMS, and the modem send the response to same number. about that modem ICON 225 i found this article.
http://blog.nowsms.com/2009/09/send-and-receive-sms-and-mms-with_21.html
its mean that icon 225 support delivery reports.

check this log and INi file and say me something plz.
thank u
application/octet-stream
SMSDEBUG.LOG (4.4 k)
application/octet-stream
SMSGW.INI (0.4 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7894
Registered: 10-2002
Posted on Wednesday, April 07, 2010 - 03:05 pm:   

Just to make sure that we're not missing something, add the following under the [SMSGW] header in SMSGW.INI:

DebugModemPoll=Yes


Then send another message with a receipt requested. And then post the resulting SMSDEBUG.LOG, which will have additional information in it.

Also, send a message to the modem so that I can see it being processed in the SMSDEBUG.LOG.

I just want to make sure that the delivery receipt is not hiding somewhere on the modem.

-bn
riteshe
New member
Username: Ritbizkit

Post Number: 20
Registered: 02-2010
Posted on Wednesday, April 07, 2010 - 03:17 pm:   

hi,
ok here the files.
application/octet-stream
SMSGW.INI (0.5 k)
application/octet-stream
SMSDEBUG.LOG (12.8 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7895
Registered: 10-2002
Posted on Wednesday, April 07, 2010 - 05:07 pm:   

Hmm...

Remove PollMemorySR=Yes ... that setting is not having any effect.

I do have one more idea. In the modem properties in NowSMS, there is an "SMS Message Storage" option. Some modems only route delivery reports if this setting is set to "Direct to Modem".

-bn
riteshe
New member
Username: Ritbizkit

Post Number: 21
Registered: 02-2010
Posted on Wednesday, April 07, 2010 - 05:27 pm:   

hi, i try what u say.
here the debug file.
application/octet-stream
SMSDEBUG.LOG (14.8 k)


maybe is modem problem, because on my cellphone i receive delivery reports.
did u see that page about icon 225.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7896
Registered: 10-2002
Posted on Wednesday, April 07, 2010 - 06:09 pm:   

The modem is rejecting the configuration commands for "Direct to Modem". I would conclude that this modem does not support delivery receipts.

Regarding the Option ICON 225, that modem was in our possession "on loan". I spoke to my colleague who tested it, and he says that delivery receipts definitely worked on that modem.

HOWEVER ... I also see a thread http://support.nowsms.com/discus/messages/1/41928.html where someone was not able to get delivery receipts working with the ICON 225. It is possible that there are different firmware versions that have different capabilities.

I did find another thread with a debug log from an ICON 225, and I can see that the modem was not rejecting the "Direct to Modem" commands like your ICON 210 is.

If delivery receipts are a priority for you, I'd try to find either an Option ICON 322, or a Huawei E160G.
riteshe
New member
Username: Ritbizkit

Post Number: 22
Registered: 02-2010
Posted on Wednesday, April 07, 2010 - 07:35 pm:   

hi,
thanks for the support bryce, for this university project is important to prove that client receive my sms.
i will try to buy this modem, but in my country i think is not available, only ICON 210 and 225.
if i buy from another country it will work with my local SIM card??

thank u.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7899
Registered: 10-2002
Posted on Thursday, April 08, 2010 - 06:13 pm:   

Look for modems that are unlocked. These are not tied to any particular SIM cards.
riteshe
New member
Username: Ritbizkit

Post Number: 23
Registered: 02-2010
Posted on Tuesday, May 25, 2010 - 09:22 pm:   

hi, its me again after long time, i buyed the Huawei E160G unlocked on ebay, i recivied today the modem, but when i put my sim card cant find the network,the modem ask for pin, but cant find the network, i know its not rellated to now sms, but anyone can help me plzzz.
thank u.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2167
Registered: 08-2008
Posted on Wednesday, May 26, 2010 - 03:16 pm:   

It sounds like the modem may not be unlocked.

You may want to follow some of the internet search results for E160G unlock.