I want to know if a message have been delivered or not... In the outbound message I set the status field to "true", so I think the status in the message should be set to "D" when delivered, but this doesn't happen...
2008/12/9 Aryo Sanjaya <[EMAIL PROTECTED]> > Just wanna make it clear: > > - If you want to get status for sent SMS: check for "S" status > - If you want to get status for delivered SMS: check for "D" status > > Maybe like that. > > > Best Regards, > > Aryo Sanjaya > > > > > > On Tue, Dec 9, 2008 at 16:21, benficamania <[EMAIL PROTECTED]> wrote: > >> So, there's nothing i can do to get status message? >> >> 2008/12/7 Thanasis <[EMAIL PROTECTED]> >> >> >>> The "S" stands for "sent". Once the message gets sent sucessfully, the >>> flag is set to "S". >>> If sms delivery reports worked, you would get a "D" for >>> "delivered" (see http://smslib.org/doc/smsserver/interfaces/db/). >>> >>> On Dec 7, 4:23 pm, benficamania <[EMAIL PROTECTED]> wrote: >>> > Yes, he reaches it... But it's strange that even with the destination >>> > cellphone off, the status in the outbound messages table is set to "S" >>> > >>> > 2008/12/5, Thanasis <[EMAIL PROTECTED]>: >>> > >>> > >>> > >>> > >>> > >>> > > Hi, >>> > >>> > > The compatibility list is just an indication. >>> > > I really cannot say if this is a problem of the M20 terminal. The >>> only >>> > > way to be sure is to find some other model and test that as well. >>> > >>> > > Does the message reach the recipient? >>> > >>> > > On Dec 5, 10:51 am, benficamania <[EMAIL PROTECTED]> wrote: >>> > > > I see this (see File)... Maybe the problem is with the M20 >>> terminal... I >>> > > can >>> > > > send and receive SMS with it, but he's not in the compatibility >>> list... >>> > >>> > > > Thanks >>> > >>> > > > 2008/12/3 Thanasis <[EMAIL PROTECTED]> >>> > >>> > > > > Hi, >>> > >>> > > > > Lets start the easy way, shall we? :) >>> > >>> > > > > Modify the SendMessage example and ask it to provide a status >>> report. >>> > > > > Run it to send the message and leave it running (it will say >>> > > > > "sleeping..." blah blah). At some time after a few minutes you >>> should >>> > > > > see the alert that a new message has been received. Do you see >>> this >>> > > > > behaviour? >>> > >>> > > > > On Dec 3, 4:08 pm, benficamania <[EMAIL PROTECTED]> wrote: >>> > > > > > I'm from Portugal... If I receive a report when using the >>> sim-card in >>> > > a >>> > > > > > normal cellphone, I think I should receive a report using the >>> > > sim-card in >>> > > > > a >>> > > > > > modem... But I'm not sure... I'm gonna try with a sim-card from >>> > > another >>> > > > > > operator... >>> > >>> > > > > > 2008/12/3 Jeff <[EMAIL PROTECTED]> >>> > >>> > > > > > > StatusReports are telco-specific I think. Here in the >>> Philippines >>> > > I >>> > > > > > > never got a status report at all. But I think Thanasis is >>> able to >>> > > get >>> > > > > > > them in Greece. >>> > >>> > > > > > > On Dec 3, 6:51 pm, "[EMAIL PROTECTED]" < >>> > > [EMAIL PROTECTED]> >>> > > > > > > wrote: >>> > > > > > > > I've been trying for the last 10 days to use the Status >>> Reports >>> > > > > > > > functionality, but it doesn't work... I put the message in >>> the >>> > > > > > > > database with the status report field = 1, the >>> SMSServer.conf >>> > > have >>> > > > > the >>> > > > > > > > fields for status reports set to yes, but the Status Report >>> > > doesn´t >>> > > > > > > > work... Even when i turn my cellphone off and try to send a >>> SMS >>> > > to >>> > > > > the >>> > > > > > > > cellphone, using a modem, the status of the output message >>> in the >>> > > > > > > > database is set to "S"... I'm using a M20 terminal... Has >>> anybody >>> > > > > > > > implemented a system with status reports really working? >>> How? >>> > >>> > > > > > > > Thanks...- Hide quoted text - >>> > >>> > > > > > - Show quoted text - >>> > >>> > > > [SMSLib.txt13K ]Output with msg.setStatusReport(true); >>> > >>> > > > Modem Information: >>> > > > Manufacturer: SIEMENS >>> > > > Model: M20 >>> > > > Serial No: 520008411028388 >>> > > > SIM IMSI: ** MASKED ** >>> > > > Signal Level: 87% >>> > > > Battery Level: 100% >>> > >>> > > >>> =============================================================================== >>> > > > << OutboundMessage >> >>> > >>> > > >>> ------------------------------------------------------------------------------- >>> > > > Gateway Id: modem.com1 >>> > > > Encoding: 7-bit >>> > > > Date: Wed Dec 03 21:36:57 GMT 2008 >>> > > > SMSC Ref No: 233 >>> > > > Recipient: +351969343198 >>> > > > Dispatch Date: Wed Dec 03 21:37:01 GMT 2008 >>> > > > Message Status: SENT >>> > > > Validity Period (Hours): -1 >>> > > > Status Report: true >>> > > > Source / Destination Ports: -1 / -1 >>> > > > Flash SMS: false >>> > > > Text: Hello from SMSLib! >>> > > > PDU data: C8329BFD0699E5EF3668DA9C32D3E210 >>> > >>> > > >>> =============================================================================== >>> > >>> > > > Now Sleeping - Hit <enter> to terminate. >>> > >>> > > > Output with msg.setStatusReport(false) >>> > >>> > > > Modem Information: >>> > > > Manufacturer: SIEMENS >>> > > > Model: M20 >>> > > > Serial No: 520008411028388 >>> > > > SIM IMSI: ** MASKED ** >>> > > > Signal Level: 83% >>> > > > Battery Level: 100% >>> > >>> > > >>> =============================================================================== >>> > > > << OutboundMessage >> >>> > >>> > > >>> ------------------------------------------------------------------------------- >>> > > > Gateway Id: modem.com1 >>> > > > Encoding: 7-bit >>> > > > Date: Wed Dec 03 21:41:49 GMT 2008 >>> > > > SMSC Ref No: 234 >>> > > > Recipient: +351969343198 >>> > > > Dispatch Date: Wed Dec 03 21:41:54 GMT 2008 >>> > > > Message Status: SENT >>> > > > Validity Period (Hours): -1 >>> > > > Status Report: false >>> > > > Source / Destination Ports: -1 / -1 >>> > > > Flash SMS: false >>> > > > Text: Hello from SMSLib! >>> > > > PDU data: C8329BFD0699E5EF3668DA9C32D3E210 >>> > >>> > > >>> =============================================================================== >>> > >>> > > > Now Sleeping - Hit <enter> to terminate. >>> > >>> > > > DEBUG: >>> > >>> > > > 0 [Thread-1] INFO org.smslib - GTW: modem.com1: Starting gateway, >>> using >>> > > Generic AT Handler. >>> > > > 21 [Thread-1] INFO org.smslib - GTW: modem.com1: Opening: COM1 >>> @9600 >>> > > > 51 [SMSLib-WatchDog] DEBUG org.smslib - WatchDog started. >>> > > > 51 [SMSLib-WatchDog] INFO org.smslib - WatchDog running... >>> > > > 591 [Thread-1] DEBUG org.smslib - GTW: modem.com1: ModemDriver: >>> > > KeepAlive thread started. >>> > > > 621 [Thread-1] DEBUG org.smslib - GTW: modem.com1: ModemReader >>> thread >>> > > started. >>> > > > 631 [Thread-1] DEBUG org.smslib - GTW: modem.com1: AsyncNotifier >>> thread >>> > > started. >>> > > > 631 [Thread-1] DEBUG org.smslib - GTW: modem.com1: >>> AsyncMessageProcessor >>> > > thread started. >>> > > > 641 [Thread-1] DEBUG org.smslib - GTW: modem.com1: clearBuffer() >>> called. >>> > > > 1643 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :(27) >>> > > > 1863 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :+++ >>> > > > 2063 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :ATZ >>> > > > 2264 [Thread-1] DEBUG org.smslib - GTW: modem.com1: clearBuffer() >>> > > called. >>> > > > 3265 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :ATZ(cr) >>> > > > 3495 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :ATE0(cr) >>> > > > 3726 [Thread-1] DEBUG org.smslib - GTW: modem.com1: clearBuffer() >>> > > called. >>> > > > 4727 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CPIN?(cr) >>> > > > 4877 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: +CPIN: >>> READY >>> > >>> > > > 4918 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :+CPIN: >>> > > READY(cr) >>> > > > 4918 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :ATE0(cr) >>> > > > 5118 [Thread-1] DEBUG org.smslib - GTW: modem.com1: clearBuffer() >>> > > called. >>> > > > 6119 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CLIP=1(cr) >>> > > > 6630 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: OK >>> > >>> > > > 6630 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :OK(cr) >>> > > > 6630 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+COPS=0(cr) >>> > > > 7061 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: OK >>> > >>> > > > 7061 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :OK(cr) >>> > > > 7061 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND :ATE0(cr) >>> > > > 7261 [Thread-1] DEBUG org.smslib - GTW: modem.com1: clearBuffer() >>> > > called. >>> > > > 8262 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CREG?(cr) >>> > > > 8613 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: +CREG: >>> 0,1 >>> > > > OK >>> > >>> > > > 8613 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :+CREG: >>> > > 0,1(cr)OK(cr) >>> > > > 8613 [Thread-1] INFO org.smslib - GTW: modem.com1: GSM: Registered >>> to >>> > > home network. >>> > > > 8613 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CMEE=1(cr) >>> > > > 8693 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: OK >>> > >>> > > > 8693 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :OK(cr) >>> > > > 8693 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CPMS?(cr) >>> > > > 8833 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: +CPMS: >>> > > "SM",0,30,"SM",0,30,"SM",0,30 >>> > > > OK >>> > >>> > > > 8833 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :+CPMS: >>> > > "SM",0,30,"SM",0,30,"SM",0,30(cr)OK(cr) >>> > > > 8833 [Thread-1] INFO org.smslib - GTW: modem.com1: MEM: Storage >>> > > Locations Found: SM >>> > > > 8843 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CNMI=?(cr) >>> > > > 8933 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: +CNMI: >>> > > (0-3),(0-3),(0-2),0,(0-1) >>> > > > OK >>> > >>> > > > 8933 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :+CNMI: >>> > > (0-3),(0-3),(0-2),0,(0-1)(cr)OK(cr) >>> > > > 8933 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 3 >>> > > > 8933 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 1 >>> > > > 8933 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 0 >>> > > > 8933 [Thread-1] INFO org.smslib - CNMI: No best match, returning: >>> 0 >>> > > > 8933 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 0 >>> > > > 8933 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> > > :AT+CNMI=3,1,0,0,0(cr) >>> > > > 9003 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: OK >>> > >>> > > > 9003 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :OK(cr) >>> > > > 9003 [Thread-1] DEBUG org.smslib - GTW: modem.com1: SEND >>> :AT+CMGF=0(cr) >>> > > > 9053 [Thread-1] DEBUG org.smslib - GTW: modem.com1: BUFFER: OK >>> > >>> > > > 9053 [Thread-1] DEBUG org.smslib - GTW: modem.com1: RECV :OK(cr) >>> > > > 9064 [Thread-1] DEBUG org.smslib - GTW: modem.com1: >>> SyncMessageProcessor >>> > > thread started. >>> > > > 9074 [Thread-1] INFO org.smslib - GTW: modem.com1: Gateway >>> started. >>> > > > 9104 [SMSLib-QueueManager] INFO org.smslib - GTW: modem.com1: >>> Starting >>> > > Queue Manager. >>> > >>> > > > Modem Information: >>> > > > 10065 [main] DEBUG org.smslib - GTW: modem.com1: SEND :AT+CGMI(cr) >>> > > > 10345 [main] DEBUG org.smslib - GTW: modem.com1: BUFFER: SIEMENS >>> > > > OK >>> > >>> > > > 10345 [main] DEBUG org.smslib - GTW: modem.com1: RECV >>> :SIEMENS(cr)OK(cr) >>> > > > Manufacturer: SIEMENS >>> > > > 10345 [main] DEBUG org.smslib - GTW: modem.com1: SEND :AT+CGMM(cr) >>> > > > 10435 [main] DEBUG org.smslib - GTW: modem.com1: BUFFER: M20 >>> > > > OK >>> > >>> > > > 10435 [main] DEBUG org.smslib - GTW: modem.com1: RECV >>> :M20(cr)OK(cr) >>> > > > Model: M20 >>> > > > 10435 [main] DEBUG org.smslib - GTW: modem.com1: SEND :AT+CGSN(cr) >>> > > > 10556 [main] DEBUG org.smslib - GTW: modem.com1: BUFFER: >>> > >>> > ... >>> > >>> > read more »- Hide quoted text - >>> > >>> > - Show quoted text - >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
