Hello
I managed to send and receive sms through kannel . Now, I want to store
delivery reports files in mysql . I set up my file kannel.conf then create my
database, but I can not see datas.Here , is my configuration file kannel.conf:
group = core
admin-port = 13000
admin-password = ****
status-password = ****
admin-allow-ip = "127.0.0.1,192.168.2.12"
smsbox-port= 13001
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
# Configuration wapbox
#group = wapbox
#bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"
#log-level=4
#Configuration smsbox
group =smsbox
bearerbox-host = localhost
global-sender=13003
sendsms-port=13003
log-level=4
log-file="/var/log/kannel/smsbox.log"
# Configuration send-sms user(Parametres de connexion avec le navigateur)
group= sendsms-user
username=fyle
password=fyle
#concatenation=true
# Configuration sms-service
group=sms-service
keyword=test
text="ok c'est bon"
# Smsc (telephone portable)
group = smsc
smsc = at
modemtype = samsung
device =/dev/ttyACM0
log-level=1
host=192.168.2.12
#Configuration Modem Samsung
group = modems
id = samsung
name = " SAMSUNG Mobile USB Modem"
detect-string = "samsung"
init-string = "AT+CNMI=2,1,0,0,0"
speed=9600
# Configuration connection mysql
group = mysql-connection
id = mydlr
host = localhost
username = root
password = fyle
database = kannel
max-connections =1
# Groupe dlr-db(stocker les informations sur les sms envoyés)
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
Thank
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