Please help me. My scenario is: 1) through HTTP one WEB application call Kannel and send SMS 2) Kannel receive a SMS and forward message to WEB application
How i can do this!?! so i have installed kannel and connect it to a mobile phone (nokia 6230) and i have problem with my nokia 6230, and the problem is:" CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500)" On Mon, Jun 8, 2009 at 2:57 PM, Pietro Guerrieri <p.guerri...@gmail.com>wrote: > i had try with nokia E71, but it didn't work. > > now i try with nokia 6230 > this is my configuration > group = smsc > smsc = at > smsc-id = "nokia6230" > modemtype = nokiaphone > device = /dev/ttyACM0 > #my-number = 777777777 > speed = 9600 > connect-allow-ip = 127.0.0.1 > log-level = 0 > sim-buffering = true > include = /kannel/gateway-1.4.1/doc/examples/modems.conf > > And modem.conf > group = modems > id = nokiaphone > name = "Nokia Phone" > detect-string = "Nokia Mobile Phone" > need-sleep = true > message-storage = "SM" > init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1" > keepalive-cmd = "AT+CBC;+CSQ" > > And this is my log: > 2009-06-08 14:52:15 [20819] [6] INFO: AT2[nokia6230]: speed set to 9600 > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> ATZ^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- AT > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT&F^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- AT&F > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> ATE0^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- ATE0 > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+IFC=2,2^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CPIN?^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- +CPIN: READY > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CMGF=0^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CSMS=?^M > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- +CSMS: (0,1) > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:15 [20819] [6] INFO: AT2[nokia6230]: Phase 2+ is supported > 2009-06-08 14:52:15 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CSMS=1^M > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: <-- +CSMS: 1,1,1 > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: --> > AT+CNMI=1,2,0,1,0;+CMEE=1^M > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CPMS="SM"^M > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: <-- +CPMS: > 0,30,0,30,0,180 > 2009-06-08 14:52:16 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > 2009-06-08 14:52:16 [20819] [6] INFO: AT2[nokia6230]: AT SMSC successfully > opened. > 2009-06-08 14:52:18 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CPMS?^M > 2009-06-08 14:52:18 [20819] [6] DEBUG: AT2[nokia6230]: <-- +CPMS: > "SM",0,30,"SM",0,30,"MT",0,180 > 2009-06-08 14:52:18 [20819] [6] DEBUG: AT2[nokia6230]: <-- OK > > > > > > 2009-06-08 14:52:27 [20819] [5] INFO: Client connected from <127.0.0.1> > 2009-06-08 14:52:27 [20819] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) > maps to pid 20819. > 2009-06-08 14:52:27 [20819] [5] DEBUG: Started thread 8 > (gw/bb_boxc.c:function) > 2009-06-08 14:52:27 [20819] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) > maps to pid 20819. > 2009-06-08 14:52:27 [20819] [8] DEBUG: Started thread 9 > (gw/bb_boxc.c:boxc_sender) > 2009-06-08 14:52:31 [20819] [8] DEBUG: boxc_receiver: sms received > 2009-06-08 14:52:31 [20819] [8] DEBUG: send_msg: sending msg to box: > <127.0.0.1> > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: TP-Validity-Period: > 24.0 hours > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: --> AT+CMGS=18^M > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: <-- > > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: send command status: > 1 > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: --> > 0011000A8163460410 > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: --> > 280000A705F4F29C1E > 2009-06-08 14:52:32 [20819] [6] DEBUG: AT2[nokia6230]: --> 03 > 2009-06-08 14:52:36 [20819] [6] DEBUG: AT2[nokia6230]: <-- > > 2009-06-08 14:52:36 [20819] [6] DEBUG: AT2[nokia6230]: <-- +CMS ERROR: 500 > 2009-06-08 14:52:36 [20819] [6] ERROR: AT2[nokia6230]: CMS ERROR: +CMS > ERROR: 500 > 2009-06-08 14:52:36 [20819] [6] ERROR: AT2[nokia6230]: CMS ERROR: Unknown > error. -> maybe Sim storage is full? I'll have a look at it. (500) > > > > thanx >