Success, after doing some research I found out AT command was not set properly.
after doing this: init-string = "AT+CNMI=3,1,0,0" in group modems I now receive messages, (log file shows) : 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: received message from > SMSC: +923210006001 > 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: Numeric sender > (international) <+923214542634> > 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: User data length read > as (16) > 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: Udh decoding done > len=16 udhi=0 udhlen=0 udh='' > 2010-01-19 18:46:11 [10491] [6] WARNING: smsbox_list empty! > but one last thing, can you please tell me why the warning in end? I have smsbox configured, what is list? and also my get-url is not working, means my PHP page cannot read the recieved msgs, but logs show that kannel is recieving. Here is my sms-srevice config: group = sms-service > keyword = default > catch-all = yes > max-messages = 0 > #exec = gedit > get-url = "http://localhost/getsms.php?from=%p&text=%r&time=%t" > #file = "msgs.txt" > ߣ∂ςқ! On Tue, Jan 19, 2010 at 6:46 PM, Alvaro Cornejo <cornejo.alv...@gmail.com>wrote: > You need to tell your modem to pass the sms to kannel using at+cnmi > command and/or tell kannel to look for the messages in the modems: > sim-buffering = true... > > read the manual for details. > > Regards > > Alvaro > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Tue, Jan 19, 2010 at 8:25 AM, Munir Ahmad <munir.eh...@gmail.com> > wrote: > > Thankyou, my configuration file is now like this but still no luck > > > >> group = core > >> admin-port = 13330 > >> smsbox-port = 13331 > >> admin-password = bar > >> log-file = "./kannel.log" > >> log-level = 0 > >> box-deny-ip = "*.*.*.*" > >> box-allow-ip = "127.0.0.1" > >> > >> group = smsc > >> smsc = at > >> smsc-id = "MainSMSC" > >> modemtype = auto > >> device = /dev/ttyACM0 > >> my-number = 03214542634 > >> connect-allow-ip = 127.0.0.1 > >> keepalive = 60 > >> log-file = "smsc.log" > >> log-level = 0 > >> speed = 115200 > >> > >> group = smsbox > >> bearerbox-host = 127.0.0.1 > >> smsbox-id = main > >> sendsms-port = 13332 > >> global-sender = 03214542634 > >> #sendsms-chars = 0123456789 > >> #black-list = "banned_nos.txt" > >> log-level = 0 > >> log-file = "smsbox.log" > >> > >> group = sendsms-user > >> username = black > >> password = pathanrox69 > >> concatenation = true > >> max-messages = 10 > >> > >> group = sms-service > >> keyword = service > >> catch-all = yes > >> max-messages = 0 > >> exec = gedit > >> #get-url = "http://localhost/getsms?from=%p" > >> #file = "msgs.txt" > >> > >> group = sms-service > >> keyword = default > >> text = "No service specified" > >> > >> group = smsbox-route > >> smsbox-id = main > >> > >> group = modems > >> id = generic > >> name = MotoU6 > >> no-pin = true > >> init-string = "AT+CNMI=3,2,0,0" > > > > > > ߣ∂ςқ! > > > > > > On Tue, Jan 19, 2010 at 6:05 PM, Cezary Siwek <cza...@thebestisp.co.uk> > > wrote: > >> > >> you have to configure smsbox-route group. check the manual for more > info. > >> > >> BR > >> > >> > >> ----- Original Message ----- > >> From: Munir Ahmad > >> To: users@kannel.org > >> Sent: 19 January 2010 12:52 > >> Subject: cannot recieve sms > >> I have been pulling hairs for two days but no luck please help me. > >> > >> here is my config: > >> > >>> group = core > >>> admin-port = 13330 > >>> smsbox-port = 13331 > >>> admin-password = bar > >>> log-file = "./kannel.log" > >>> log-level = 0 > >>> box-deny-ip = "*.*.*.*" > >>> box-allow-ip = "127.0.0.1" > >>> > >>> group = smsc > >>> smsc = at > >>> smsc-id = "MainSMSC" > >>> modemtype = auto > >>> device = /dev/ttyACM0 > >>> my-number = 03214542634 > >>> connect-allow-ip = 127.0.0.1 > >>> keepalive = 60 > >>> log-file = "smsc.log" > >>> log-level = 0 > >>> speed = 115200 > >>> > >>> group = smsbox > >>> bearerbox-host = 127.0.0.1 > >>> sendsms-port = 13332 > >>> global-sender = 03214542634 > >>> #sendsms-chars = 0123456789 > >>> #black-list = "banned_nos.txt" > >>> log-level = 0 > >>> log-file = "smsbox.log" > >>> > >>> group = sendsms-user > >>> username = black > >>> password = pathanrox69 > >>> concatenation = true > >>> max-messages = 10 > >>> > >>> group = sms-service > >>> keyword-regex = (.*) > >>> catch-all = yes > >>> max-messages = 0 > >>> get-url = "http://localhost/getsms?from=%p" > >>> #file = "msgs.txt" > >>> > >>> group = sms-service > >>> keyword = default > >>> text = "No service specified" > >>> > >>> > >>> group = modems > >>> id = generic > >>> name = MotoU6 > >>> no-pin = true > >>> init-string = "AT" > >> > >> I can successfully receive msgs sent to my connected U6 but cannot hit > the > >> get-url when a message is sent to my U6, it simply goes to my cell in > inbox. > >> Please help me > >> > >> ߣ∂ςқ! > > > > >