KANNEL.conf

153 views
Skip to first unread message

stephen osewe

unread,
Feb 10, 2012, 1:35:06 AM2/10/12
to rapidsms
Hi Team,

how can you implement kannel with the new rapidsms setup ? Anyone who
has done this please share.

Lengani Kaunda

unread,
Feb 10, 2012, 2:12:27 AM2/10/12
to rapi...@googlegroups.com
Hi Stephen,

If you're on Ubuntu, there is a kannel package that you can install. Please also
see/follow the following thread on how you can setup Kannel.


Best,

Lengani

stephen osewe

unread,
Feb 10, 2012, 6:29:15 AM2/10/12
to rapi...@googlegroups.com
Can someone tell me where I can find the rapidsms folder is after
install using pip install rapidsms?

> --
> You received this message because you are subscribed to the Google Groups
> "rapidsms" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rapidsms/-/RPB5ZlMHPb0J.
>
> To post to this group, send email to rapi...@googlegroups.com.
> To unsubscribe from this group, send email to
> rapidsms+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rapidsms?hl=en.

--
stephen osewe
websys software solutions
www.websysltd.com
+254-721-765 824
in...@websysltd.com

mugisha moses

unread,
Feb 10, 2012, 6:33:14 AM2/10/12
to rapi...@googlegroups.com
its in your python site-packages  folder

stephen osewe

unread,
Feb 10, 2012, 6:34:44 AM2/10/12
to rapi...@googlegroups.com
Thanks,I found mine @ python / dist-packages

stephen osewe

unread,
Feb 15, 2012, 8:01:42 AM2/15/12
to rapi...@googlegroups.com
I have tried that,now I get another error I dint have;

2012-02-15 16:00:22 [2706] [0] INFO: Adding interface *
2012-02-15 16:00:22 [2706] [0] ERROR: Couldn't bind a UDP socket to port 9200

Has anyone encountered such ?

stephen osewe

unread,
Feb 15, 2012, 8:11:20 AM2/15/12
to rapi...@googlegroups.com
no error now but this is the reply am getting now,I tcant get passed this stage;

Libxml version 2.7.7.
Using OpenSSL 0.9.8o 01 Jun 2010.
Compiled with MySQL 5.1.47, using MySQL 5.1.49.
Using SQLite 3.6.23.1.
Using native malloc.

2012-02-15 16:04:41 [2736] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2012-02-15 16:04:41 [2736] [0] INFO: HTTP: Opening server at port 13006.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2012-02-15 16:04:41 [2736] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2012-02-15 16:04:41 [2736] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2012-02-15 16:04:41 [2736] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: starting UDP sender/receiver module
2012-02-15 16:04:41 [2736] [0] INFO: Adding interface *
2012-02-15 16:04:41 [2736] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200>
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 4
(gw/bb_udp.c:udp_receiver)
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 5 (gw/bb_udp.c:udp_sender)
2012-02-15 16:04:41 [2736] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201>
2012-02-15 16:04:41 [2736] [5] DEBUG: Thread 5
(gw/bb_udp.c:udp_sender) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 6
(gw/bb_udp.c:udp_receiver)
2012-02-15 16:04:41 [2736] [4] DEBUG: Thread 4
(gw/bb_udp.c:udp_receiver) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 7 (gw/bb_udp.c:udp_sender)
2012-02-15 16:04:41 [2736] [7] DEBUG: Thread 7
(gw/bb_udp.c:udp_sender) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: starting wapbox connection module
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 8
(gw/bb_boxc.c:wdp_to_wapboxes)
2012-02-15 16:04:41 [2736] [8] DEBUG: Thread 8
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 9
(gw/bb_boxc.c:wapboxc_run)
2012-02-15 16:04:41 [2736] [6] DEBUG: Thread 6
(gw/bb_udp.c:udp_receiver) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: starting WDP router
2012-02-15 16:04:41 [2736] [9] DEBUG: Thread 9
(gw/bb_boxc.c:wapboxc_run) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] DEBUG: Started thread 10
(gw/bearerbox.c:wdp_router)
2012-02-15 16:04:41 [2736] [0] INFO: ----------------------------------------
2012-02-15 16:04:41 [2736] [10] DEBUG: Thread 10
(gw/bearerbox.c:wdp_router) maps to pid 2736.
2012-02-15 16:04:41 [2736] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2012-02-15 16:04:41 [2736] [0] INFO: MAIN: Start-up done, entering mainloop
2012-02-15 16:04:57 [2736] [9] INFO: Client connected from <127.0.0.1>
2012-02-15 16:04:57 [2736] [9] DEBUG: Started thread 11 (gw/bb_boxc.c:function)
2012-02-15 16:04:57 [2736] [11] DEBUG: Thread 11
(gw/bb_boxc.c:function) maps to pid 2736.
2012-02-15 16:04:57 [2736] [11] DEBUG: setting up systems for new wapbox
2012-02-15 16:04:57 [2736] [11] DEBUG: Started thread 12
(gw/bb_boxc.c:boxc_sender)
2012-02-15 16:04:57 [2736] [12] DEBUG: Thread 12
(gw/bb_boxc.c:boxc_sender) maps to pid 2736.

mugisha moses

unread,
Feb 15, 2012, 8:44:26 AM2/15/12
to rapi...@googlegroups.com
That seems good.  have you started the smsbox?

stephen osewe

unread,
Feb 15, 2012, 8:45:24 AM2/15/12
to rapi...@googlegroups.com
not yet....let me give it a try now

stephen osewe

unread,
Feb 15, 2012, 8:48:05 AM2/15/12
to rapi...@googlegroups.com
This is my smsbox feedback when running "smsbox -v kannel.conf"

2012-02-15 16:46:37 [2872] [0] PANIC: No 'smsbox' group in configuration
2012-02-15 16:46:37 [2872] [0] PANIC: smsbox(gw_panic+0xcd) [0x808a38d]
2012-02-15 16:46:37 [2872] [0] PANIC: smsbox(main+0x154c) [0x8055d5c]
2012-02-15 16:46:37 [2872] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xe7) [0x58bce7]
2012-02-15 16:46:37 [2872] [0] PANIC: smsbox() [0x8054061]

mugisha moses

unread,
Feb 15, 2012, 8:49:31 AM2/15/12
to rapi...@googlegroups.com
do you have smsbox group in kannel.conf?

stephen osewe

unread,
Feb 15, 2012, 8:51:33 AM2/15/12
to rapi...@googlegroups.com
I realised I dont have that,do you have sample of smsbox group ?

Tobias McNulty

unread,
Feb 15, 2012, 8:51:45 AM2/15/12
to rapi...@googlegroups.com
On Wed, Feb 15, 2012 at 8:48 AM, stephen osewe <stephe...@gmail.com> wrote:
This is my smsbox feedback when running "smsbox -v kannel.conf"

2012-02-15 16:46:37 [2872] [0] PANIC: No 'smsbox' group in configuration
2012-02-15 16:46:37 [2872] [0] PANIC: smsbox(gw_panic+0xcd) [0x808a38d]
2012-02-15 16:46:37 [2872] [0] PANIC: smsbox(main+0x154c) [0x8055d5c]
2012-02-15 16:46:37 [2872] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xe7) [0x58bce7]
2012-02-15 16:46:37 [2872] [0] PANIC: smsbox() [0x8054061]

It sounds like you need to add an smsbox group to your kannel.conf.


Tobias
--
Tobias McNulty, Managing Member
Caktus Consulting Group, LLC
http://www.caktusgroup.com

stephen osewe

unread,
Feb 15, 2012, 9:01:45 AM2/15/12
to rapi...@googlegroups.com
Thanks guyz.....

Reply all
Reply to author
Forward
0 new messages