Bad news for many symbian users, mostly SYmbian OS will manage incoming SMS to their internal mailbox which is not accessible by AT+Command
So normally you will not able to handle incoming sms at all If you have different experiences that would be great to share with us :) On Nov 10, 2007 1:18 AM, FaberK <[EMAIL PROTECTED]> wrote: > You were right, thanks a lot! > Here it is: > --- > group = modems > id = 6260 > name = "6260" > detect-string = "Nokia" > detect-string2 = "6260" > need-sleep = true > init-string = "AT+CNMI=2,1,0,0,0" > message-storage = "SM" > --- > I don't understand how receive and where, the incoming messages. > > Thanks again. > > 2007/11/9, Alejandro Guerrieri < [EMAIL PROTECTED]>: > > > You need to change the init sequence, obviously your phone does not > > support AT+CNMI=1,2,0,1,0 > > > > Each phone model has its caveats with that init string, you should check > > your phone's docs and change the string accordingly. > > > > Maybe someone else has experience with some similar Nokia device? > > > > Hope it helps, > > > > Alejandro > > > > On Nov 9, 2007 12:46 PM, FaberK < [EMAIL PROTECTED] > wrote: > > > > > Hi, > > > I'm trying to use a GSM phone Nokia 6260 to send SMS with kannel. > > > Starting bearerbox, I receive this output, but I do not understand the > > > error: > > > > > > ----------------------- > > > [EMAIL PROTECTED]:/etc/kannel# bearerbox -v 0 /etc/kannel/kannel.conf > > > 2007-11-09 15:40:55 [19130] [0] INFO: Debug_lvl = 0, log_file = > > > <none>, log_lvl = 0 > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Loading include file > > > `/etc/kannel/modems.conf' (on line 9 of file /etc/kannel/kannel.conf). > > > 2007-11-09 15:40:55 [19130] [0] WARNING: DLR: using default 'internal' > > > for storage type. > > > 2007-11-09 15:40:55 [19130] [0] INFO: DLR using storage type: internal > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Kannel bearerbox version > > > `1.4.1'. > > > Build `Nov 10 2006 22:22:29', compiler `4.1.2 20061103 (prerelease) > > > (Ubuntu 4.1.1-18ubuntu2)'. > > > System Linux, release 2.6.20-16-generic, version #2 SMP Sun Sep 23 > > > 19:50:39 UTC 2007, machine i686. > > > Hostname faberk-laptop, IP 127.0.1.1. > > > Libxml version 2.6.26. > > > Using OpenSSL 0.9.8b 04 May 2006. > > > Compiled with MySQL 5.0.26, using MySQL 5.0.38 . > > > Using native malloc. > > > > > > 2007-11-09 15:40:55 [19130] [0] INFO: Added logfile > > > `/var/log/kannel/bearerbox.log' with level `3'. > > > 2007-11-09 15:40:55 [19130] [0] INFO: HTTP: Opening server at port > > > 13000. > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 1 > > > (gwlib/fdset.c:poller) > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 2 > > > (gwlib/http.c:server_thread) > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 3 > > > (gw/bb_http.c:httpadmin_run) > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: starting smsbox connection > > > module > > > 2007-11-09 15:40:55 [19130] [0] INFO: BOXC: 'smsbox-max-pending' not > > > set, using default (100). > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 4 > > > (gw/bb_boxc.c:sms_to_smsboxes) > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 5 > > > (gw/bb_boxc.c:smsboxc_run) > > > 2007-11-09 15:40:55 [19130] [0] INFO: Set SMS resend frequency to 60 > > > seconds. > > > 2007-11-09 15:40:55 [19130] [0] INFO: SMS resend retry set to > > > unlimited. > > > 2007-11-09 15:40:55 [19130] [0] INFO: DLR rerouting for smsc id > > > <(null)> disabled. > > > 2007-11-09 15:40:55 [19130] [0] INFO: AT2[/dev/ttyACM0]: configuration > > > shows modemtype <nokiaphone> > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: AT2[/dev/ttyACM0]: Reading > > > modem definitions from </etc/kannel/kannel.conf> > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Loading include file > > > `/etc/kannel/modems.conf' (on line 9 of file /etc/kannel/kannel.conf). > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: AT2[/dev/ttyACM0]: Found <14> > > > modems in config > > > 2007-11-09 15:40:55 [19130] [0] INFO: AT2[/dev/ttyACM0]: read modem > > > definition for <Nokia Phone> > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 6 > > > (gw/smsc/smsc_at.c:at2_device_thread) > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: Started thread 7 > > > (gw/bb_smscconn.c:sms_router) > > > 2007-11-09 15:40:55 [19130] [0] INFO: > > > ---------------------------------------- > > > 2007-11-09 15:40:55 [19130] [0] INFO: Kannel bearerbox II version > > > 1.4.1 starting > > > 2007-11-09 15:40:55 [19130] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) > > > maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [2] DEBUG: Thread 2 > > > (gwlib/http.c:server_thread) maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [3] DEBUG: Thread 3 > > > (gw/bb_http.c:httpadmin_run) maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [4] DEBUG: Thread 4 > > > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [5] DEBUG: Thread 5 > > > (gw/bb_boxc.c:smsboxc_run) maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [0] INFO: MAIN: Start-up done, entering > > > mainloop > > > 2007-11-09 15:40:55 [19130] [0] DEBUG: AT2[/dev/ttyACM0]: start called > > > 2007-11-09 15:40:55 [19130] [6] DEBUG: Thread 6 > > > (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [6] INFO: AT2[/dev/ttyACM0]: opening > > > device > > > 2007-11-09 15:40:55 [19130] [7] DEBUG: Thread 7 > > > (gw/bb_smscconn.c:sms_router) maps to pid 19130. > > > 2007-11-09 15:40:55 [19130] [7] DEBUG: sms_router: time to sleep > > > 30.00secs. > > > 2007-11-09 15:40:55 [19130] [7] DEBUG: sms_router: gwlist_len = 0 > > > 2007-11-09 15:40:55 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: device > > > opened > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: device > > > opened > > > 2007-11-09 15:40:56 [19130] [6] INFO: AT2[/dev/ttyACM0]: init device > > > 2007-11-09 15:40:56 [19130] [6] INFO: AT2[/dev/ttyACM0]: speed set to > > > 9600 > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATZ > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+IFC=2,2^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CPIN?^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: > > > READY > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CSCA="+XXXXXXXXXXXX"^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CMGF=0^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CSMS=?^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: > > > (0,1) > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] INFO: AT2[/dev/ttyACM0]: Phase 2+ is > > > supported > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CSMS=1^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: > > > 1,1,1 > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CNMI=1,2,0,1,0^M > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CMS > > > ERROR: 301 > > > 2007-11-09 15:40:57 [19130] [6] ERROR: AT2[/dev/ttyACM0]: CMS ERROR: > > > +CMS ERROR: 301 > > > 2007-11-09 15:40:57 [19130] [6] ERROR: AT2[/dev/ttyACM0]: CMS ERROR: > > > SMS service of ME reserved (301) > > > 2007-11-09 15:40:57 [19130] [6] ERROR: AT2[/dev/ttyACM0]: Opening > > > failed. Terminating > > > 2007-11-09 15:40:57 [19130] [6] INFO: AT2[/dev/ttyACM0]: closing > > > device > > > 2007-11-09 15:40:57 [19130] [6] INFO: AT2[/dev/ttyACM0]: opening > > > device > > > 2007-11-09 15:40:57 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: device > > > opened > > > 2007-11-09 15:40:58 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: device > > > opened > > > 2007-11-09 15:40:58 [19130] [6] INFO: AT2[/dev/ttyACM0]: init device > > > 2007-11-09 15:40:58 [19130] [6] INFO: AT2[/dev/ttyACM0]: speed set to > > > 9600 > > > 2007-11-09 15:40:58 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+IFC=2,2^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CPIN?^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: > > > READY > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CSCA="+XXXXXXXXXXXX"^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CMGF=0^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CSMS=?^M > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: > > > (0,1) > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:40:59 [19130] [6] INFO: AT2[/dev/ttyACM0]: Phase 2+ is > > > supported > > > 2007-11-09 15:40:59 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CSMS=1^M > > > 2007-11-09 15:41:00 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: > > > 1,1,1 > > > 2007-11-09 15:41:00 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK > > > 2007-11-09 15:41:00 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: --> > > > AT+CNMI=1,2,0,1,0^M > > > 2007-11-09 15:41:00 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CMS > > > ERROR: 301 > > > 2007-11-09 15:41:00 [19130] [6] ERROR: AT2[/dev/ttyACM0]: CMS ERROR: > > > +CMS ERROR: 301 > > > 2007-11-09 15:41:00 [19130] [6] ERROR: AT2[/dev/ttyACM0]: CMS ERROR: > > > SMS service of ME reserved (301) > > > 2007-11-09 15:41:00 [19130] [6] ERROR: AT2[/dev/ttyACM0]: Opening > > > failed. Terminating > > > ----------------------- > > > Thanks to all > > > -- > > > .:FaberK:. > > > > > > > > > > -- > > Alejandro Guerrieri > > Magicom > > http://www.magicom-bcn.net/ > > LinkedIn: http://www.linkedin.com/in/aguerrieri > > > > > -- > .:FaberK:. -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/
