Hi, 
     I think someone has posted this solution before. The fact is that by declaring 
dlr-storage = mysql, kannel will insert and delete entries. Therefore you will not 
find any records in the db after sending the message. This feature is only good for 
situation where your system just crashes; then you could reboot your system and check 
the db for any messages still yet to be sent.

   I guess you want to store the delivery status of the message. In this case, you 
need to
 1. Insert the message details, including status field into the db before calling the 
sendsms script.
  2. You need to write a dlr.php script which will update 
the message status.
    
> 
> From: "Ted Mwakabaga" <[EMAIL PROTECTED]>
> Date: Tue 20/01/2004 10:7 AM GMT+08:00
> To: <[EMAIL PROTECTED]>
> Subject: dlr-url dlrmask CGI parameter
> 
> Hi Guys
> I have same old problem and followed up all the details on archieve on 
> 
> "From: Navjot Singh 
>  Subject: RE: RE: No DLR db entries with GSM-as-SMSC 
>  Date: Tue, 19 Aug 2003 03:52:10 -0700
> "
> Navjot explained clearly on mysql-dlr and I followed all his directives.
> One missing thing which earlier asked by another user and to my
> investigations - reply was skipped is in which group does this dlr-mask
> belong? And same question for his sister dlr-url. In user's guide "URL
> to be fetched if a dlrmask CGI parameter is present" I am sure that am
> missing something here.
> 
> I tried in gateway-1.2.1 and 1.3.1 same problem, nothing goes to mysql,
> the gateway is running excellently, send and receive msg no problem but
> nothing goes to my mysql data base. It connects to the db, gives errors
> if I change db name but doesn't complain if I change table name. what
> the hell is going on? 
> 
> Group = core
> ....
> dlr-storage = mysql
> 
> group = mysql-connection
> .....
> field-url = dlrurl
> field-boxc-id = field-box-id   for the case of 1.3.1
> 
> 
> 
> thanks
> TM
> 
> 
> 

regards,
Thomas Hoi 
HP: 97680834


Reply via email to