Hi error is self explained:

Group 'sms-service' may not contain field 'field-url'.

I think it might be because there is no spaces between groups. You
should leave an empty line between groups.

Regards

Alvaro
|-----------------------------------------------------------------------------------------------------------------|
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.com


On Tue, Dec 3, 2013 at 8:29 AM, Danesha Perera <[email protected]> wrote:
> I am connecting to a VPS with CentOS and I have build kannel from source
> with mysql support. When I try to start kannel in terminal below error is
> displayed. The line number 63 is the end of kannel.conf. Can someone point
> me in the right direction please.
>
> root@dee [/usr/local/kannel/sbin]# ./bearerbox kannel.conf
> 2013-12-03 07:24:36 [9170] [0] INFO: Debug_lvl = -1, log_file = <none>,
> log_lvl = 0
> 2013-12-03 07:24:36 [9170] [0] ERROR: Group 'sms-service' may not contain
> field 'field-url'.
> 2013-12-03 07:24:36 [9170] [0] ERROR: Error found on line 63 of file
> `kannel.conf'.
> 2013-12-03 07:24:36 [9170] [0] PANIC: Couldn't read configuration from
> `kannel.conf'.
> 2013-12-03 07:24:36 [9170] [0] PANIC: ./bearerbox(gw_panic+0x147) [0x486057]
> 2013-12-03 07:24:36 [9170] [0] PANIC: ./bearerbox(main+0xd4c) [0x40f29c]
> 2013-12-03 07:24:36 [9170] [0] PANIC:
> /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fcdc717ed1d]
> 2013-12-03 07:24:36 [9170] [0] PANIC: ./bearerbox() [0x40d679]
>
> kennal.conf is as below
>
> # CORE
> group = core
> admin­port = 13000
> smsbox­port = 13001
> admin­password = hostin
> log­file = /tmp/kannel.log
> log­level = 0
> box­deny­ip = "*.*.*.*"
> box­allow­ip = "127.0.0.1"
> dlr­storage = mysql
> # SMSBOX SETUP
> group = smsbox
> bearerbox­host = 127.0.0.1
> sendsms­port = 13013
> global­sender = 13013
> log­file = /tmp/smsbox.log
> log­level = 0
> # This is a fake smsc connection, _only_ used to test the system and
> services.
> # It really cannot relay messages to actual handsets!
> group = smsc
> smsc = fake
> smsc-id = FAKE
> port = 10000
> connect-allow-ip = 127.0.0.1
> # SEND­SMS USERS
> group = sendsms­user
> username = test
> password = hostin
> # SERVICES
> group = sms­service
> # keyword = nop
> keyword­regex = .*
> catch­all = yes
> max­messages = 0
> get­url =
> http://192.168.11.119/websms/inc/dlr.php?user=test&passwd=hostin&to=%p&message=%a
> #­­­ mysql connection
> group = mysql­connection
> id = mydlr
> host = 127.0.0.1
> username = deesofts_deesms
> password = v.[P@2u7E&#w
> database = deesofts_deesms
> max­connections = 1
> #­­­­ DLR table structure
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
> log­file = /tmp/smsbox.log
> log­level = 0
> # SMS SERVICE Default
> # there should be default always
> group = sms-service
> keyword = default
> text = "No service specified. "
>
> Thanks and best regards
> Danesha

Reply via email to