Hi All,
I have been pointed towards SQLBOX to use to log SMS transactions.

I have complied and installed its as per FAQ.


i've followed instruction and have a compiled sqlbox which ive inserted into the startup config.

Im starting it up just after the bearer.

But im getting the following error

/etc/rc.d/init.d/kannel start

Starting bearer service (gateway kannel): nnel stop
Starting sqlbox service (gateway kannel ): 2006-01-11 04:13:49 [23648] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0arerbox is OK
2006-01-11 04:13:49 [23648] [0] ERROR: Group does not contain variable 'group'.
2006-01-11 04:13:49 [23648] [0] ERROR: Error found on line 92 of file `/etc/smskannel.conf'.
2006-01-11 04:13:49 [23648] [0] PANIC: Couldn't read configuration from `/etc/smskannel.conf'.
2006-01-11 04:13:49 [23648] [0] PANIC: /usr/local/bin/bearerbox(gw_panic+0x175) [0x80cbb62]
2006-01-11 04:13:49 [23648] [0] PANIC: /usr/local/bin/bearerbox(main+0x171) [0x8051f01]
2006-01-11 04:13:49 [23648] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xda) [0xcff79a]
2006-01-11 04:13:49 [23648] [0] PANIC: /usr/local/bin/bearerbox(read+0x51) [0x805105d]
Kannel Script Finished
Starting smsbox service (gateway kannel ): 2006-01-11 04:13:49 [23649] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2006-01-11 04:13:49 [23649] [0] ERROR: Group does not contain variable 'group'.
2006-01-11 04:13:49 [23649] [0] ERROR: Error found on line 92 of file `/etc/smskannel.conf'.
2006-01-11 04:13:49 [23649] [0] PANIC: Couldn't read configuration from `/etc/smskannel.conf'.
2006-01-11 04:13:49 [23649] [0] PANIC: /usr/local/bin/sqlbox(gw_panic+0x175) [0x806bb36]
2006-01-11 04:13:49 [23649] [0] PANIC: /usr/local/bin/sqlbox(main+0x105) [0x804ff99]
2006-01-11 04:13:49 [23649] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xda) [0x8bb79a]
2006-01-11 04:13:49 [23649] [0] PANIC: /usr/local/bin/sqlbox(read+0x41) [0x804ed9d]

/etc/rc.d/init.d/kannel: line 59: [: too many arguments
Kannel Script Finished
[EMAIL PROTECTED] gw]# 2006-01-11 04:13:49 [23650] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2006-01-11 04:13:49 [23650] [0] ERROR: Group does not contain variable 'group'.
2006-01-11 04:13:49 [23650] [0] ERROR: Error found on line 92 of file `/etc/smskannel.conf'.
2006-01-11 04:13:49 [23650] [0] PANIC: Couldn't read configuration from `/etc/smskannel.conf'.
2006-01-11 04:13:49 [23650] [0] PANIC: /usr/local/bin/smsbox(gw_panic+0x175) [0x808581a]
2006-01-11 04:13:49 [23650] [0] PANIC: /usr/local/bin/smsbox(main+0x113) [0x805bd32]
2006-01-11 04:13:49 [23650] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xda) [0x75879a]
2006-01-11 04:13:49 [23650] [0] PANIC: /usr/local/bin/smsbox(read+0x41) [0x805150d]


I've included the lines as per faq in the main config file.

As below.


group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"

# bearerbox-is-sqlbox indicates if the smsbox is connected to the bearerbox or an sql box
bearerbox-is-sqlbox = true/false


group = sqlbox
# id corresponds to id in group = mysql-connection.
# this is analogous to id in group = dlr-db
id = dlr2
# smsbox-id indicates the box where SQL-injected messages appear to be coming from
smsbox-id = sqlbox2
# bearerbox host to connect to
bearerbox-host = "Talk24-iPBX"
# smsbox port to be listening on
smsbox-port = 13005
smsbox-port-ssl = false
# sql-log-table is the table used to log all sent messages
sql-log-table = sent_sms
# sql-insert-table is the table that is monitored for new messages to send
sql-insert-table = send_sms
# global sender: If no sender is specified in sql-insert-table then this
# value is used.
global-sender = 06121


# log-file = ""
# log-level = 10
# ssl-client-certkey-file = ""
# ssl-server-cert-file = ""
# ssl-server-key-file = ""
# ssl-trusted-ca-file = ""

All the Best
Mike


Reply via email to