CMS error 500
"Equipe Support" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.user,gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, We use Kannel v1.4.3 installed on Ubuntu server 14.04.1 with a 3G Huawei E1522 USB key. We use Kannel only for shipments of SMS via HTTP. No reception. We find that for 2-3 days it works well, then the messages are stored in the queue and are not sent. We have 2 types of errors: 1: CMS Error: unknown error 500 = -> Sim storage maybe it full? 2nd: bearerbox can't connect to the USB modem. We also found that in Linux, our 3G Huawei key appears 2 times: ttyUSB1 and ttyUSB2. The solution we found for now: stop Kannel services, change the modem in minicomwith ttyUSB1 or ttyUSB2, modify kannel.conf (with ttyUSBxx modem) and restart bearebox and SMSBOX. Could you help us with this problem please? It is very important to us? Another thing: can we set the alerts (eg by email) when SMS messages are not sent and stored in the queue? Thank you find enclosed our Kannel configuration file and file logs. Waiting for your reply. Best regards. [http://www.onlynetworks.net/]
kannel.conf
(application/octet-stream, 1.7 KB)
# # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. #Core Kannel Configuration Section group = core admin-port = 50500 admin-password = kannel status-password = kannel admin-allow-ip = "*.*.*.*" wapbox-port = 13300 smsbox-port = 13400 log-file = "/var/log/kannel/bearerbox.log" access-log = "/var/log/kannel/bearerbox-access.log" log-level = 1 unified-prefix = « 00221,+221,00′′ #Wapbox group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log" #Smsbox group = smsbox bearerbox-host = localhost sendsms-port = 14000 sendsms-url = "/cgi-bin/sendsms" sendsms-chars = "0123456789+-" global-sender = 14000 log-level = 0 log-file = "/var/log/kannel/smsbox.log" access-log = "/var/log/kannel/smsbox-access.log" #Smsc group = smsc smsc = at smsc-id = Huawei-E1552 modemtype = huawei_e1552 device = /dev/ttyUSB2 host = localhost sms-center = +33695000695 my-number = +33782830720 pin = 1234 keepalive = 10 speed = 9600 sim-buffering = true #Modems group = modems id = huawei_e1552 name = "huawei E1552" detect-string = "Huawei" init-string ="AT+CNMI=2,1,2,2,0" message-storage = "ME" speed = 9600 #Sms Service Informations group = sms-service accepted-smsc = Huawei-E1552 keyword = info catch-all = true get-url = http://localhost/info.php?t=%t&q=%q&a=%a #Sms Service test group = sms-service accepted-smsc = Huawei-E1552 keyword = test catch-all = true text="Configuration de kannel reussie. Bravo !!!" #Sendsms group = sendsms-user username = kannel password = kannel forced-smsc = huawei-E1552 user-allow-ip = « *.*.*.* »