do you have to put somehting in the url post ??? for this dlr to work ???
I have been trying to get kannel to insert anything into the table, but
nothing shows up. my table looks like htis:


CREATE TABLE `dlr` (
  `smsc` varchar(40) default NULL,
  `ts` varchar(40) default NULL,
  `destination` varchar(40) default NULL,
  `source` varchar(40) default NULL,
  `service` varchar(40) default NULL,
  `url` varchar(255) default NULL,
  `mask` smallint(6) default NULL,
  `status` smallint(6) default NULL,
  `boxc` varchar(40) default NULL,
  `dlr_id` bigint(20) unsigned NOT NULL auto_increment,
  `tsread` timestamp NOT NULL default CURRENT_TIMESTAMP,
  PRIMARY KEY  (`dlr_id`),
  UNIQUE KEY `dlr_id` (`dlr_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

and my kannel.conf looks like this :

group = core

dlr-storage = mysql

--------------------------------

group = mysql-connection

id = mydlr

host = localhost

username = krall

password = jlopez

database = sms

max-connections = 1

group = dlr-db

id = mydlr

table = dlr

field-smsc = smsc

field-timestamp = ts

field-destination = destination

field-source = source

field-service = service

field-url = url

field-mask = mask

field-status = status

field-boxc-id = boxc





On 8/30/07, Nicholas Amorim <[EMAIL PROTECTED]> wrote:
>
> You should add this parameter in core group:
>
> dlr-mask = 31
>
> Why 31 ? The dlrs status are 1, 2, 4, 8, 16, which added together results
> in 31. It reports all the status. If you only want to know if the message is
> received, dlr-mask should be 1, and so on.
>
> Then, you can add a dlr-url parameter in the sendsms-user group. Every
> time kannel process a sms, it will access this url.
>
> You can check the url format in the kannel userguide, which you can
> download here:
>
> http://www.kannel.org/userguide.shtml
>
> If you have any other questions, bring in it on! :)
>
>
>

Reply via email to