Title: Nokia 30 GSM Configuration Problem

Hi All,

I'm running Kannel 1.2.1 (cygwin version) on Windows XP and using Nokia 30 GSM modem as virtual SMSC. My configuration is as follows, and with this configuration kannel is not able to open device (+CMS Error: 500)

group = smsc
smsc = at2
modemtype = nokia30
smsc-id = NOKIA_30
device = "/dev/com1"
sim-buffering = true
keepalive = 60

group = modems
id = nokia30
name = "Nokia 30"
detect-string = "Nokia 30"
keepalive-cmd = "AT+CBC;+CSQ"
message-storage = "SM"
enable-mms = true

-------------------------------Bearerbox log------------------------------

2004-02-21 17:08:21 [0] INFO: ----------------------------------------
2004-02-21 17:08:21 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2004-02-21 17:08:21 [5] DEBUG: AT2[NOKIA_30]: device opened
2004-02-21 17:08:21 [0] INFO: MAIN: Start-up done, entering mainloop
2004-02-21 17:08:21 [0] DEBUG: AT2[NOKIA_30]: start called
2004-02-21 17:08:21 [6] DEBUG: sms_router: list_len = 0
2004-02-21 17:08:21 [5] INFO: AT2[NOKIA_30]: speed set to 9600
2004-02-21 17:08:21 [5] DEBUG: AT2[NOKIA_30]: --> ^M
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: --> AT^M
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:23 [5] INFO: AT2[NOKIA_30]: closing device
2004-02-21 17:08:23 [5] INFO: AT2[NOKIA_30]: speed is 9600
2004-02-21 17:08:23 [5] INFO: AT2[NOKIA_30]: opening device
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: device opened
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: device opened
2004-02-21 17:08:23 [5] INFO: AT2[NOKIA_30]: init device
2004-02-21 17:08:23 [5] INFO: AT2[NOKIA_30]: speed set to 9600
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: --> AT^M
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: --> AT&F^M
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: --> ATE0^M
2004-02-21 17:08:23 [5] DEBUG: AT2[NOKIA_30]: <-- ATE0
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: --> AT+IFC=2,2^M
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: --> AT+CPIN?^M
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- +CPIN: READY
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: --> AT+CMGF=0^M
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: --> AT+CSMS=?^M
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- +CSMS: (0,1)
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:24 [5] INFO: AT2[NOKIA_30]: Phase 2+ is supported
2004-02-21 17:08:24 [5] DEBUG: AT2[NOKIA_30]: --> AT+CSMS=1^M
2004-02-21 17:08:25 [5] DEBUG: AT2[NOKIA_30]: <-- +CSMS: 1,1,1
2004-02-21 17:08:25 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:25 [5] DEBUG: AT2[NOKIA_30]: --> AT+CNMI=1,2,0,1,0^M
2004-02-21 17:08:25 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:08:25 [5] DEBUG: AT2[NOKIA_30]: --> AT+CPMS="SM"^M
2004-02-21 17:08:25 [5] DEBUG: AT2[NOKIA_30]: <-- +CMS ERROR: 500
2004-02-21 17:08:25 [5] ERROR: AT2[NOKIA_30]: CMS ERROR: +CMS ERROR: 500
2004-02-21 17:08:25 [5] ERROR: AT2[NOKIA_30]: Opening failed. Terminating
2004-02-21 17:08:25 [5] INFO: AT2[NOKIA_30]: closing device
2004-02-21 17:08:25 [5] DEBUG: Thread 5 (gw/smsc/smsc_at2.c:at2_device_thread) terminates.

---------------------------------------------------------------------------------------

With following configuration, kannel opens the device, but SMS MO fails with +CMS Error: 304

group = smsc
smsc = at2
modemtype = nokia30
smsc-id = NOKIA_30
device = "/dev/com1"
keepalive = 60

group = modems
id = nokia30
name = "Nokia 30"
detect-string = "Nokia 30"
keepalive-cmd = "AT+CBC;+CSQ"

---------------------------------------------------------------------------------------

2004-02-21 17:11:14 [0] INFO: ----------------------------------------
2004-02-21 17:11:14 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2004-02-21 17:11:14 [5] DEBUG: AT2[NOKIA_30]: device opened
2004-02-21 17:11:14 [0] INFO: MAIN: Start-up done, entering mainloop
2004-02-21 17:11:14 [0] DEBUG: AT2[NOKIA_30]: start called
2004-02-21 17:11:14 [6] DEBUG: sms_router: list_len = 0
2004-02-21 17:11:14 [5] INFO: AT2[NOKIA_30]: speed set to 9600
2004-02-21 17:11:14 [5] DEBUG: AT2[NOKIA_30]: --> ^M
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: --> AT^M
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:16 [5] INFO: AT2[NOKIA_30]: closing device
2004-02-21 17:11:16 [5] INFO: AT2[NOKIA_30]: speed is 9600
2004-02-21 17:11:16 [5] INFO: AT2[NOKIA_30]: opening device
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: device opened
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: device opened
2004-02-21 17:11:16 [5] INFO: AT2[NOKIA_30]: init device
2004-02-21 17:11:16 [5] INFO: AT2[NOKIA_30]: speed set to 9600
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: --> AT^M
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: --> AT&F^M
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: --> ATE0^M
2004-02-21 17:11:16 [5] DEBUG: AT2[NOKIA_30]: <-- ATE0
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: --> AT+IFC=2,2^M
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: --> AT+CPIN?^M
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- +CPIN: READY
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: --> AT+CMGF=0^M
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: --> AT+CSMS=?^M
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- +CSMS: (0,1)
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:17 [5] INFO: AT2[NOKIA_30]: Phase 2+ is supported
2004-02-21 17:11:17 [5] DEBUG: AT2[NOKIA_30]: --> AT+CSMS=1^M
2004-02-21 17:11:18 [5] DEBUG: AT2[NOKIA_30]: <-- +CSMS: 1,1,1
2004-02-21 17:11:18 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:18 [5] DEBUG: AT2[NOKIA_30]: --> AT+CNMI=1,2,0,1,0^M
2004-02-21 17:11:18 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:18 [5] INFO: AT2[NOKIA_30]: AT SMSC successfully opened.
2004-02-21 17:11:20 [5] DEBUG: AT2[NOKIA_30]: --> AT+CBC;+CSQ^M
2004-02-21 17:11:20 [5] DEBUG: AT2[NOKIA_30]: <-- +CBC: 0,100
2004-02-21 17:11:20 [5] DEBUG: AT2[NOKIA_30]: <-- +CSQ: 99,99
2004-02-21 17:11:20 [5] DEBUG: AT2[NOKIA_30]: <-- OK
2004-02-21 17:11:22 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2004-02-21 17:11:22 [7] INFO: Client connected from <127.0.0.1>
2004-02-21 17:11:22 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2004-02-21 17:11:50 [7] DEBUG: boxc_receiver: sms received
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: TP-Validity-Period: 24.0 hours
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> AT+CMGS=27^M
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- >
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: send command status: 1
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> 0011000C811989190035190000A70EE834885E9ED341EBB0DB5D6603
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> ^Z
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- >
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- +CMS ERROR: 304
2004-02-21 17:11:52 [5] ERROR: AT2[NOKIA_30]: CMS ERROR: +CMS ERROR: 304
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: send command status: 1
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> AT+CMGS=27^M
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- >
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: send command status: 1
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> 0011000C811989190035190000A70EE834885E9ED341EBB0DB5D6603
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> ^Z
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- >
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- +CMS ERROR: 304
2004-02-21 17:11:52 [5] ERROR: AT2[NOKIA_30]: CMS ERROR: +CMS ERROR: 304
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: send command status: 1
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> AT+CMGS=27^M
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- >
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: send command status: 1
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> 0011000C811989190035190000A70EE834885E9ED341EBB0DB5D6603
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: --> ^Z
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- >
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: <-- +CMS ERROR: 304
2004-02-21 17:11:52 [5] ERROR: AT2[NOKIA_30]: CMS ERROR: +CMS ERROR: 304
2004-02-21 17:11:52 [5] DEBUG: AT2[NOKIA_30]: send command status: 1

---------------------------------------------------------------------------------------

Does any one in the list using Nokia 30 modem, then please advise me to where I'm going wrong. If possible, please send me working configuration parameters.

Thanks in advance.

Regards
Shridhar Raju
919891005391

************************** LEGAL DISCLAIMER ************************
This E-Mail may contain Confidential and/or legally privileged Information and is meant for the intended recipient(s) only. If you have received this e-mail in error and are not the intended recipient/s, kindly notify us at [EMAIL PROTECTED] and then delete this e-mail immediately from your system. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail, its contents or its attachment/s other than by its intended recipient/s is strictly prohibited and may be unlawful.

Internet Communications cannot be guaranteed to be secure or error-free as information could be delayed, intercepted, corrupted, lost, or contain viruses. IDEA Cellular Limited does not accept any liability for any errors, omissions, viruses or computer problems experienced by any recipient as a result of this e-mail.

Reply via email to