Ok, i will doWhat about this:012-06-25 21:48:52 [4387] [6] ERROR: 
AT2[Huawei-e220]: CMS ERROR: +CMS ERROR: 5002012-06-25 21:48:52 [4387] [6] 
ERROR: AT2[Huawei-e220]: CMS ERROR: Unknown error. -> maybe Sim storage is 
full? I'll have a look at it. (500)
It doesn't seem that my sim is full...
Date: Tue, 26 Jun 2012 00:48:47 +0400
Subject: Re: Huawei E220 Generic error: ERROR - Initialization of device failed.
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]

sorry, wrong link, correct: https://redmine.kannel.org/projects/kannel

2012/6/26 spameden <[email protected]>

Yes, it seems to be a bug, please submit to 
http://redmine.kannel.org/project/kannel.


2012/6/25 vouk voukam voukam <[email protected]>





That's actually a bug.When ever you have a comment after a value at your cnf 
file this is interpreted as a value.i.e:sms-center= xxxxxxxxxx #SMS centerit 
will be parsed as xxxxxxxxxx #SMS center 


From: [email protected]
To: [email protected]


Subject: RE: Huawei E220 Generic error: ERROR - Initialization of device failed.
Date: Mon, 25 Jun 2012 19:53:02 +0000
CC: [email protected]






Thanks alvaro that was a useful tip i should have toughtFrom 
kannel.log:2012-06-25 21:32:07 [3926] [6] INFO: AT2[Huawei-e220]: speed set to 
1152002012-06-25 21:32:07 [3926] [6] DEBUG: AT2[Huawei-e220]: --> ATZ^M

2012-06-25 21:32:07 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- OK2012-06-25 
21:32:07 [3926] [6] DEBUG: AT2[Huawei-e220]: --> AT^M2012-06-25 21:32:08 [3926] 
[6] DEBUG: AT2[Huawei-e220]: <-- AT

2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- OK2012-06-25 
21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: --> AT&F^M2012-06-25 21:32:08 
[3926] [6] DEBUG: AT2[Huawei-e220]: <-- AT&F

2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- OK2012-06-25 
21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: --> ATE0^M2012-06-25 21:32:08 
[3926] [6] DEBUG: AT2[Huawei-e220]: <-- ATE0

2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- OK2012-06-25 
21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: --> AT+IFC=2,2^M;2012-06-25 
21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- OK

2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: --> 
AT+CPIN?^M2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- +CPIN: 
READY2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: <-- OK

2012-06-25 21:32:08 [3926] [6] DEBUG: AT2[Huawei-e220]: --> 
AT+CSCA="xxxxxxxxxxxx #SIM Number"^M2012-06-25 21:32:08 [3926] [6] DEBUG: 
AT2[Huawei-e220]: <-- ERROR2012-06-25 21:32:08 [3926] [6] ERROR: 
AT2[Huawei-e220]: Generic error: ERROR

2012-06-25 21:32:08 [3926] [6] ERROR: AT2[Huawei-e220]: Initialization of 
device failed.2012-06-25 21:32:08 [3926] [6] INFO: AT2[Huawei-e220]: Closing 
device
where xxxxxxxxxxx is the value of the sms-center field.

After the value at my configuration i had a comment like this #SIM NumberI 
realized that the comment was part of the number so i remove the comment and 
everything work properly,This might be a possible bug(???)


bearerbox started properly i send an sms from the http interface and i got 
this:2012-06-25 21:48:29 [4387] [6] INFO: AT2[Huawei-e220]: AT SMSC 
successfully opened.2012-06-25 21:48:39 [4387] [5] INFO: Client connected from 
<127.0.0.1> 

2012-06-25 21:48:52 [4387] [6] ERROR: AT2[Huawei-e220]: CMS ERROR: +CMS ERROR: 
5002012-06-25 21:48:52 [4387] [6] ERROR: AT2[Huawei-e220]: CMS ERROR: Unknown 
error. -> maybe Sim storage is full? I'll have a look at it. (500)


and this at the web page:0: Accepted for delivery
As an sms-center i hadthe sms center from my mobile operator i then changed 
this to my SIM number but the same is happening.





> Date: Mon, 25 Jun 2012 14:22:39 -0500
> Subject: Re: Huawei E220 Generic error: ERROR - Initialization of device 
> failed.
> From: [email protected]


> To: [email protected]
> CC: [email protected]
> 
> Can you set log level to debug? ie = 0?


> 
> So we can have more details on the problem?
> 
> Regards
> 
> Alvaro
> 
> On 6/25/12, vouk voukam voukam <[email protected]> wrote:


> >
> > I added as shown in the configuration section of modems below. The same
> > generic errors i get from bearerbox...
> > # Huawei E220 #It should be changed to work for your mobile group = modems


> > id = huawei_e220 name = "Huawei_E220" detect-string = "huawei" #init-string
> > = "ATZ" #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" init-string =


> > "AT+CMEE=1" #init-string = "AT+CNMI=1,2,0,0,1" #init-string =
> > "AT+CNMI=2,1,2,2,0" message-storage=sm speed=9600
> >
> >> Date: Mon, 25 Jun 2012 12:35:13 -0500


> >> Subject: Re: Huawei E220 Generic error: ERROR - Initialization of device
> >> failed.
> >> From: [email protected]


> >> To: [email protected]
> >> CC: [email protected]
> >>
> >> can you add "+CMEE=1" or "+CMEE=2" to your modem init string? It might


> >> give you more detail on "generic error" message.
> >>
> >> Regards
> >>
> >> Alvaro
> >>
> >> On 6/25/12, vouk voukam voukam <[email protected]> wrote:


> >> >
> >> > I gave full access to USB01 chmod 777 /dev/ttyUSB0 and to
> >> > /devttyUSB1The
> >> > same error occurs
> >> >> Date: Mon, 25 Jun 2012 10:39:49 -0500


> >> >> Subject: Re: Huawei E220 Generic error: ERROR - Initialization of
> >> >> device
> >> >> failed.
> >> >> From: [email protected]


> >> >> To: [email protected]
> >> >> CC: [email protected]
> >> >>


> >> >> check read/write permissions for kannel user into /dev/ttyUSB01
> >> >>
> >> >> Regards
> >> >>
> >> >> Alvaro
> >> >>


> >> >> On 6/25/12, vouk voukam voukam <[email protected]> wrote:
> >> >> >
> >> >> > I want to setup Kannel in my Ubuntu machine. I have a Huawei e220


> >> >> > modem
> >> >> > which is equipped with a SIM card and i have tested through minicom.
> >> >> > It
> >> >> > can
> >> >> > successfully reads and sends SMS messages to phone numbers.This is


> >> >> > my
> >> >> > configuration:
> >> >> >
> >> >> >     group = core    admin-port = 13002    smsbox-port = 13003
> >> >> > admin-password = bar    box-deny-ip = "*.*.*.*"    box-allow-ip =


> >> >> > "127.0.0.1"        group = smsc    smsc = at    modemtype = huawei
> >> >> > device
> >> >> > = /dev/ttyUSB1    my-number = number    sms-center = number #SIM


> >> >> > Number
> >> >> > my-number = number #SIM Number    log-level = 1            group =
> >> >> > modems
> >> >> > id = huawei_e220    name = "Huawei_E220"    detect-string = "huawei"


> >> >> > init-string = "ATZ"    init-string = "ATQ0 V1 E1 S0=0 &C1 &D2
> >> >> > +FCLASS=0"
> >> >> > message-storage=sm    speed=9600            group = smsbox


> >> >> > bearerbox-host
> >> >> > = 127.0.0.1    sendsms-port = 13013    global-sender = numberThe
> >> >> > init-strings have been taken from /etc/wvdial.confwhen i am starting


> >> >> > bearerbox it seems that it is not starting correctly:
> >> >> > 2012-06-25 16:56:36 [8531] [6] ERROR: AT2[Huawei-e220]:
> >> >> > Initialization
> >> >> > of


> >> >> > device failed.2012-06-25 16:56:36 [8531] [6] INFO: AT2[Huawei-e220]:
> >> >> > Closing
> >> >> > device2012-06-25 16:56:36 [8531] [6] ERROR: AT2[Huawei-e220]:


> >> >> > Couldn't
> >> >> > connect (retrying in 10 seconds).2012-06-25 16:56:46 [8531] [6]
> >> >> > INFO:
> >> >> > AT2[Huawei-e220]: opening device2012-06-25 16:56:46 [8531] [6] INFO:


> >> >> > AT2[Huawei-e220]: Logging in2012-06-25 16:56:46 [8531] [6] INFO:
> >> >> > AT2[Huawei-e220]: init device2012-06-25 16:56:46 [8531] [6] INFO:
> >> >> > AT2[Huawei-e220]: speed set to 1152002012-06-25 16:56:47 [8531] [6]


> >> >> > ERROR:
> >> >> > AT2[Huawei-e220]: Generic error: ERROR2012-06-25 16:56:47 [8531] [6]
> >> >> > ERROR:
> >> >> > AT2[Huawei-e220]: Initialization of device failed.2012-06-25


> >> >> > 16:56:47
> >> >> > [8531]
> >> >> > [6] INFO: AT2[Huawei-e220]: Closing device2012-06-25 16:56:47 [8531]
> >> >> > [6]
> >> >> > ERROR: AT2[Huawei-e220]: Couldn't connect (retrying in 10


> >> >> > seconds).2012-06-25 16:56:57 [8531] [6] INFO: AT2[Huawei-e220]:
> >> >> > opening
> >> >> > device2012-06-25 16:56:57 [8531] [6] INFO: AT2[Huawei-e220]: Logging


> >> >> > in2012-06-25 16:56:58 [8531] [6] INFO: AT2[Huawei-e220]: init
> >> >> > device2012-06-25 16:56:58 [8531] [6] INFO: AT2[Huawei-e220]: speed
> >> >> > set


> >> >> > to
> >> >> > 1152002012-06-25 16:56:58 [8531] [6] ERROR: AT2[Huawei-e220]:
> >> >> > Generic
> >> >> > error:
> >> >> > ERROR2012-06-25 16:56:58 [8531] [6] ERROR: AT2[Huawei-e220]:


> >> >> > Initialization
> >> >> > of device failed.2012-06-25 16:56:58 [8531] [6] INFO:
> >> >> > AT2[Huawei-e220]:
> >> >> > Closing device2012-06-25 16:56:58 [8531] [6] ERROR:


> >> >> > AT2[Huawei-e220]:
> >> >> > Couldn't connect (retrying in 10 seconds).2012-06-25 16:57:08 [8531]
> >> >> > [6]
> >> >> > INFO: AT2[Huawei-e220]: opening device2012-06-25 16:57:08 [8531] [6]


> >> >> > INFO:
> >> >> > AT2[Huawei-e220]: Logging in2012-06-25 16:57:09 [8531] [6] INFO:
> >> >> > AT2[Huawei-e220]: init device2012-06-25 16:57:09 [8531] [6] INFO:


> >> >> > AT2[Huawei-e220]: speed set to 1152002012-06-25 16:57:10 [8531] [6]
> >> >> > ERROR:
> >> >> > AT2[Huawei-e220]: Generic error: ERROR2012-06-25 16:57:10 [8531] [6]


> >> >> > ERROR:
> >> >> > AT2[Huawei-e220]: Initialization of device failed.2012-06-25
> >> >> > 16:57:10
> >> >> > [8531]
> >> >> > [6] INFO: AT2[Huawei-e220]: Closing device2012-06-25 16:57:10 [8531]


> >> >> > [6]
> >> >> > ERROR: AT2[Huawei-e220]: Couldn't connect (retrying in 10
> >> >> > seconds).2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]:


> >> >> > opening
> >> >> > device2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: Logging
> >> >> > in2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: init


> >> >> > device2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: speed
> >> >> > set
> >> >> > to
> >> >> > 1152002012-06-25 16:57:21 [8531] [6] ERROR: AT2[Huawei-e220]:


> >> >> > Generic
> >> >> > error:
> >> >> > ERROR
> >> >> > What am i doing wrong with the conf?
> >> >> >
> >> >> >                                       


> >> >>
> >> >>
> >> >> --
> >> >> |-----------------------------------------------------------------------------------------------------------------|


> >> >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> >> >> celular y Nextel
> >> >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via


> >> >> SMS y GPRS online
> >> >>               Visitenos en www.perusms.NET www.smsglobal.com.mx y


> >> >> www.pravcom.com
> >> >                                          
> >>
> >>
> >> --
> >> |-----------------------------------------------------------------------------------------------------------------|


> >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> >> celular y Nextel
> >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> >> SMS y GPRS online


> >>               Visitenos en www.perusms.NET www.smsglobal.com.mx y
> >> www.pravcom.com


> >                                     
> 
> 
> -- 
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier


> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.perusms.NET www.smsglobal.com.mx y


> www.pravcom.com
                                                                                
  



                                          

Reply via email to