Last question before I accept I'm stupid and should not be bothering anyone
with more questions

> there could have been my fault or version mismatch but as of 1.3.1, there
> are 2 variables *dlrurl* and *dlrmask*.

I take it as I'm using kannel-cvs (a week or two old) the above still
applies, however I get the message
saying use dlr-mask in my smsbox... any ideas why?

from a post by Navjot:
>1. BEFORE you send sms, save it in db/file with some *unique tag*.

I take it this is so that once you call the dlrurl you can then retrive the
message using php, and then send it off.However (even though I've tried to
read myself to this)
once the message is sent off, how does my php script get the "prepared"
information off kannel?
If the php script (different to everyone) does most of the communicating
with mysql,
why then do we even bother creating the following in our kannel.conf file?:

(Surely all of the below is so that our php script can access the different
data? but if so,
why if we don't have a .php file yet does it not get stored? (tried that))

group = core
...
dlr-storage = mysql

#mysql connection
group = mysql-connection
id = mydlr1host = localhost
mysql-username = jarl
mysql-password = jarl
database = kannel

# STORAGE GROUP
group = dlr-db
id = mydlr1
table = SmsEvent
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = urlfield-mask = mask
field-status = status
field-boxc-id = boxc
field-source = source

and why then do we have to create the following?:

#CREATE TABLE SmsEvent (
#smsc VARCHAR(255),
#ts VARCHAR(255),
#destination VARCHAR(255),
#service VARCHAR(255),
#url VARCHAR(255),
#mask VARCHAR(255),
#status VARCHAR(255),
#boxc VARCHAR(255),
#source VARCHAR(255),
#PRIMARY KEY(smsc) )
#;


Well, that's it thanks for any reply, will head off to some kannel library
and start reading everything over again in a desperate try to never have to
post something like this again,
Jarl





Reply via email to