Nokia 6260

2007-11-09 Thread FaberK
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.1starting
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.00 secs.
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]: -- ATF^M
2007-11-09 15:40:56 [19130] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF
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

Re: Nokia 6260

2007-11-09 Thread FaberK
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.1starting
  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

Nokia 6260 N70

2007-11-08 Thread FaberK
Hi,
I'm testing kannel in this days.
Is there a chance to use one of those two mobiles(Nokia 6260, N70) to send
SMS?
I can connect them using usb.

Thanks.

-- 
.:FaberK:.


SMS Gw

2006-05-08 Thread FaberK
Hi folks,this is my first setup of kannel...My hardware is:1) Asterisk server, up and running - 10.0.0.1962) Netsynt GSM Gateway - 10.0.0.249
I've tryed first to use smsq, with no luck. Now I would like to setup kannel.I'm in Italy, if somebody in this list, has some sample files, I'll be very glad!I'm following the userguide, with no result, except that the browser reply that the message is sent, but nothing happen...!!!
Thanks-- .:FaberK:.