It looks an issue with your sim card. It could need a PIN number to enter.
Put your sim card in a "normal " phone and disabled the PIN number to fit
your configuration file below (you remove the pin number).

Hope it helps


-----Original Message-----
From: Blackman Anthony [mailto:[EMAIL PROTECTED]
Sent: vendredi 28 décembre 2007 19:52
To: users@kannel.org
Subject: CPIN Error in supporting multiple GPRS Modems in Bearerbox

Hello All,

I am haveing a problem with my 2nd modem in Bearerbox it does not activate
attached is the config and the log.

Can anyone send me a sample config that works.

Anthony

Config File

#-------------------------------------------------------------------
# Modem include section
#

include = "/download/Configs/nycmodem.conf"

# SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over
SMS
#----------------------------------------------------
# SMSC GSM
#
# This is the USB test tty
#
#
group = smsc
smsc = at
modemtype = wavecom
device = /dev/ttyUSB0
#pin = 2345
validityperiod = 167

group = smsc
smsc = at
modemtype = wavecom
device = /dev/ttyUSB4
#pin = 2345
validityperiod = 167

#
Log

2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> ATE0^M
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> ATI^M
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATI^M
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- WAVECOM MODEM
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- WAVECOM MODEM
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- MULTIBAND
G850  1900
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- MULTIBAND
G850  1900
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:17 [14349] [7] DEBUG: Loading include file
`/download/Configs/nycmodem.conf' (on line 77 of file
/download/Configs/pushkannel1.conf).
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: found string
<WAVECOM>, using modem definition <Attnyc>
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> AT+CSMS=?^M
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:17 [14349] [6] DEBUG: Loading include file
`/download/Configs/nycmodem.conf' (on line 77 of file
/download/Configs/pushkannel1.conf).
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: found string
<WAVECOM>, using modem definition <Attnyc>
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- +CSMS: (0,1)
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSMS: (0,1)
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: Phase 2+ is
supported
2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: closing device
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is
supported
2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: closing device
2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: opening device
2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: device opened
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2007-12-28 17:43:17 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: device opened
2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: init device
2007-12-28 17:43:17 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: init device
2007-12-28 17:43:17 [14349] [7] INFO: AT2[/dev/ttyUSB4]: speed set to 115200
2007-12-28 17:43:17 [14349] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> ATZ^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> AT^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- AT
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> AT&F^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- AT&F
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> ATE0^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- ATE0
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ATE0
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> AT+IFC=2,2^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+IFC=2,2^M
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- OK
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: --> AT+CPIN?^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CPIN?^M
2007-12-28 17:43:18 [14349] [7] DEBUG: AT2[/dev/ttyUSB4]: <-- +CPIN: READY
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2007-12-28 17:43:18 [14349] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR
2007-12-28 17:43:18 [14349] [6] ERROR: AT2[/dev/ttyUSB0]: Opening failed.
Terminating
2007-12-28 17:43:18 [14349] [6] INFO: AT2[/dev/ttyUSB0]: closing device
2007-12-28 17:43:18 [14349] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2007-12-28 17:43:18 [14349] [6] INFO: AT2[/dev/ttyUSB0]: init device
2007-12-28 17:43:18 [14349] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:18 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ATE0
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+IFC=2,2^M
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CPIN?^M
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2007-12-28 17:43:19 [14349] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR
2007-12-28 17:43:19 [14349] [6] ERROR: AT2[/dev/ttyUSB0]: Opening failed.
Terminating
2007-12-28 17:43:19 [14349] [6] INFO: AT2[/dev/ttyUSB0]: closing device
2007-12-28 17:43:19 [14349] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2007-12-28 17:43:19 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2007-12-28 17:43:19 [14349] [6] INFO: AT2[/dev/ttyUSB0]: init device
2007-12-28 17:43:19 [14349] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ATE0
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+IFC=2,2^M
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CPIN?^M
2007-12-28 17:43:20 [14349] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2007-12-28 17:43:20 [14349] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR
2007-12-28 17:43:20 [14349] [6] ERROR: AT2[/dev/ttyUSB0]: Opening failed.
Terminating
2007-1



 
____________________________________________________________________________
________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs





  _____  

Antivirus avast! <http://www.avast.com> : message Sortant sain. 


Base de donnees virale (VPS) : 071228-0, 28/12/2007
Analyse le : 28/12/2007 22:30:16
avast! - copyright (c) 1988-2007 ALWIL Software.




Reply via email to