A sample question ( I am confused) | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2006 ⬆ |
◄ ► |
Author | Message | |||
OmidReza New member Username: Omid Post Number: 1 Registered: 08-2006 |
Hi, I want to undrestand what are "Delivery reports" and "Reply path" in SMS technology ??? which from them is closer to follow : I want to make sure that my message has recieved by destinition and the destinition has seen that. This problem is very important for me. Thanks alot. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6422 Registered: 10-2002 |
Hi, A delivery report (assuming that it is supported by your SMS provider) will tell you whether or not a message has been delivered. It sounds like you also want to know whether or not a message has been read (seen) by the recipient. And there is nothing in the SMS standard that would cover this. If you really need to confirm that someone has seen a message, you'd need to use something like WAP Push. With WAP Push, a URL gets sent to the phone, and the user opens the URL to read the message ... and your application could see that the URL had been opened. As for "reply path" ... well, this is a confusing one. When you submit a message with "reply path" set, this means that you are asking the SMSC to which you are submitting the message to allow the recipient to reply back to the message by submitting their reply back to that same SMSC. In practice, you'll find that bulk SMS providers won't accept a message with this flag set ... because they are not prepared to accept an over the air reply from the recipient as an SMSC. (There are both billing and technical issues involved.) When you send with a GSM modem, if you're sending to someone on the same operator, you can often get this flag to go through with the message ... and some phones will then prompt after the recipient reads the message something like "The sender has requested a reply. Reply now?". The user is then prompted for the text that they want to use in reply. You might find some more information searching on reply path ... or ReplyRequested here on the discussion board. (ReplyRequested is the variable that you use when submitting to NowSMS via HTTP to set this flag.) But keep in mind that it has many limitations. -bn | |||
OmidReza New member Username: Omid Post Number: 2 Registered: 08-2006 |
Thank alot Bryce. I like to give more details. I am using from GSM Modem and I know that " delivery reports " is supported by my SMS provider. I am using from SMS Tools to sending my SMSs. I was enabled status report in the config file ( report = yes). my smsd.conf is : ############################################################### devices = GSM1 outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent mypath = /usr/local/bin logfile = /var/log/smsd.log loglevel = 7 alarmhandler = /usr/local/bin/alarmevent alarmlevel = 4 delaytime = 10 errorsleeptime = 10 #blocktime = 3600 blocktime = 60 eventhandler = /usr/local/bin/smsevent stats = /var/log/smsd_stats #stats_interval = 3600 stats_interval = 60 #blacklist = /etc/smsd.black #whitelist = /etc/smsd.white checkhandler = /usr/local/bin/smscheck receive_before_send = yes number_parts = yes [queues] # Commented lines are examples for germany # D1 = /var/spool/sms/D1 # D2 = /var/spool/sms/D2 # O2 = /var/spool/sms/O2 # EPLUS = /var/spool/sms/EPLUS # QUAM = /var/sppol/sms/QUAM # MOBILCOM = /var/spool/sms/MOBILCOM OTHER = /var/spool/sms/OTHER [provider] # Commented lines are examples for germany # D1 = 49160, 49170, 49171, 49175, 49151 # D2 = 491520, 49162, 49172, 49173, 49174 # O2 = 49176, 49179, 49159 # EPLUS = 49163, 49177, 49178, 49157 # QUAM = 49150 # MOBILCOM = 49156 OTHER = 0,1,2,3,4,5,6,7,8,9 [GSM1] #init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1 init = ATE0+CNMI=2,0,0,2,1 #init = AT+CNMI=1,1,1,1,1 # Windows: /dev/com1, Solaris: /dev/cua/a, Linux /dev/ttyS0 device = /dev/ttyS0 incoming = yes queues = OTHER #You don't need a PIN for mobile phones pin = XXXX mode = new smsc = XXXXXXXXXX baudrate = 19200 rtscts = yes cs_convert = yes report = yes eventhandler = /usr/local/bin/smsevent ################################################################ I add " Report: yes " and " Report: 1 " and " Report: true" to header of sms file, ############################################ Report: yes To: 98XXXXXXXXXX This message is for test. ****************************************************************** Report: 1 To: 98XXXXXXXXXX This message is for test. ****************************************************************** Report: true To: 98XXXXXXXXXX This message is for test. ****************************************************************** To: 98XXXXXXXXXX Report: yes This message is for test. ****************************************************************** To: 98XXXXXXXXXX Report: 1 This message is for test. ****************************************************************** To: 98XXXXXXXXXX Report: true This message is for test. ############################################ then I was changed in smsd.c to follow : ########################################### . . . // Use the modems default if report is unset (-1) if (report==-1) report=devices[device].report; if (report) { // Create a temp file for message ID sprintf(tmpfilename,"/tmp/%s.XXXXXX",devices[device].name); close(mkstemp(tmpfilename)); strcat(cmdline," -r -R'"); strcat(cmdline,tmpfilename); strcat(cmdline,"'"); } . . . *************************************************************** . . . // Use the modems default if report is unset (-1) if (report==1) report=devices[device].report; if (report) { // Create a temp file for message ID sprintf(tmpfilename,"/tmp/%s.XXXXXX",devices[device].name); close(mkstemp(tmpfilename)); strcat(cmdline," -r -R'"); strcat(cmdline,tmpfilename); strcat(cmdline,"'"); } . . . ########################################## I was tested each from them and I did not get any answer. I like to get a sms ( in incoming directory) after that destinition recieved my sms. If you need more information please tell me. Please help to me. Thank alot... | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6455 Registered: 10-2002 |
Hi, I'm sorry, but this is the support forum for the Now SMS/MMS Gateway software product. I can tell you that delivery reports do not come in like a regular SMS messages via a GSM modem. But I do not know enough about the software that you are using to know how it handles delivery receipts. (And even if I did, I need to keep this forum for technical support queries related to our NowSMS product.) Good luck. -bn | |||
OmidReza New member Username: Omid Post Number: 7 Registered: 08-2006 |
Hi, I`m sorry and excuse me for my question. Thanks alot for your attention. Good luck too. |