hi i am using kannel-1.2.0 with CMG smsc and my problem remain the same as it is going 
to the default service anyhow even i defined so many and another problem is it is not 
storing DLR into mysql my kannel.conf is look like that and it is running fine without 
file-syntax error ..

##### Kannel.conf #####

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/var/log/kannel/kannel.log"
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
log-level = 1
http-proxy-port = 80
http-proxy-host = 192.168.20.80
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.21.*"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.21.*;192.168.20.80"
unified-prefix = "009198,9198"
dlr-storage = mysql


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = "Divyesh-A."
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/access.log"

group = mysql-connection
id = dlr-db
host = localhost
mysql-username = root
mysql-password = admin
database = dlr

group = dlr-mysql
mysql-id = dlr-db
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status


group = sendsms-user
username = test
password = testap12
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;192.168.21.*;192.168.20.*"
default-smsc = "test"
max-messages = 10


group = smsc
smsc = smpp
smsc-id = "test"
host = 172.16.4.50
port = 6010
transceiver-mode = yes
receive-port = 6010
system-type = "test"
smsc-username = test
smsc-password = testap12
source-addr-ton = 5
source-addr-npi = 0
interface-version = 0x34
address-range = ""
enquire-link-interval = 30
max-pending-submits = 3
reconnect-delay = 10
#idle-timeout = 30
connect-allow-ip = "127.0.0.1;192.168.21.*


group = sms-service
accepted-smsc = "test"
name = www
keyword = www
text = "You asked nothing and I did it!"
max-messages = 10
aliases = web
#file = "/tmp/dtest"
#get-url = "http://127.0.0.1/cgi-bin/smstest.cgi?msg=%p";
#post-url = "http://127.0.0.1/cgi-bin/smstest.cgi?msg=%p";
catch-all = true


group = sms-service
name = default
keyword = default
text = "Default Reply: No Service Specified By You"
#catch-all = true

##### Kannel.conf #####


##### Logs .. ######

2003-08-29 09:45:31 Receive SMS [SMSC:test] [SVC:] [ACT:] [from:9886018232] [to:5054] 
[flags:0:1:0:0:0] [msg:0:] [udh:0:] 
2003-08-29 09:45:31 SMS request sender:9886018232 request: '' fixed answer: 'Default 
Reply: No Service Specified By You' 
2003-08-29 09:45:31 Sent SMS [SMSC:test1] [SVC:default] [ACT:] [from:Divyesh-A.] 
[to:9886018232] [flags:0:1:0:0:0] [msg:42:Default Reply: No Service Specified By You] 
[udh:0:] 2003-08-29 09:47:12 Receive SMS [SMSC:test] [SVC:] [ACT:] [from:9886018232] 
[to:5054] [flags:0:1:0:0:0] [msg:0:] [udh:0:]

##### Logs .. ######


##### Mysql #####

database dlr present
table dlr present

+-------------+---------------+------+-----+---------+-------+ | Field | Type | Null | 
Key | Default | Extra | +-------------+---------------+------+-----+---------+-------+ 
| smsc | varchar(20) | YES | | NULL | | | ts | timestamp(14) | YES | | NULL | | | 
destination | varchar(100) | YES | | NULL | | | service | varchar(50) | YES | | NULL | 
| | url | varchar(255) | YES | | NULL | | | mask | varchar(25) | YES | | NULL | | | 
status | varchar(50) | YES | | NULL | | 
+-------------+---------------+------+-----+---------+-------+ 

##### Mysql #####


I am doing since 3-4 days but i don't know why i m not getting keyword reply it going 
to the default only do i need to compile with anything else as I compiled with 
--enable-mysql --dlr-storage=mysql only.

Thanks in advance for any help by anybody ..

I m surprised that how other people could run without any problems ...


+++++++++++++++++++++++++++++++++++++
  Master is the person who knows 
      something about everything,
   but,
      Everything about something !!
+++++++++++++++++++++++++++++++++++++
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets on Air Sahara Flights at Prices Lower Than Before. Just log on 
to http://airsahara.indiatimes.com and Bid Now!


Reply via email to