group = modems
id = Huawei E220
name = "huawei_e220"
detect-string = "huawei_e220"
#init-string = "ATZ"
init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
init-string = "AT+CNMI=0,1,2"
message-storage = sm
#speed = 460800
#message-start = 0

in group smsc, sim-buffering is true.
Before I was using kannel 1.4.3. and then I upgraded to 1.5.0 and the
problem regarding sqlbox segmentation fault is
fixed.

On Fri, Nov 26, 2010 at 9:33 AM, Harbhag Singh Sohal
<[email protected]> wrote:
> group = modems
> id = Huawei E220
> name = "huawei_e220"
> detect-string = "huawei_e220"
> #init-string = "ATZ"
> init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> init-string = "AT+CNMI=0,1,2"
> message-storage = sm
> #speed = 460800
> #message-start = 0
>
> in group smsc, sim-buffering is true.
> Before I was using kannel 1.4.3. and then I upgraded to 1.5.0 and the
> problem regarding sqlbox segmentation fault is
> fixed.
> 2010/11/26 Nikos Balkanas <[email protected]>:
>> Hi,
>>
>> About the Invalid memory index maybe the message-start option in group
>> modems will help.
>>
>> BR,
>> Nikos
>>
>> ----- Original Message ----- From: "Harbhag Singh Sohal"
>> <[email protected]>
>> To: <[email protected]>
>> Sent: Thursday, November 25, 2010 4:58 PM
>> Subject: memory fragmentation and segmentation fault
>>
>>
>>> 2010-11-25 20:22:49 [2213] [6] DEBUG: AT2[huawei_E220]: <-- OK
>>> 2010-11-25 20:22:49 [2213] [6] DEBUG: AT2[huawei_E220]: --> AT+CMGD=19^M
>>> 2010-11-25 20:22:50 [2213] [6] DEBUG: AT2[huawei_E220]: <-- OK
>>> 2010-11-25 20:22:50 [2213] [6] DEBUG: AT2[huawei_E220]: --> AT+CMGR=20^M
>>> 2010-11-25 20:22:50 [2213] [6] DEBUG: AT2[huawei_E220]: <-- +CMS ERROR:
>>> 321
>>> 2010-11-25 20:22:50 [2213] [6] ERROR: AT2[huawei_E220]: CMS ERROR:
>>> +CMS ERROR: 321
>>> 2010-11-25 20:22:50 [2213] [6] ERROR: AT2[huawei_E220]: CMS ERROR:
>>> Invalid memory index -> don't worry, just memory fragmentation. (321)
>>> 2010-11-25 20:22:50 [2213] [6] DEBUG: AT2[huawei_E220]: failed to get
>>> message 20.
>>>
>>> sqlbox startup gives the following error
>>>
>>> 2010-11-25 20:27:44 [2262] [0] INFO: Debug_lvl = 0, log_file = <none>,
>>> log_lvl = 0
>>> 2010-11-25 20:27:44 [2262] [0] DEBUG: Kannel sqlbox version `1.4.3'.
>>> Build `Feb 14 2009 16:26:23', compiler `4.3.3'.
>>> System Linux, release 2.6.32-26-generic-pae, version #47-Ubuntu SMP
>>> Wed Nov 17 16:14:46 UTC 2010, machine i686.
>>> Hostname *************, IP ****************.
>>> Libxml version 2.6.32.
>>> Using OpenSSL 0.9.8g 19 Oct 2007.
>>> Compiled with MySQL 5.0.75, using MySQL 5.1.41.
>>> Using native malloc.
>>>
>>> 2010-11-25 20:27:44 [2262] [0] INFO: Starting to log to file
>>> /var/log/kannel/kannel-sqlbox.log level 0
>>> 2010-11-25 20:27:44 [2262] [0] INFO: Added logfile
>>> `/var/log/kannel/kannel-sqlbox.log' with level `0'.
>>> Segmentation fault
>>>
>>
>>
>
>
>
> --
> Harbhag Singh Sohal
> Department of Information Technology
> Guru Nanak Dev Engineering College, Ludhiana
>
> Webpage : http://harbhag.wordpress.com
> Twitter     : http://twitter.com/harbhag
>



-- 
Harbhag Singh Sohal
Department of Information Technology
Guru Nanak Dev Engineering College, Ludhiana

Webpage : http://harbhag.wordpress.com
Twitter     : http://twitter.com/harbhag

Reply via email to