Hi,

maybe my question is stupid, but if your store all sms in a db before you send 
them and that we use dlr-url + dlr-mask in the http interface, what does kannel 
actually do when he receives a dlr ? :
Does it store it in the db and then triggers the dlr-url ?
is the external storage made to help kannel dealing with a large number a 
awaited dlr ?

Regards,

Eric Diwouta-Loth


Selon Navjot Singh <[EMAIL PROTECTED]>:

> hi Nejc,
> 
> i am sure you must have solved your problem by now.
> In case, you have not (and i am no too late ;-), let me explain.
> 
> 0. Set your kannel to support DLR, either internal/external(mysql/sdb)
> 1. BEFORE you send sms, save it in db/file with some *unique tag*.
> 2. In send sms request, pass 2 addiotnal params dlrurl and dlrmask
>       + where dlrurl=http://yourhost.com/dlr?id=<uniq_tag>&dlr=%d
>         your this url may contain any logic, you wish.
>       + to see what dlrmask values can be, consult kannel docs.
> 3. Now when your sent sms gets a DLR back from SMSC, kannel will call
>    the <dlrurl> you specified with dlr containing actual value returned
>    by SMSC. ( SUCCESS =>1, FAIL => 2 and so on..)
> 
> if you need dlr conf etc, pls ask freely.
> 
> HTH
> -navjot
> 
> 
> 
> |-----Original Message-----
> |From: Nejc Menard @ GENERA Lynx d.o.o. Ljubljana
> |[mailto:[EMAIL PROTECTED]
> |Sent: Monday, July 21, 2003 4:54 PM
> |To: Navjot Singh
> |Subject: Re: kannel sms responds...
> |
> |
> |Thank you for your answer.
> |
> |How can i know, which dlr report is for which sent sms? We are woking 
> |with some scheduler app. that sends let say at 6 am 50 sms messages. The 
> |delivery reports are not coming in the same row usually...
> |
> |Regards,
> |
> |Nejc.
> |
> |Navjot Singh pravi:
> |
> |>hi,
> |>
> |>1. Use dlr-url and dlr-mask.
> |>2. Before making HTTP req, you might be saving the sms in db / file. The
> |>status may be by "sent".
> |>3. The dlr-url program can simply update the status of the record to
> |>"delivered" / "failed" as it comes out to be.
> |>   In your case, if it's failed, you may resend it.
> |>
> |>HTH
> |>-navjot
> |>
> |>|-----Original Message-----
> |>|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> |>|Nejc Menard @ GENERA Lynx d.o.o. Ljubljana
> |>|Sent: Monday, July 21, 2003 3:40 PM
> |>|To: [EMAIL PROTECTED]
> |>|Subject: kannel sms responds...
> |>|
> |>|
> |>|Hi!
> |>|
> |>|We have an servlet application, that sends sms requests over http (GET).
> |>|How can we implement the reading of status of sms. That means if it was
> |>|sent, buffered or worse and the most important failed. This must be done
> |>|in order of sending the failed sms again. Maybe there is a possibility
> |>|to return the dlr reports with some readable connection to sent sms
> |>|(some index or something...). By the way- it there any suitable front
> |>|end to this like stand alone? To read the logs and list the sent sms and
> |>|dlrs...?
> |>|
> |>|Best regards,
> |>|
> |>|Nejc Menard
> |>|GENERA Lynx d.o.o.
> |>|Ljubljana, Slovenia
> |>|
> |>|
> |>|
> |>
> |>
> |>
> |>  
> |>
> |
> |
> |
> |
> 
> 



Reply via email to