hi here i attached the smskannel.conf but i don't have the any database now ,so pls help how to get the Delivery report in my java application ?what i need to change here pls inform
# # THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL # # This basic version is used for system testing. It expects 'fakesmsc' to # send messages which are replied with simple fixed text message. # It is run like this: # # 1% gw/bearerbox gw/smskannel.conf # 2% gw/smsbox gw/smskannel.conf # 3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop" # # ..all 3 commands in separate shells (or screen sessions) # Note that you can run them in different machines but have to # add certain command line argument and configuration variables then # # # For any modifications to this file, see Kannel User Guide # If that does not help, see Kannel web page (http://www.kannel.org) and # various online help and mailing list archives # # Notes on those who base their configuration on this: # 1) check security issues! (allowed IPs, passwords and ports) # 2) groups cannot have empty rows inside them! # 3) read the user guide # # Kalle Marjola for Kannel project 2001, 2004 #--------------------------------------------- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13003 smsbox-port = 13004 #Settings by AERL start admin-password = status-password = #Settings by AERL end #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/tmp/kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" access-log = "/tmp/access.log" store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! group = smsc smsc = at host= localhost smsc-id = id1 port = 13013 connect-allow-ip = 127.0.0.1 #Settings by AERL start #modemtype = W350i device= /dev/com1 speed = 9600 #speed=115200 pin = 0000 #Settings by AERL end #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" log-level = 0 access-log = "/tmp/access.log" #--------------------------------------------- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar. .. #Settings by AERL start group = sendsms-user username = amma password = amma123 concatenation = true #This value can be configured according to user need max-messages = 10 #user-deny-ip = "" #user-allow-ip = "" #Settings by AERL end #--------------------------------------------- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. #group = sms-service #keyword = nop #text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service #keyword = keyword-regex = .* catch-all = yes max-messages = 0 #Settings by AERL start #get-url = " http://192.168.172.212:8080/AmritaSMS/ReceiveSMS?phone=%p&text=%a" get-url = "http://192.168.172.13:8700/samples/ReceiveSMS?phone=%p&text=%a" #Settings by AERL end text = "No service specified" #Mob number 9446007534 #Settings by AERL start #Modem Definitions group = modems id = SIMCOM_Ltd name = SIMCOM_SIM300 detect-string = "SIMCOM_SIM300" init-string= "AT+CNMI=2,3,0,1,0;+CMEE=1" keepalive-cmd = AT+CSQ reset-string= "AT+CFUN=1,0" #Settings by AERL end this is my smskannel.conf file ,i don't know how to store the database pls help me -- Regards P.Mathiyalakan Amrita School of Engineering, Amrita Vishwa Vidyapeetham, Ettimadai,Coimbatore - 641 105. [email protected] mathiyalakan.webs.com 09626969304(TN) 08129231992(kerala) -- Regards P.Mathiyalakan Amrita School of Engineering, Amrita Vishwa Vidyapeetham, Ettimadai,Coimbatore - 641 105. [email protected] mathiyalakan.webs.com 09626969304(TN) 08129231992(kerala)
