Hi All,

i went  through  the  Delivery  Reports  document and came to  know
that  we can use   combination  of  'SMSC Ref No' and ' Recipient'  to
correlate the  outbound  message  and  a Status  report  message  ,
but for  my  application  the pair 'SMSC Ref No' and ' Recipient'  is
not  unique  enough so  i considered   using 'Dispatch Date'  along
with the 'SMSC Ref No' and ' Recipient'  i.e  i want match  the
dispatch  date  of OutboundMessage   with  the  value  of getSent()
on StatusReportMessage , regarding  this  approach  i have  following
questions .

(1).is it good  approach  to use this kind  of  match ?
(2).what  need  to  be  done if  server time ( where application
using  SMSSlib is running ) and  SMSC server time have difference  in
time

E.g.

OutboundMessage
StatusReportMessage

Dispatch Date: Wed Feb 11 12:08:53 GMT+05:30
2009
strpmsg.getSent() : Wed Feb 11 12:08:10 GMT+05:30 2009







<< OutboundMessage >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com1
 Encoding: 7-bit
 Date: Wed Feb 11 12:08:50 GMT+05:30 2009
 SMSC Ref No: 149
 Recipient: +919885544337
 Dispatch Date: Wed Feb 11 12:08:53 GMT+05:30 2009
 Message Status: SENT
 Validity Period (Hours): -1
 Status Report: true
 Source / Destination Ports: -1 / -1
 Flash SMS: false
 Text: SMS from  BULKSMS  API
 PDU data: D3E6146496BFDB2090B0CA5C4E9B531028084D02


>>> New Inbound Status Report message detected from Gateway: modem.com1
strpmsg.getSent() : Wed Feb 11 12:08:10 GMT+05:30 2009
strpmsg.getReceived() : Wed Feb 11 12:08:13 GMT+05:30 2009
===============================================================================
<< StatusReportMessage >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com1
 Encoding: 7-bit
 Date: null
 Text: 00 - Succesful Delivery.
 PDU data: null
 Originator:
 Original Recipient: 919885544337
 Delivery Status: DELIVERED
 SMSC Ref No: 149
 Memory Index: 15
 Multi-part Memory Index:
 Memory Location: SM
 Source / Destination Ports: -1 / -1


Regards ,

krishna


On Feb 11, 4:57 pm, Thanasis <[email protected]> wrote:
> You could try reading the 
> documentation:http://smslib.org/doc/smslib/delivery_reports/
>
> On Feb 11, 7:37 am, krish <[email protected]> wrote:
>
> > Hi  All ,
>
> > i am trying to generate  status  reports for  messages i have sent
> > but  unable  to correlate the the  original  message and status
> > report  message because  of  lack of data in status  report message .
>
> > out bound  message  :
>
> > << OutboundMessage >>
> > -------------------------------------------------------------------------------
> >  Gateway Id: modem.com1
> >  Encoding: 7-bit
> >  Date: Wed Feb 11 10:46:16 GMT+05:30 2009
> >  SMSC Ref No: 145
> >  Recipient: +919849568635
> >  Dispatch Date: Wed Feb 11 10:46:20 GMT+05:30 2009
> >  Message Status: SENT
> >  Validity Period (Hours): -1
> >  Status Report: true
> >  Source / Destination Ports: -1 / -1
> >  Flash SMS: false
> >  Text: SMS from  BULKSMS  API
> >  PDU data: D3E6146496BFDB2090B0CA5C4E9B531028084D02
>
> > status  report  message  i  got :
>
> > << StatusReportMessage >>
> > -------------------------------------------------------------------------------
> >  Gateway Id: modem.com1
> >  Encoding: 7-bit
> >  Date: null
> >  Text: 00 - Succesful Delivery.
> >  PDU data: null
> >  Originator:
> >  Original Recipient: 919849568635
> >  Delivery Status: DELIVERED
> >  SMSC Ref No: 145
> >  Memory Index: 1
> >  Multi-part Memory Index:
> >  Memory Location: SM
> >  Source / Destination Ports: -1 / -1
>
> > if  i have sent  mutiple  messages to  particular  mobile  no  and  i
> > have  got  multiple  status report  messages  ,how  to  correlate  /
> > associate  messages  with  corresponding  status  report  messages .
>
> > i am  using  following  configuration :
>
> > OS  : WINDOWS  XP
> > GAteway TYPE :  serial  modem  ,COM1 port
>
> > MODEM DETAILS  : SIEMENS   MC39i
>
> > Regards ,
>
> > krishna .
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to