First of all we need more info. "generic error" can be anything.
Please add AT+CMEE=1 or AT+CMEE=2 to your modem init and repost logs
This commands tells modems to be more verbose with the errors. Hope
your modem supports it. if not look at your modem manual for a similar
command
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
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
On Fri, Jan 22, 2010 at 8:26 AM, Benjamin Heryanto
<[email protected]> wrote:
> Dear List
>
> Im using itegno 3800 with this configuration
> /etc/kannel.conf
> # CORE
> group = core
> admin-port = 13000
> admin-password = pwd
> status-password = pwd
> log-file = "/var/log/kannel/kannel.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
> smsbox-port = 13001
> store-file = "/var/log/kannel/kannel.store"
>
> group = smsc
> smsc = at
> host = localhost
> port = 13013
> smsc-id = linuxku
> modemtype = wavecom
> device = /dev/ttyUSB0
> speed = 115200
> sms-center = +62xxxx
>
> group = modems
> id = wavecom
> name = wavecom
> detect-string = "WAVECOM"
> init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13131
> sendsms-chars = "0123456789+"
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = root
> password = testing
> database = playsms
> max-connections = 1
>
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
>
> # SEND-SMS USERS
> group = sendsms-user
> username = playsms
> password = pwd
> concatenation = true
> max-messages = 5
>
> # SMS SERVICE 'Default'
> # there should be default always
> group = sms-service
> keyword = default
> max-messages = 0
> exec = /usr/local/bin/kannel_incoming %t %q %a
>
>
> I need to sent to 10000 number , im tired must monitoring the kannel
> every single second coz it always get this error. I must restart using
> (lynx -dump "http://127.0.0.1:13000/restart?password=pwd" ) to fix
> this. it because unstable in kannel or itegno ?
>
> 2010-01-07 14:57:33 [6173] [6] DEBUG: AT2[linuxku]: --> ^Z
> 2010-01-07 14:57:35 [6173] [6] DEBUG: AT2[linuxku]: <-- >
> 2010-01-07 14:57:35 [6173] [6] DEBUG: AT2[linuxku]: <-- ERROR
> 2010-01-07 14:57:35 [6173] [6] ERROR: AT2[linuxku]: Generic error: ERROR
> 2010-01-07 14:57:35 [6173] [6] DEBUG: AT2[linuxku]: send command status: -1
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]:
> TP-Validity-Period: 24.0 hours
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: --> AT+CMGS=154^M
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: <-- >
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: send command status: 1
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: -->
> 0071000C818031742696540012A7A005000308030198E17CD81D7683A065F7B9DEAEB7C36E9033CD0EA741D5E014C40239934D1D0C06A3E16CB39B8C056A86E9E1759D9D0EA34126D0511E269775A020115AA5C5663010A8C8020589D02A2D3683814045162848845669B1190C042AB2404122B44A8BCD60205091050A12A1555A6C0603818A2C509008ADD26233180854648182446895169BC140
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: --> ^Z
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: <-- >
> 2010-01-07 14:57:37 [6173] [6] DEBUG: AT2[linuxku]: <-- ERROR
> 2010-01-07 14:57:37 [6173] [6] ERROR: AT2[linuxku]: Generic error: ERROR
>
>
> After restart sms succcessfull sending, but not more than 5 minutes
> will act like above again :( ..... I try to search through archieve in
> mailinglist still dont get the solution
>
> Regards
> Ben
>
>