if i start kannel with message-start=0, stop responding, no info in log
files. nothning.


> You should:
>
> - stop kannel
> - use minicom to connect to your modem and use the following command
AT+CMGD
> described here ( http://www.developershome.com/sms/cmgdCommand.asp ) to
delete SMS
>
> *Here is another example. Suppose you want to delete all SMS messages
stored
> in the message storage area.
> To do this, assign 4 to the flags parameter of the +CMGD AT command. The
value assigned to the index parameter does not matter since it will be
ignored by the GSM/GPRS modem or mobile phone.
> AT+CMGD=1,4
> OK
>
> *- restart Kannel with message-start=0 in modems.conf on the huawei section
>
> Emmanuel
>
> 2010/9/22 Zaharia Constantin <soulra...@muscel.ro>
>
>> no change, and when i add the message-start = 0, kannel is not
starting, whay?
>> if ai add the init string like in you config, the log is verry quiet, but
>> i don't know how to read the message from sim, when is recived. What is
you metod to read the recived message?
>>
>>
>> > Do you still have SMS stored in modem storage ? you should see it in
bearerbox.log:
>> > *
>> > 2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: -->
>> AT+CPMS?^M
>> > 2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: <-- +CPMS:
"ME",0,255,"SM",0,60,"SM",0,60
>> > 2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: <-- OK
2010-09-22 21:00:13 [1629] [20] DEBUG: AT2[huawei_e220]: <--
>> > ^BOOT:92407792,0,0,0,6*
>> >
>> > For instance you may have sthg like +CPMS:
>> > "ME",*1,255*,"SM",0,60,"SM",0,60
>> >
>> > Stop Kannel, try to check this and delete it using minicom with
>> AT+CMGD
>> > command:
>> > some help: http://www.developershome.com/sms/cmgdCommand.asp
>> >
>> > Then start Kannel
>> >
>> > my config in modems.conf
>> >
>> > group = modems
>> > id = huawei_e220
>> > name = "Huawei E220"
>> > detect-string = "huawei"
>> > #init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"
>> > #init-string = "ATQ0 V1 E1 S0=0 &D2 +FCLASS=0"
>> > init-string = "AT+CNMI=2,1,2,2,0"
>> > message-storage = me
>> > speed = 460800
>> > message-start = 0
>> >
>> > I had the same issue but disappeared after deleting SMS in modem
>> storage
>> > then restarting Kannel.
>> >
>> > Regards,
>> >
>> > Emmanuel
>> >
>> > 2010/9/22 Zaharia Constantin <soulra...@muscel.ro>
>> >
>> >> yes, is in /dev/ttyUSB1.
>> >> i have read the link above, but i don't know how to make this
>> changes,
>> >> or
>> >> how to update the kannel using ubuntu.
>> >>
>> >>
>> >> > Which /dev do you use to attache the modem ? /dev/ttyUSB1 ?
>> >> >
>> >> > read this
>> >> >
>> >> > http://kerneltrap.org/node/17017
>> >> >
>> >> > Regards
>> >> >
>> >> > Emmanuel
>> >> >
>> >> > 2010/9/22 Zaharia Constantin <soulra...@muscel.ro>
>> >> >
>> >> >> 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
>> >> >> >
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >
>>
>>
>>
>





Reply via email to