Hi, I didn't tell you to use:
init-string = AT+CNMI but rather to configure it. For that you will have to consult modems.conf for examples and your modem's manual. BR, Nikos ----- Original Message ----- From: jyotiranjan panda To: Nikos Balkanas Cc: Kannel User Sent: Tuesday, February 16, 2010 1:11 PM Subject: Re: CMS ERROR: SMS service of ME reserved (301) with Nokia modem Thanks Nikos, for your response. Now my conf file is like below group = modems id = auto name = "Nokia Phone" init-string = AT+CNMI #message-storage = ME detect-string = "Nokia Mobile Phone" Then I am getting the following error continuously 2010-02-16 22:03:00 [5792] [6] INFO: AT2[nokia]: opening device 2010-02-16 22:03:00 [5792] [6] DEBUG: AT2[nokia]: device opened 2010-02-16 22:03:00 [5792] [6] DEBUG: AT2[nokia]: device opened 2010-02-16 22:03:00 [5792] [6] INFO: AT2[nokia]: init device 2010-02-16 22:03:00 [5792] [6] INFO: AT2[nokia]: speed set to 115200 2010-02-16 22:03:00 [5792] [6] DEBUG: AT2[nokia]: --> ATZ^M 2010-02-16 22:03:00 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:00 [5792] [6] DEBUG: AT2[nokia]: --> AT^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- AT 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT&F^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- AT&F 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> ATE0^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- ATE0 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT+IFC=2,2^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT+CPIN?^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- +CPIN: READY 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT+CMGF=0^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT+CSMS=?^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- +CSMS: (0,1) 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] INFO: AT2[nokia]: Phase 2+ is supported 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT+CSMS=1^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- +CSMS: 1,1,1 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- OK 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: --> AT+CNMI^M 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: <-- ERROR 2010-02-16 22:03:01 [5792] [6] ERROR: AT2[nokia]: Generic error: ERROR 2010-02-16 22:03:01 [5792] [6] ERROR: AT2[nokia]: Opening failed. Terminating 2010-02-16 22:03:01 [5792] [6] INFO: AT2[nokia]: closing device 2010-02-16 22:03:01 [5792] [6] INFO: AT2[nokia]: opening device 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: device opened 2010-02-16 22:03:01 [5792] [6] DEBUG: AT2[nokia]: device opened 2010-02-16 22:03:01 [5792] [6] INFO: AT2[nokia]: init device Please suggest. Regards Jyoti Ranjan Panda On Tue, Feb 16, 2010 at 3:14 PM, Nikos Balkanas <n...@amdtelecom.net> wrote: Hi, Your init-string is wrong. What you have is the default reset-string. You need to configure AT+CNMI in your init-string, so that your modem knows what to do with incoming SMS. BR, Nikos ----- Original Message ----- From: jyotiranjan panda To: Kannel User Sent: Tuesday, February 16, 2010 11:17 AM Subject: CMS ERROR: SMS service of ME reserved (301) with Nokia modem Hi, I am trying to use Nokia 30 gsm modem with kannel. My configuration is group = smsc smsc = at smsc-id = nokia modemtype = auto device = /dev/ttyS0 pin = 2345 my-number = 123123123123 connect-allow-ip = 127.0.0.1 group = modems id = auto name = "Nokia Phone" init-string = "ATZ" detect-string = "Nokia Mobile Phone" When sending sms one by one its working fine . All MTs are sent successfully and DLR also receive successfully. The issue comes when I send sms in bulk . I send 200 MTs at a time. All the MTs are sent successfully But while fetching DLR the following error occurs 2010-02-16 17:17:47 [3175] [6] DEBUG: AT2[nokia]: <-- +CMS ERROR: 301 2010-02-16 17:17:47 [3175] [6] ERROR: AT2[nokia]: CMS ERROR: +CMS ERROR: 301 2010-02-16 17:17:47 [3175] [6] ERROR: AT2[nokia]: CMS ERROR: SMS service of ME reserved (301) 2010-02-16 17:17:47 [3175] [6] DEBUG: AT2[nokia]: send command status: 1 Please suggest to solve the problem. Thanks & Regards Jyoti Ranjan Panda