Hello all. After a lot of searching and reading I finally make kannel works. Now, today, I have a new problem to get over. I want to catch the incoming SMSs to my number and do some operation if some word is found, a common sms service. I do read the manual and I write the exact example that I found in there but is not working at all, so I reduce the complexity to test and still nothing. Now i just want to exec a perl script if the word "ping" is found.
I've attached the conf file bellow. Thanks in advance! group = core admin-port = 13000 smsbox-port = 13005 admin-password = test log-file = "/tmp/kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #wdp-interface-name = "*" #include = "/usr/src/gateway-1.4.1/doc/examples/modems.conf" group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" detect-string2 = "Nokia" #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" speed = 460800 enable-mms = true group = smsc smsc = at modemtype = nokiaphone device=/dev/ttyACM0 #device=/dev/rfcomm0 my-number = +59598146623 sms-center = +595981499003 connect-allow-ip = 127.0.0.1 log-file = "/tmp/smskannel.log" log-level = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 log-file = "/tmp/smsbox.log" log-level = 0 group = sendsms-user username = tester password = test concatenation= true max-messages = 10 #dlr-url = "http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=test&charset=UCS-2&coding=2&to=0981146623&text=h%00o%00l%00a%00" group = sms-service keyword = ping. exec = "/usr/bin/perl /home/carlos/development/perl/kannel/test.pl" #accepted-smsc = "change as needed"