You mean it doesn't say anything about CMEE?  How come I read about it?

BR,
Nikos
----- Original Message ----- From: "Matt Wiseman" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, November 09, 2010 12:05 AM
Subject: Re: Errors with bearerbox


I've looked through the UG, and didn't see anything specifically related
to this issue.. unfortunately I'm not finding a lot of details about
setting up the BenQ modems specifically other than other people have
gotten them to work..  I had this working before with an older serial
MultiTech modem, and didn't encounter these issues then.



On Mon, 2010-11-08 at 13:18 +0200, Nikos Balkanas wrote:
Hi,

Please read UG. There is a detailed section about modem initialization.
If
still having problems, please post specific questions to this list.

bR,
Nikos
----- Original Message ----- From: "Matt Wiseman" <[email protected]>
To: "Alex" <[email protected]>
Cc: <[email protected]>
Sent: Monday, November 08, 2010 12:28 PM
Subject: Re: Errors with bearerbox


> That worked, but still having an issue.. I'll paste the log here as
> well
> as my config file (phone numbers changed to protect the guilty).  The
> modem I'm trying to use is:
> http://www.dealextreme.com/details.dx/sku.12057
> Which appears to be a BenQ M32 GSM/GPRS Wireless module
>
> Any help would be appreciated.
>
>
> My Log:
> 2010-11-08 02:23:40 [4622] [6] INFO: AT2[gsm_modem]: opening device
> 2010-11-08 02:23:40 [4622] [6] DEBUG: AT2[gsm_modem]: device opened.
> Telnet mode = 0
> 2010-11-08 02:23:40 [4622] [6] DEBUG: AT2[gsm_modem]: device opened
> 2010-11-08 02:23:40 [4622] [6] INFO: AT2[gsm_modem]: Logging in
> 2010-11-08 02:23:41 [4622] [6] INFO: AT2[gsm_modem]: init device
> 2010-11-08 02:23:41 [4622] [6] INFO: AT2[gsm_modem]: speed set to 57600
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: --> ATZ^M
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: --> AT^M
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- AT
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: --> AT&F^M
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- AT&F
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: --> ATE0^M
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- ATE0
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:41 [4622] [6] DEBUG: AT2[gsm_modem]: --> AT+IFC=2,2^M
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: --> AT+CMGF=0^M
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: --> AT+CSMS=?^M
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: <-- +CSMS: (0,1)
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: <-- OK
> 2010-11-08 02:23:42 [4622] [6] INFO: AT2[gsm_modem]: Phase 2+ is
> supported
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: --> AT+CSMS=1^M
> 2010-11-08 02:23:42 [4622] [6] DEBUG: AT2[gsm_modem]: <-- ERROR
> 2010-11-08 02:23:42 [4622] [6] ERROR: AT2[gsm_modem]: Generic error:
> ERROR
> 2010-11-08 02:23:42 [4622] [6] ERROR: AT2[gsm_modem]: Initialization of
> device failed.
> 2010-11-08 02:23:42 [4622] [6] INFO: AT2[gsm_modem]: Closing device
>
>
>
>
> My Config:
> # CORE BEARERBOX/KANNEL CONFIG
> group = core
> admin-port = 13000
> admin-password = admin_pass
> status-password = status_pass
> log-file = "/var/log/kannel/kannel.log"
> #  0 = 'debug', 1 = 'info', 2 = 'warning', 3 = 'error', 4 = 'panic'
> log-level = 4
> access-log = "/var/log/kannel/core_access.log"
> # Wapbox related
> wapbox-port = 13002
> wdp-interface-name = "*"
> # Smsbox related
> smsbox-port = 13001
>
> # BASE WAPBOX CONFIG
> group = wapbox
> bearerbox-host = localhost
>
> # GSM DEVICE FILE INFO
> group = smsc
> smsc = at
> smsc-id = gsm_modem
> modemtype = BENQ
> device = /dev/ttyUSB0
> keepalive = 30
> max-error-count = 5
> sim-buffering = true
>
> # MODEM CONFIGURATION
> group = modems
> id = BENQ
> name = BENQ
> detect-string = "BENQ"
> speed = 115200
> reset-string = "ATZ"
> init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"
> # trying this to see if it resolves errors when the
> # modem erroneously returns ERROR to the AT+CPIN? command
> no-pin = true
>
> # SMSBOX SETUP
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> global-sender = 5555555555
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 4
> access-log = "/var/log/kannel/smsbox_access.log"
>
> # SEND-SMS USERS
> group = sendsms-user
> username = sms_user
> password = sms_pass
> forced-smsc = gsm_modem
>
> # SMS SERVICES
> # there should be default always
> group = sms-service
> keyword = default
> text = "No service specified"
> max-messages = 0
> catch-all = true
>
>
>
> On Mon, 2010-11-08 at 12:07 +0300, Alex wrote:
>> check for spaces in your config file or post your config file.
>>
>> On 8 November 2010 12:00, Matt Wiseman <[email protected]> wrote:
>>         I'm currently getting this error trying to start a new install
>>         of
>>         kannel.  I've verified the file is there, I chmod'd it to 777
>>         *AND* am
>>         trying to run it as root... still no love.  Thoughts?
>>
>>
>>         smsu...@smsserver1:~$ sudo bearerbox --verbosity 4
>>         --logfile /var/log/kannel/bearerbox.log
>> /etc/kannel/kannel.conf
>>         [sudo] password for smsuser:
>>         2010-11-08 00:56:33 [4434] [0] PANIC: Couldn't read
>>         configuration from
>>         `/etc/kannel/kannel.conf'.
>>         2010-11-08 00:56:33 [4434] [0] PANIC: bearerbox(gw_panic+0xcd)
>>         [0x80cc33d]
>>         2010-11-08 00:56:33 [4434] [0] PANIC: bearerbox(main+0xcf8)
>>         [0x8053148]
>>         2010-11-08 00:56:33 [4434] [0]
>>         PANIC: /lib/libc.so.6(__libc_start_main
>>         +0xe7) [0xb740cce7]
>>         2010-11-08 00:56:33 [4434] [0] PANIC: bearerbox() [0x8051711]
>>
>>
>>
>>
>>
>>
>> -- >> Best regards,
>> Alex
>>
>>
>>
>
>
>






Reply via email to