Maybe the easiest way is to set the boxc_id of your send_sms table to your smsbox-id.
From: spameden [mailto:spame...@gmail.com] Sent: Wednesday, 02 May, 2012 15:52 To: Rene Kluwen Cc: Sk. Samsuddoza; users@kannel.org Subject: Re: delivery report-getting smsc submit always There are two ways to solve your problem: 1) Use smsbox to push messages to kannel, i.e. call the url: http://localhost:13013/cgi-bin/sendsms?user=user <http://localhost:13013/cgi-bin/sendsms?user=user&password=password&to=...&f rom=...&text=message&dlr-url=http%2F//.../dlr.aspx&dlr-mask=31> &password=password&to=...&from=...&text=message&dlr-url=http%2F//.../dlr.asp x&dlr-mask=31 When kannel gets a DLR from your smsc it will run script specified in dlr-url field. Dlr-mask 31 means you need to get ALL type of reports, if you don't need some of the reports you need to check userguide. So you have updated status in your database. Also you need to pass each time unique identifier to the url, so correct message will be updated. 2) Second way is to modify source of sqlbox / kannel to get such updates automatically in sent_sms table (i.e. add additional field status and update this field for 'MT' messages). About overhead you might need to tweak your MySQL configuration as well, add more RAM to your server. I strongly suggest using InnoDB instead of MyISAM because it's more faulty proof. 2012/5/2 Rene Kluwen <rene.klu...@chimit.nl> Sqlbox won't call your dlr.aspx, as smsbox would. It just stores the dlr messages in the sent_sms table. And yes, if you specify dlr-storage = mysql then each message that you send (and the dlr's that you receive) means an extra sql statement. Which will decrease your throughput significantly. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Sk. Samsuddoza Sent: Wednesday, 02 May, 2012 13:19 To: users@kannel.org Subject: delivery report-getting smsc submit always Hi I'm NEW in kannel... So Please Help me I am using kannel & it's works fine but without delivery report. When i insert sms in send_sms table with dlr-mask & dlr-url in to call dlr.aspx which store status in mysql database, it gives status "smsc submit" always. But it's not updated when message is actually delivered to recipient. Hence i am getting only "smsc submit" status only, it's not updated to "delivered". And delivery report also decreases my throughput very much. so please reply how to get updated status in database? how to maintain throughput with delivery report as well? Please reply. Thanks & Regards SK. SAMSUDDOZA Thanks & Regards, Sk. Samsuddoza acube_new_logo
<<image001.jpg>>