My apologies. Would do the same from next time.

Here are the logs:-

$ ./bearerbox -v 0 smskannel2.conf
2009-09-11 01:11:58 [10092] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl
= 0
2009-09-11 01:11:58 [10092] [0] WARNING: DLR: using default 'internal' for stora
ge type.
2009-09-11 01:11:58 [10092] [0] INFO: DLR using storage type: internal
2009-09-11 01:11:58 [10092] [0] DEBUG: Kannel bearerbox version `1.4.3'.
Build `Sep  3 2009 15:42:52', compiler `3.4.4 (cygming special, gdc 0.12, using
dmd 0.125)'.
System CYGWIN_NT-6.0, release 1.5.25(0.156/4/2), version 2008-06-12 19:34, machi
ne i686.
Hostname siddhus-PC, IP 192.168.0.101.
Libxml version 2.7.3.
Using native malloc.

2009-09-11 01:11:58 [10092] [0] INFO: SSL not supported, no SSL initialization d
one.
2009-09-11 01:11:58 [10092] [0] INFO: HTTP: Opening server at port 13000.
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-09-11 01:11:58 [10092] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to p
id 10092.
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thr
ead)
2009-09-11 01:11:58 [10092] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) map
s to pid 10092.
2009-09-11 01:11:58 [10092] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) map
s to pid 10092.
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_
run)
2009-09-11 01:11:58 [10092] [0] DEBUG: starting smsbox connection module
2009-09-11 01:11:58 [10092] [0] INFO: BOXC: 'smsbox-max-pending' not set, using
default (100).
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_sms
boxes)
2009-09-11 01:11:58 [10092] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) m
aps to pid 10092.
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_ru
n)
2009-09-11 01:11:58 [10092] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps
to pid 10092.
2009-09-11 01:11:58 [10092] [0] INFO: Set SMS resend frequency to 60 seconds.
2009-09-11 01:11:58 [10092] [0] INFO: SMS resend retry set to unlimited.
2009-09-11 01:11:58 [10092] [0] DEBUG: smsbox MO concatenated message handling e
nabled
2009-09-11 01:11:58 [10092] [0] INFO: DLR rerouting for smsc id <nokia5310> disa
bled.
2009-09-11 01:11:58 [10092] [0] INFO: AT2[nokia5310]: configuration shows modemt
ype <nokiaphone>
2009-09-11 01:11:58 [10092] [0] DEBUG: AT2[nokia5310]: Reading modem definitions
 from <smskannel2.conf>
2009-09-11 01:11:58 [10092] [0] DEBUG: AT2[nokia5310]: Found <2> modems in confi
g
2009-09-11 01:11:58 [10092] [0] INFO: AT2[nokia5310]: read modem definition for
<Nokia Phone>
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_d
evice_thread)
2009-09-11 01:11:58 [10092] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_th
read) maps to pid 10092.
2009-09-11 01:11:58 [10092] [6] INFO: AT2[nokia5310]: opening device
2009-09-11 01:11:58 [10092] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) ma
ps to pid 10092.
2009-09-11 01:11:58 [10092] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_ro
uter)
2009-09-11 01:11:58 [10092] [0] INFO: ----------------------------------------
2009-09-11 01:11:58 [10092] [0] INFO: Kannel bearerbox II version 1.4.3 starting

2009-09-11 01:11:58 [10092] [6] DEBUG: AT2[nokia5310]: device opened. Telnet mod
e = 0
2009-09-11 01:11:58 [10092] [0] INFO: MAIN: Start-up done, entering mainloop
2009-09-11 01:11:58 [10092] [0] DEBUG: AT2[nokia5310]: start called
2009-09-11 01:11:58 [10092] [6] DEBUG: AT2[nokia5310]: device opened
2009-09-11 01:11:58 [10092] [6] INFO: AT2[nokia5310]: Logging in
2009-09-11 01:11:58 [10092] [6] INFO: AT2[nokia5310]: init device
2009-09-11 01:11:58 [10092] [6] INFO: AT2[nokia5310]: speed set to 460800
2009-09-11 01:11:58 [10092] [6] DEBUG: AT2[nokia5310]: --> ATZ^M
2009-09-11 01:11:58 [10092] [6] DEBUG: AT2[nokia5310]: <-- ATZ
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> AT^M
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- AT
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> AT&F^M
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- AT&F
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> ATE0^M
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- ATE0
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> AT+IFC=2,2^M
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> AT+CPIN?^M
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- +CPIN: READY
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> AT+CMGF=0^M
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:11:59 [10092] [6] DEBUG: AT2[nokia5310]: --> AT+CSMS=?^M
2009-09-11 01:12:00 [10092] [6] DEBUG: AT2[nokia5310]: <-- +CSMS: (0)
2009-09-11 01:12:00 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:12:00 [10092] [6] DEBUG: AT2[nokia5310]: --> ATQ0 V1 E1 S0=0 &C1 &
D2 +FCLASS=0^M
2009-09-11 01:12:00 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:12:00 [10092] [6] INFO: AT2[nokia5310]: AT SMSC successfully opene
d.
2009-09-11 01:12:02 [10092] [6] DEBUG: AT2[nokia5310]: --> AT+CPMS?^M
2009-09-11 01:12:02 [10092] [6] DEBUG: AT2[nokia5310]: <-- AT+CPMS?
2009-09-11 01:12:02 [10092] [6] DEBUG: AT2[nokia5310]: <-- +CPMS: ,,,,,,,,
2009-09-11 01:12:02 [10092] [6] DEBUG: AT2[nokia5310]: <-- OK
2009-09-11 01:12:02 [10092] [6] DEBUG: AT2[nokia5310]: couldn't parse all memory
 locations : 0:''.
2009-09-11 01:12:02 [10092] [6] DEBUG: AT2[nokia5310]: memory check error
2009-09-11 01:12:02 [10092] [6] INFO: AT2[nokia5310]: Closing device
2009-09-11 01:12:02 [10092] [6] ERROR: AT2[nokia5310]: Couldn't connect (retryin
g in 10 seconds).

Will this help?

Regards
Siddhartha

2009/9/11 Nikos Balkanas <[email protected]>:
> Hi,
>
> Please always provide logs at the highest detail (debug level).
>
> BR,
> Nikos
>
> ----- Original Message -----
> From: Siddhartha` Adhikari
> To: [email protected]
> Sent: Thursday, September 10, 2009 9:28 PM
> Subject: SMSC opens and closes in a second!
> Hi All,
>
> I have somehow managed to connect my Nokia 5310 to Kannel however it is
> getting disconnected the moment the SMSC opens:-
>
> 2009-09-10 23:55:50 [8788] [6] INFO: AT2[/dev/ttyS2]: opening device
> 2009-09-10 23:55:51 [8788] [6] INFO: AT2[/dev/ttyS2]: Logging in
> 2009-09-10 23:55:51 [8788] [6] INFO: AT2[/dev/ttyS2]: init device
> 2009-09-10 23:55:51 [8788] [6] INFO: AT2[/dev/ttyS2]: speed set to 9600
> 2009-09-10 23:55:53 [8788] [6] INFO: AT2[/dev/ttyS2]: AT SMSC successfully
> opene
> d.
> 2009-09-10 23:55:55 [8788] [6] INFO: AT2[/dev/ttyS2]: Closing device
> 2009-09-10 23:55:55 [8788] [6] ERROR: AT2[/dev/ttyS2]: Couldn't connect
> (retryin
> g in 10 seconds).
>
> My config files are:-
>
> --SMSC
>
> group = smsc
>
> smsc = at
>
> modemtype = nokiaphone
>
> device =/dev/ttyS2
>
> speed = 9600
>
> sim-buffering = true
>
>  ---Modem config
>
> group = modems
>
> id = nokiaphone
>
> name = "Nokia Phone"
>
> detect-string = "Nokia"
>
> need-sleep = true
>
> init-string="ATQ0V1E0"
>
> keepalive-cmd = "AT+CBC;+CSQ"
>
> enable-mms = true
>
>  Is it a probelm with the configs?
>
> Regards
> Siddhartha
>

Reply via email to