Hi thanks alot for your reply , but when I add the line 
sim-buffering = true
...
message-storage = "SM"

I got the  error 

by the way i also tried to make 
message-storage = "ME" but got the same error message

here is the error message

2011-12-21 23:35:43 [2264] [6] INFO: AT2[/dev/rfcomm0]: init device
2011-12-21 23:35:43 [2264] [6] INFO: AT2[/dev/rfcomm0]: speed set to 19200
2011-12-21 23:35:43 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> ATZ^M
2011-12-21 23:35:43 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ATZ
2011-12-21 23:35:43 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:43 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- AT
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT&F^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- AT&F
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> ATE0^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ATE0
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+IFC=2,2^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CPIN?^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- +CPIN: READY
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CMGF=0^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CSMS=?^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- +CSMS: (0)
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: -->
ATZ+CNMI=1,2,0,1,0;+CMEE=1^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CPMS="SM"^M
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- AT+CPMS="SM"
2011-12-21 23:35:44 [2264] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ERROR
2011-12-21 23:35:44 [2264] [6] ERROR: AT2[/dev/rfcomm0]: Generic error:
ERROR
2011-12-21 23:35:44 [2264] [6] ERROR: AT2[/dev/rfcomm0]: Initialization of
device failed.
2011-12-21 23:35:44 [2264] [6] INFO: AT2[/dev/rfcomm0]: Closing device
2011-12-21 23:35:44 [2264] [6] INFO: AT2[/dev/rfcomm0]: Closing device




Alvaro Cornejo wrote:
> 
> Hi
> 
> It should be something with the cnmi commad. That is the command that
> tells the modem to fwd incomming messages to kannel. If it is not well
> configured, kannel will not receive the message as it is your case..
> 
> A workarroud is to set sim-buffering=true in your config. in thie case
> kannel peridically check for messages in the phone.
> 
> Hope helps
> 
> Alvaro
> 
> 
> On 12/20/11, techbrainless <[email protected]> wrote:
>>
>> Hi All.
>> Any reply , plz help me !!!!!!!!!1
>>
>> techbrainless wrote:
>>>
>>> Hi All,
>>>
>>> I am using Nokia 6680 as gsm modem to configure it with the
>>> kannel(1.4.3)
>>> via bluetooth ,
>>>
>>> I am able to receive sms to above phone while it is connected to my
>>> machine but kannel can not received it (no logs indicating receiving of
>>> sms)
>>>
>>> by the way I am using Ubuntu 10.10.
>>>
>>> Your help would be highly appreciated
>>>
>>>
>>>
>>> #taif /var/log/syslog
>>> Dec  7 23:01:02 test-pc bluetoothd[1126]: Discovery session 0x206bd448
>>> with :1.49 activated
>>> Dec  7 23:01:11 test-pc bluetoothd[1126]: Stopping discovery
>>> Dec  7 23:01:11 test-pc bluetoothd[1126]: Authentication requested
>>> Dec  7 23:01:11 test-pc bluetoothd[1126]: link_key_request
>>> (sba=00:15:83:15:A3:10, dba=00:16:4E:1A:D8:BA)
>>> Dec  7 23:01:11 test-pc bluetoothd[1126]: pin_code_request
>>> (sba=00:15:83:15:A3:10, dba=00:16:4E:1A:D8:BA)
>>> Dec  7 23:01:17 test-pc bluetoothd[1126]: link_key_notify
>>> (sba=00:15:83:15:A3:10, dba=00:16:4E:1A:D8:BA, type=0)
>>> Dec  7 23:01:17 test-pc bluetoothd[1126]: probe failed with driver
>>> input-headset for device /org/bluez/1076/hci0/dev_00_16_4E_1A_D8_BA
>>> Dec  7 23:01:27 test-pc bluetoothd[1126]: link_key_request
>>> (sba=00:15:83:15:A3:10, dba=00:16:4E:1A:D8:BA)
>>> Dec  7 23:01:27 test-pc modem-manager: (tty/rfcomm0): could not get
>>> port's
>>> parent device
>>> Dec  7 23:01:27 test-pc modem-manager: (rfcomm0) opening serial
>>> device...
>>> Dec  7 23:01:27 test-pc modem-manager: (rfcomm0): probe requested by
>>> plugin 'Generic'
>>> Dec  7 23:01:28 test-pc modem-manager: (rfcomm0) closing serial
>>> device...
>>> Dec  7 23:01:28 test-pc modem-manager: (rfcomm0) opening serial
>>> device...
>>> Dec  7 23:01:28 test-pc modem-manager: (Generic): GSM modem
>>> /sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1 claimed port rfcomm0
>>> Dec  7 23:01:28 test-pc modem-manager: Added modem
>>> /sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1
>>> Dec  7 23:01:28 test-pc modem-manager: (tty/rfcomm0): outstanding
>>> support
>>> task prevents export of /sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1
>>> Dec  7 23:01:28 test-pc modem-manager: Exported modem
>>> /sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1 as
>>> /org/freedesktop/ModemManager/Modems/0
>>> Dec  7 23:01:28 test-pc modem-manager:
>>> (/org/freedesktop/ModemManager/Modems/0): data port is rfcomm0
>>> Dec  7 23:01:28 test-pc NetworkManager[852]: <info> ignoring modem
>>> 'rfcomm0' (no associated Bluetooth device)
>>> Dec  7 23:01:28 test-pc modem-manager: Modem
>>> /org/freedesktop/ModemManager/Modems/0: Equipment identifier set
>>> (358358001415751)
>>> Dec  7 23:01:28 test-pc modem-manager: (rfcomm0) closing serial
>>> device...
>>>
>>>
>>> testuser@test-pc:~$ sudo bearerbox -v 0
>>> /home/testuser/kannel/gateway-1.4.3/debian/kannel.conf
>>> 2011-12-07 23:18:04 [3167] [0] INFO: Debug_lvl = 0, log_file = <none>,
>>> log_lvl = 0
>>> 2011-12-07 23:18:04 [3167] [0] WARNING: DLR: using default 'internal'
>>> for
>>> storage type.
>>> 2011-12-07 23:18:04 [3167] [0] INFO: DLR using storage type: internal
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Kannel bearerbox version `1.4.3'.
>>> Build `Nov 27 2011 22:10:33', compiler `4.4.5'.
>>> System Linux, release 2.6.35-30-generic, version #61-Ubuntu SMP Tue Oct
>>> 11
>>> 15:29:15 UTC 2011, machine i686.
>>> Hostname test-pc, IP 192.168.1.65.
>>> Libxml version 2.7.7.
>>> Using OpenSSL 0.9.8o 01 Jun 2010.
>>> Using native malloc.
>>>
>>> 2011-12-07 23:18:04 [3167] [0] INFO: Added logfile
>>> `/home/testuser/kannel/kannel.log' with level `1'.
>>> 2011-12-07 23:18:04 [3167] [0] INFO: Started access logfile
>>> `/home/testuser/kannel/kannel.access'.
>>> 2011-12-07 23:18:04 [3167] [0] INFO: HTTP: Opening server at port 13000.
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 1
>>> (gwlib/fdset.c:poller)
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 2
>>> (gwlib/http.c:server_thread)
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 3
>>> (gw/bb_http.c:httpadmin_run)
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: starting smsbox connection module
>>> 2011-12-07 23:18:04 [3167] [0] INFO: BOXC: 'smsbox-max-pending' not set,
>>> using default (100).
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 4
>>> (gw/bb_boxc.c:sms_to_smsboxes)
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 5
>>> (gw/bb_boxc.c:smsboxc_run)
>>> 2011-12-07 23:18:04 [3167] [0] INFO: Set SMS resend frequency to 60
>>> seconds.
>>> 2011-12-07 23:18:04 [3167] [0] INFO: SMS resend retry set to unlimited.
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: smsbox MO concatenated message
>>> handling enabled
>>> 2011-12-07 23:18:04 [3167] [0] INFO: DLR rerouting for smsc id <(null)>
>>> disabled.
>>> 2011-12-07 23:18:04 [3167] [0] INFO: AT2[/dev/rfcomm0]: configuration
>>> shows modemtype <nokiaphone>
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: AT2[/dev/rfcomm0]: Reading modem
>>> definitions from
>>> </home/testuser/kannel/gateway-1.4.3/debian/kannel.conf>
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: AT2[/dev/rfcomm0]: Found <1>
>>> modems
>>> in config
>>> 2011-12-07 23:18:04 [3167] [0] INFO: AT2[/dev/rfcomm0]: read modem
>>> definition for <Nokia 6680>
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 6
>>> (gw/smsc/smsc_at.c:at2_device_thread)
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: Started thread 7
>>> (gw/bb_smscconn.c:sms_router)
>>> 2011-12-07 23:18:04 [3167] [0] INFO:
>>> ----------------------------------------
>>> 2011-12-07 23:18:04 [3167] [0] INFO: Kannel bearerbox II version 1.4.3
>>> starting
>>> 2011-12-07 23:18:04 [3167] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>>> maps
>>> to pid 3167.
>>> 2011-12-07 23:18:04 [3167] [2] DEBUG: Thread 2
>>> (gwlib/http.c:server_thread) maps to pid 3167.
>>> 2011-12-07 23:18:04 [3167] [3] DEBUG: Thread 3
>>> (gw/bb_http.c:httpadmin_run) maps to pid 3167.
>>> 2011-12-07 23:18:04 [3167] [4] DEBUG: Thread 4
>>> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3167.
>>> 2011-12-07 23:18:04 [3167] [5] DEBUG: Thread 5
>>> (gw/bb_boxc.c:smsboxc_run)
>>> maps to pid 3167.
>>> 2011-12-07 23:18:04 [3167] [0] INFO: MAIN: Start-up done, entering
>>> mainloop
>>> 2011-12-07 23:18:04 [3167] [0] DEBUG: AT2[/dev/rfcomm0]: start called
>>> 2011-12-07 23:18:04 [3167] [6] DEBUG: Thread 6
>>> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3167.
>>> 2011-12-07 23:18:04 [3167] [6] INFO: AT2[/dev/rfcomm0]: opening device
>>> 2011-12-07 23:18:04 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: device opened.
>>> Telnet mode = 0
>>> 2011-12-07 23:18:04 [3167] [7] DEBUG: Thread 7
>>> (gw/bb_smscconn.c:sms_router) maps to pid 3167.
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: device opened
>>> 2011-12-07 23:18:05 [3167] [6] INFO: AT2[/dev/rfcomm0]: Logging in
>>> 2011-12-07 23:18:05 [3167] [6] INFO: AT2[/dev/rfcomm0]: init device
>>> 2011-12-07 23:18:05 [3167] [6] INFO: AT2[/dev/rfcomm0]: speed set to
>>> 19200
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> ATZ^M
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ATZ
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT^M
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- AT
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT&F^M
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- AT&F
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> ATE0^M
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ATE0
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: -->
>>> AT+IFC=2,2^M
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:05 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CPIN?^M
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- +CPIN:
>>> READY
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CMGF=0^M
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: --> AT+CSMS=?^M
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- +CSMS: (0)
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: -->
>>> ATZ+CNMI=1,2,0,1,0;+CMEE=1^M
>>> 2011-12-07 23:18:06 [3167] [6] DEBUG: AT2[/dev/rfcomm0]: <-- OK
>>> 2011-12-07 23:18:06 [3167] [6] INFO: AT2[/dev/rfcomm0]: AT SMSC
>>> successfully opened.
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Kannel-can-not-receive-sms-tp32930547p33012291.html
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>
>>
>>
> 
> 
> -- 
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Kannel-can-not-receive-sms-tp32930547p33019698.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to