audit sent and queued messages to DB

2007-11-09 Thread Knaan Ratosh
Hi,

I need to store in an audit database information regarding messages that
were sent successfully, and ones that are queued. I need this because I
need to perform some reporting on the results - for example, report that
counts the number of queued messages that were sent to a certain user
within a range of dates.

Does anyone have any idea how to do that?

 

Knaan Ratosh

Acting VP RD

AxisMobile Ltd.

Consumer Mobile Email

Tel: Int +972-3-7685529

Mobile: Int +972-54-3138460

[EMAIL PROTECTED]

 



Problem starting kannel with dlr-storage mysql

2007-11-09 Thread Knaan Ratosh
Hi,

I was trying to start the kannel using dlr-storage=mysql, but the it
fails. The logs in the wapbox.log say:

 

2007-11-09 07:21:48 [2652] [0] INFO: Starting to log to file
/usr/local/kannel/log/wapbox.log level -1

2007-11-09 07:21:48 [2652] [0] DEBUG: syslog parameter is none

2007-11-09 07:21:48 [2652] [0] INFO:


2007-11-09 07:21:48 [2652] [0] INFO: Kannel wapbox version 1.4.1
starting up.

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 1
(wap/wsp_session.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 2
(wap/wsp_unit.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 3
(wap/wsp_push_client.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 4
(wap/timers.c:watch_timers)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 5
(wap/wtp_init.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 6
(wap/wtp_resp.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 7
(gw/wap-appl.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 8
(gw/wap-appl.c:return_replies_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 9
(gw/wap_push_ota.c:main_thread)

2007-11-09 07:21:48 [2652] [0] INFO: HTTP: Opening server at port 8380.

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 10
(gwlib/fdset.c:poller)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 11
(gwlib/http.c:server_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 12
(gw/wap_push_ppg.c:ota_read_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 13
(gw/wap_push_ppg.c:http_read_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 14
(gw/wap_push_ppg.c:pap_request_thread)

2007-11-09 07:21:48 [2652] [0] ERROR: connect failed

2007-11-09 07:21:48 [2652] [0] ERROR: System error 111: Connection
refused

2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server
`localhost' at port `13002'

2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox.

2007-11-09 07:21:48 [2652] [0] PANIC:
/usr/local/kannel/sbin/wapbox(gw_panic+0xa3) [0x80d26cb]

2007-11-09 07:21:48 [2652] [0] PANIC:
/usr/local/kannel/sbin/wapbox(main+0x581) [0x807da71]

2007-11-09 07:21:48 [2652] [0] PANIC:
/lib/tls/libc.so.6(__libc_start_main+0xe3) [0x30be33]

2007-11-09 07:21:48 [2652] [0] PANIC: /usr/local/kannel/sbin/wapbox
[0x807c509]

 

When I removed the dlr-storage=mysql and replaced it with inernal
storage, everything worked fine.

I tried to compile kannel using the following configure and I stil have
he same problem:

./configure --with-mysql --with-mysql-dir=/usr/local/mysql
--prefix=/usr/local/kannel-complied 

or

./configure --with-mysql --with-mysql-dir=/usr/local/mysql
--prefix=/usr/local/kannel-complied --with-dlr=mysql

 

What should I do in order to make it work?

 

Knaan Ratosh

Acting VP RD

AxisMobile Ltd.

Consumer Mobile Email

Tel: Int +972-3-7685529

Mobile: Int +972-54-3138460

[EMAIL PROTECTED]

 



Re: Problem starting kannel with dlr-storage mysql

2007-11-09 Thread Enver ALTIN
On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote:
 I was trying to start the kannel using dlr-storage=mysql, but the it
 fails. The logs in the wapbox.log say:

wapbox.log doesn't help, in order to understand the problem we need the
output from bearerbox.
-- 
Enver


signature.asc
Description: This is a digitally signed message part


Re: Problem starting kannel with dlr-storage mysql

2007-11-09 Thread Rodrigo Cremaschi
Hi Knaan,

 2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server `localhost' 
 at port `13002'
 2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox.

Be sure that bearerbox is up and running before starting any other box.


On Nov 9, 2007 7:30 AM, Enver ALTIN [EMAIL PROTECTED] wrote:
 On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote:
  I was trying to start the kannel using dlr-storage=mysql, but the it
  fails. The logs in the wapbox.log say:

 wapbox.log doesn't help, in order to understand the problem we need the
 output from bearerbox.
 --
 Enver




Re: audit sent and queued messages to DB

2007-11-09 Thread seik
well in case with queued you mean accepted  by the SMSC and still not 
delivered to the recipient,
you may just use DLR reporting data inserted into db
each SMS should be sent with unique dlr smsid and proper value of the 
expiration timeout.

from here you will deal with the sql queries i belive.



-Original Message-
From: Knaan Ratosh [EMAIL PROTECTED]
Sent: 09 Ноември 2007 г.
To: seik
Subject:audit sent and queued messages to DB 

 Hi,
 I need to store in an audit database information regarding messages that were 
 sent successfully, and ones that are
 queued. I need this because I need to perform some reporting on the results – 
 for example, report that counts the
 number of queued messages that were sent to a certain user within a range of 
 dates.
 Does anyone have any idea how to do that?
  
 Knaan Ratosh
 Acting VP RD
 AxisMobile Ltd.
 Consumer Mobile Email
 Tel: Int +972-3-7685529
 Mobile: Int +972-54-3138460
 [EMAIL PROTECTED]
  





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: 

Re: Nokia 6260

2007-11-09 Thread Alejandro Guerrieri
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 [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: 

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 

Fwd: Need Help PLS!

2007-11-09 Thread motekoa mokhitli


Note: forwarded message attached.
 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ---BeginMessage---
we are curreently doing a project on kannel with my partner, and we would like 
to distribute SMSboxes (three) on different hosts. How do we do that? Should we 
use diffent port numbers or should we show by name, the host each SMSbox will 
be on? Also how will the Bearer Box communicate with these SMSboxes?

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ---End Message---


automated setup of kannel modem smsc

2007-11-09 Thread Aaron Simmons
Is there a way to (programmatically) tell whether a modem smsc is  
successfully communicating with its modem?  e.g., a way to run  
smsbox, or a function in gwlib?  I would like to have a script detect  
whether the smsc is having problems (can't open port, doesn't detect  
modem type, having trouble with init-string, etc).



Thanks,
aaron



Re: automated setup of kannel modem smsc

2007-11-09 Thread seikath
parse the log :)

OR first emulate the smsc with kermit executing AT commands
according to your kannel modem config.

but real time parsing of the log would be the simple and working solution.



-Original Message-
From: Aaron Simmons [EMAIL PROTECTED]
Sent: 09 ??? 2007 ?.
To: seikath
Subject:automated setup of kannel modem smsc 

 Is there a way to (programmatically) tell whether a modem smsc is  
 successfully communicating with its modem?  e.g., a way to run  
 smsbox, or a function in gwlib?  I would like to have a script detect
 whether the smsc is having problems (can't open port, doesn't detect  
 modem type, having trouble with init-string, etc).


 Thanks,
 aaron




unsubscribe;

2007-11-09 Thread Blank
 
 




  
_
馬上體驗全新Yahoo!奇摩電子信箱2.0。 http://tw.mg0.mail.yahoo.com/dc/landing