hi im trying to "RECEIVE " message from kannel few weeks .i went thought USER manual and lot other documentations.i can "send sms" with no problem.can anyone help with this problem.im running appache server and here is my kannel.conf file
# Default kannel configuration file group = core admin-port = 13000 admin-password = changemenow status-password = changemetoo admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" smsbox-port = 13001 #wapbox-port = 13002 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 1 group = smsc smsc = at modemtype = auto device = /dev/ttyUSB1 my-number = "+94772246333" #speed = 460800 #pin = 1234 #sim-buffering = true log-level = 0 # MODEM DEFINITIONS group = modems id = huawei name = "Huawei E220" detect-string = "huawei" init-string = "ATZ" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" #message-storage = "EM" group = smsbox bearerbox-host = 127.0.0.1 #we use sendsms-port for sending sms (http) sendsms-port = 13013 global-sender = "+919994989838" log-file = /var/log/kannel/smsbox.log log-level = 0 group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 10 group = sms-service keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://localhost/sms?phone=%p&text=%a" ******************************************************************* im new to kannel and i want to know that where i should store any php code relavant to this . i want to get receiving message to a txt file or to a database .when i send sms to a GSM modem there is no log saying that it received . i have several other problems too 1)if i receive messages , is web browser automatically pop up ? or 2)should i write a php code to pop up web page 3) should i run appache or some server before receiving message 4) can i get help with AT command with kannel & if so where ? 5) in my sms-service group get-url = "http://localhost/sms?phone=%p&text=%a should i write some php code for getting message ? if so where should i store it ? thanx
