hy, so, the config file is in atachment. i use a Huawei e160e(E220) on ubuntu. The problem with that is that i can't read the message from this modem, i get this error in log files:
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=44^M 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=44 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- OK 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=45^M 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=45 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- OK 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=46^M 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=46 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- OK 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=47^M 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=47 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- OK 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=48^M 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=48 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- OK 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=49^M 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=49 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- OK 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted. 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --> AT+CMGR=50^M 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- AT+CMGR=50 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: <-- +CMS ERROR: 321 2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR: +CMS ERROR: 321 2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR: Invalid memory index -> don't worry, just memory fragmentation. (321) 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: failed to get message 50. and i can't get rid of this error. after that i will need to concentrate on the script to get the message from SIM card and the messages that i have send from kannel. > Hi Zaharia > This <http://www.mail-archive.com/users@kannel.org/msg20081.html> site > should be able to solve your problem. However I suggest that you post your > whole configuration file(you can mask the sensitve data like passwords, > ips > etc) so that we have a loook. Plus if you install new programes after > kannel > has been compiled i think it can not use them so i suggest that you > recompile Kannel. What make is your modem? Huawei? > Lastly this <http://www.ddj.co.za/kannel-for-windows> site has got a nice > and easy installer of kannel. > I hope this helps. > > > 2010/9/21 Zaharia Constantin <soulra...@muscel.ro> > >> is not working with "message-start = 0" >> what i have to do, to read the sms from sim card? >> is any problem in init string?or something else? >> i have a USB modem E160e(E220) >> >> >> > Hi, >> > >> > Try to add: >> > >> > message-start = 0 >> > >> > to your "group = modems" section >> > >> > BR, >> > Tomasz >> > >> > W Twoim liście datowanym 20 września 2010 (14:56:44) można przeczytać: >> > >> >> i have restart the machine, but nothing, the seam error...what is >> wrong? >> > >> >> offtopic: >> >> and the sqlbox, when i starting "sqlbox /etc/kannel/sqlbox.config" >> > >> >> segmentation fault >> > >> >> whay:( >> > >> >> Constantin Zaharia >> > >> > >> >>> try restarting your machine >> >>> >> >>> 2010/9/20 Zaharia Constantin <soulra...@muscel.ro> >> >>> >> >>>> How i setup the sqlbox? i have installed using apt-get, but now i >> >>>> don't >> >>>> know what i have to do... >> >>>> is necessary to start some application? >> >>>> >> >>>> and now i get another error, regarding the read of sms from sim >> >>>> >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=43^M >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=43 >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=44^M >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=44 >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=45^M >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=45 >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=46^M >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=46 >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=47^M >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=47 >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=48^M >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=48 >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=49^M >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=49 >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- OK >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not >> deleted. >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --> >> >>>> AT+CMGR=50^M >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- >> >>>> AT+CMGR=50 >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: <-- +CMS >> >>>> ERROR: >> >>>> 321 >> >>>> 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS >> ERROR: >> >>>> +CMS >> >>>> ERROR: 321 >> >>>> 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS >> ERROR: >> >>>> Invalid memory index -> don't worry, just memory fragmentation. >> (321) >> >>>> 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: failed to >> >>>> get >> >>>> message 50. >> >>>> >> >>>> >> >>>> what is wrong ? >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> > Here is my answer to the exact same question from a few months >> ago: >> >>>> > >> >>>> > http://www.mail-archive.com/users@kannel.org/msg20081.html >> >>>> > >> >>>> > >> >>>> > 2010/9/17 Zaharia Constantin <soulra...@muscel.ro> >> >>>> > >> >>>> >> hy, >> >>>> >> how i read the message from SIM card and how i store the >> messages. >> >>>> >> I want to see when a new message has arrived and store in a >> >>>> database. >> >>>> >> >> >>>> >> please help me... >> >>>> >> >> >>>> >> best regards, >> >>>> >> Constantin Zaharia >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> > >> >>>> > >> >>>> > -- >> >>>> > Best regards, >> >>>> > Alex >> >>>> > >> >>>> >> >>>> >> >>>> >> >>> >> >>> >> >>> -- >> >>> Best regards, >> >>> Alex >> >>> >> > >> > >> >> >> >> > > > -- > Best regards, > Alex >
kannel.conf
Description: application/download
modem.conf
Description: application/download