capture your log, with log-level 0 and share to us.
sangprabv [email protected] On May 18, 2010, at 3:58 PM, Ahmad Pakhri Yahya wrote: > Hi, > > I’m new to Kannel and am having problem to get Kannel to receive SMS from the > phone. Currently it’s running on Ubuntu and using Nokia 5610 as the modem. > I have no problem sending sms through kannel, but receiving SMS is still > unsuccessful. No messages in the log (bearer or sms) regarding received sms, > which I suspect that kannel is not being notified by the phone about the sms. > How do I get the phone to inform Kannel about the SMS received. Below is my > config. > > # HTTP administration is disabled by default. Make sure you set the > > # password if you enable it. > > group = core > > admin-port = 13000 > > admin-password = bar > > admin-deny-ip = "*.*.*.*" > > admin-allow-ip = "127.0.0.1" > > admin-allow-ip = "192.168.1.16" > > log-file = "/var/log/kannel/bearerbox.log" > > log-level = 0 > > smsbox-port = 13001 > > box-deny-ip = "*.*.*.*" > > box-allow-ip = "127.0.0.1" > > box-allow-ip = "192.168.1.16" > > #store-file="/etc/kannel/kannel.store" > > # SMSC > > group = smsc > > smsc = at > > modemtype = nokiaphone > > device = /dev/ttyACM6 > > #device = /dev/ttyS0 > > speed = 0 > > smsc-id = nokiaphone > > port = 13013 > > log-level = 0 > > log-file = "/var/log/kannel/smsbox.log" > > #sim-buffering = true > > # Nokia mobile phone setup > > group = modems > > id = nokiaphone > > name = "Nokia 6500 config" > > detect-string="Nokia" > > detect-string2="Nokia 6500" > > init-string = "ATZ" > > #init-string = "AT+CMGF=1" > > #init-string = "AT+CNMI=1,2,0,0,0" > > #init-string = "AT+CNMI=?" > > #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > > #speed = 19200 > > enable-hwhs = "AT+IFC=2,2" > > message-storage = "SM" > > need-sleep=true > > keepalive-cmd="AT+CBC;+CSQ" > > group = smsbox > > smsbox-id = smsbox > > bearerbox-host = localhost > > sendsms-port = 13013 > > global-sender = 13013 > > log-level=0 > > log-file = "/var/log/kannel/smsbox.log" > > sendsms-chars="0123456789 +-" > > access-log = "/var/log/kannel/access.log" > > group = smsbox-route > > smsbox-id = smsbox > > smsc-id = nokiaphone > > # SEND-SMS USERS > > group = sendsms-user > > username = kanneluser > > password = kannelpass > > max-messages = 10 > > concatenation = true > > # SMS Service > > group = sms-service > > keyword = default > > #keyword-regex = .* > > catch-all = yes > > #max-messages = 10 > > #concatenation = true > > get-url = "http://localhost/test" > > #exec /home/brite/watcer/stopwatch > > omit-empty = true > > accept-x-kannel-headers = true > > Please help me to read the SMS from the phone. Thank you. > > Regards, > > Ahmad Pakhri Yahya >
