Hi,

Correction: To get debug output in the logs skip the -D 0 option.
(this debug issue is very confusing).

BR,
Nikos
  ----- Original Message ----- 
  From: Nikos Balkanas 
  To: Dee Drei ; [email protected] 
  Sent: Tuesday, February 03, 2009 3:09 PM
  Subject: Re: HELP : Generic Error (itegno 3800)


  Hi,

  1) Your modem = itegno 3800, yet you declare it as Wavecom. Is this correct?
  2) Could you post detailed bearerbox logs along with modem logs? Bearerbox 
logs should be taken from the shell with -v 0 & -D 0.

  BR,
  Nikos
    ----- Original Message ----- 
    From: Dee Drei 
    To: [email protected] 
    Sent: Tuesday, February 03, 2009 6:21 AM
    Subject: HELP : Generic Error (itegno 3800)


    When i'm trying to send SMS (modem = itegno 3800) i got this

    2009-01-28 00:34:45 [7899] [0] INFO: AT2[bmc]: configuration shows 
modemtype <wavecom>
    2009-01-28 00:34:45 [7899] [0] DEBUG: AT2[bmc]: Reading modem definitions 
from </etc/kannel/kannel.conf>
    2009-01-28 00:34:45 [7899] [0] DEBUG: AT2[bmc]: Found <1> modems in config
    2009-01-28 00:34:45 [7899] [0] INFO: AT2[bmc]: read modem definition for 
<Wavecom>
    2009-01-28 00:34:45 [7899] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)
    2009-01-28 00:34:45 [7899] [0] DEBUG: Started thread 7 
(gw/bb_smscconn.c:sms_router)
    2009-01-28 00:34:45 [7899] [0] INFO: 
----------------------------------------
    2009-01-28 00:34:45 [7899] [0] INFO: Kannel bearerbox II version 1.4.1 
starting
    2009-01-28 00:34:45 [7899] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 7899.
    2009-01-28 00:34:45 [7899] [4] DEBUG: Thread 4 
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 7899.
    2009-01-28 00:34:45 [7899] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) 
maps to pid 7899.
    2009-01-28 00:34:45 [7899] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 7899.
    2009-01-28 00:34:45 [7899] [6] INFO: AT2[bmc]: opening device
    2009-01-28 00:34:45 [7899] [0] INFO: MAIN: Start-up done, entering mainloop
    2009-01-28 00:34:45 [7899] [0] DEBUG: AT2[bmc]: start called
    2009-01-28 00:34:45 [7899] [7] DEBUG: Thread 7 
(gw/bb_smscconn.c:sms_router) maps to pid 7899.
    2009-01-28 00:34:45 [7899] [7] DEBUG: sms_router: time to sleep 30.00 secs.
    2009-01-28 00:34:45 [7899] [7] DEBUG: sms_router: gwlist_len = 0
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: device opened
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: device opened
    2009-01-28 00:34:45 [7899] [6] INFO: AT2[bmc]: init device
    2009-01-28 00:34:45 [7899] [6] INFO: AT2[bmc]: speed set to 115200
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: --> ATZ^M

    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: --> AT^M
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: --> AT&F^M
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: --> ATE0^M
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: --> AT+IFC=2,2^M
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:45 [7899] [6] DEBUG: AT2[bmc]: --> AT+CPIN?^M
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- +CPIN: READY
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: --> AT+CSCA="+62855000000"^M
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: --> AT+CMGF=0^M
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: --> AT+CSMS=?^M
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- +CSMS: (0,1)
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:46 [7899] [6] INFO: AT2[bmc]: Phase 2+ is supported
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: --> AT+CSMS=1^M
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- +CSMS: 1,1,1
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: --> 
AT+CNMI=1,2,0,1,0;+CMEE=1^M
    2009-01-28 00:34:46 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:34:46 [7899] [6] INFO: AT2[bmc]: AT SMSC successfully opened.
    2009-01-28 00:35:12 [7899] [5] INFO: Client connected from <192.168.1.4>
    2009-01-28 00:35:12 [7899] [5] DEBUG: Started thread 8 
(gw/bb_boxc.c:function)
    2009-01-28 00:35:12 [7899] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps 
to pid 7899.
    2009-01-28 00:35:12 [7899] [8] DEBUG: Started thread 9 
(gw/bb_boxc.c:boxc_sender)
    2009-01-28 00:35:12 [7899] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) 
maps to pid 7899.
    2009-01-28 00:35:21 [7899] [8] DEBUG: boxc_receiver: sms received
    2009-01-28 00:35:21 [7899] [8] DEBUG: send_msg: sending msg to box: 
<192.168.1.4>
    2009-01-28 00:35:22 [7899] [6] DEBUG: AT2[bmc]: TP-Validity-Period: 24.0 
hours
    2009-01-28 00:35:22 [7899] [6] DEBUG: AT2[bmc]: --> AT+CMGS=18^M
    2009-01-28 00:35:22 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:35:22 [7899] [6] DEBUG: AT2[bmc]: send command status: 1
    2009-01-28 00:35:22 [7899] [6] DEBUG: AT2[bmc]: --> 
0011000C818031025076870000A704E832FB0D
    2009-01-28 00:35:22 [7899] [6] DEBUG: AT2[bmc]: --> ^Z
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: send command status: -1
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: --> AT+CMGS=18^M
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: send command status: 1
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: --> 
0011000C818031025076870000A704E832FB0D
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: --> ^Z
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: <-- OK
    2009-01-28 00:35:43 [7899] [6] DEBUG: AT2[bmc]: send command status: 0
    2009-01-28 00:37:11 [7899] [8] DEBUG: boxc_receiver: sms received
    2009-01-28 00:37:11 [7899] [8] DEBUG: send_msg: sending msg to box: 
<192.168.1.4>
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: TP-Validity-Period: 24.0 
hours
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> AT+CMGS=18^M
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: send command status: 1
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> 
0011000C818031025076870000A704E832FB0D
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> ^Z
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- ERROR
    2009-01-28 00:37:13 [7899] [6] ERROR: AT2[bmc]: Generic error: ERROR
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: send command status: -1
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> AT+CMGS=18^M
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: send command status: 1
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> 
0011000C818031025076870000A704E832FB0D
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> ^Z
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- ERROR
    2009-01-28 00:37:13 [7899] [6] ERROR: AT2[bmc]: Generic error: ERROR
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: send command status: -1
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> AT+CMGS=18^M
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: send command status: 1
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> 
0011000C818031025076870000A704E832FB0D
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: --> ^Z
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- >
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: <-- ERROR
    2009-01-28 00:37:13 [7899] [6] ERROR: AT2[bmc]: Generic error: ERROR
    2009-01-28 00:37:13 [7899] [6] DEBUG: AT2[bmc]: send command status: -1

    this is my kannel configuration :

    group=core
    admin-port=12345
    smsbox-port=12346
    admin-password=admin
    status-password=statusadmin
    log-file="/var/log/kannel/kannel.log"
    log-level=0
    access-log="/var/log/kannel/access.log"
    dlr-storage = pgsql
    smsbox-max-pending = 50
    #sms-resend-freq=60
    #sms-resend-retry=-1
    #store-type=file
    #store-location="/var/log/kannel/kannel.store"


    group=pgsql-connection
    id=myldr
    host = 192.168.1.4
    username = deedrei
    password = deedrei
    database = deedrei
    max-connections=1

    group=dlr-db
    id=myldr
    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

    #group=smsc
    #smsc=fake
    #host=localhost
    #port=13013

    group=smsc
    smsc=at
    host=192.168.1.4
    port=11112
    smsc-id=bmc
    #modemtype=nokiaphone
    modemtype=wavecom
    device=/dev/ttyUSB0
    #speed=19200
    speed=115200
    sms-center=+62855000000
    reroute-dlr=no

    group = modems
    id = wavecom
    name = "Wavecom"
    detect-string = "WAVECOM"
    init-string="AT+CNMI=1,2,0,1,0;+CMEE=1"


    can somebody help me please.







Reply via email to