Dear All, I am trying to configure Kannel to send and receive SMS using a Huawei E156G USB modem. I have 2 questions.
(1) When an SMS is sent to the modem though the modem receives the SMS but Kannel does not detect it. nothing is recorded in the log files. Is this because of an error in the specified get-url, or some other error in configuration parameters? (2) I was able to send SMSs for a while but now even though the message "Accepted for Delivery" is displayed the following error occurs DEBUG: re-queing SMS not-yet-to-be resent DEBUG: sms_router: time to sleep 30.00 secs. DEBUG: AT2[/dev/ttyUSB0]: <-- +CMS ERROR: 500 ERROR: AT2[/dev/ttyUSB0]: CMS ERROR: +CMS ERROR: 500 ERROR: AT2[/dev/ttyUSB0]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) DEBUG: sms_router: gwlist_len = 1 DEBUG: sms_router: handling message (0x97cf278 vs 0x97cf278) DEBUG: re-queing SMS not-yet-to-be resent DEBUG: sms_router: handling message (0x97cf278 vs 0x97cf278) I am very new to all this and have read the user guide and also other posts in the mailing list, but cannot find a solution. Any help will be greatly appreciated. Below is my configuration file. #--------------------------------------------- # CORE # group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #--------------------------------------------- # SMSC CONNECTIONS # group = smsc smsc = at modemtype=auto device=/dev/ttyUSB0 my-number=+947xxxxxxxx port = 10000 connect-allow-ip = 127.0.0.1 log-level = 0 #--------------------------------------------- # SMSBOX SETUP # group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = +947xxxxxxxx log-level = 0 #--------------------------------------------- # SEND-SMS USERS # group = sendsms-user username = tester password = foobar concatenation= true max-messages = 10 #--------------------------------------------- # SERVICES # group = sms-service keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://localhost/sms?phone=%p&text=%a" group = sms-service keyword = default text = "No service specified" #--------------------------------------------- # MODEMS # group = modems id = huawei name = "Huawei" detect-string = "huawei" detect-string2 = "e156" init-string = "ATZ" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" message-storage = "SM"
