Hi, Please help me...i want to send OTA setting using kannel .kannel take xml file and converts that contents in binary format but i want to configure kannel settings that it will take binary format file and send them.
So please suggest how to set kannel setting ??? -- *Best Regards!* *BhavyaKhanna|Software Developer* *Email *:[email protected] On Wed, Oct 26, 2011 at 12:22 PM, <[email protected]> wrote: > Send users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.kannel.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. Re: Kannel 1.4.3 wont start and no errors are shown > (Hasnain Qureshi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 26 Oct 2011 11:52:44 +0500 > From: Hasnain Qureshi <[email protected]> > To: Fourat ZOUARI <[email protected]> > Cc: "users @ kannel. org" <[email protected]> > Subject: Re: Kannel 1.4.3 wont start and no errors are shown > Message-ID: > <calevqiwxcekmih8cuyx6ohx5+vfgzlczyqrqil0yqp16q7y...@mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > from what I see, I think it is running. I does not have much experience > with > kannel. but I think you should try looking > at status by this command. > > lynx -dump "http://localhost:13000/status.html?password=bar" > > or you can telnet the port and look at bearer log see what happens. > > On Wed, Oct 26, 2011 at 1:01 AM, Fourat ZOUARI <[email protected]> wrote: > > > Same thing with kannel.conf from kannel's package: > > > > Here's the execution outcome of bearerbox: > > > > > >> # bearerbox -v 0 kannel.conf > > > > 2011-10-25 20:59:29 [3263] [0] INFO: Debug_lvl = 0, log_file = <none>, > >> log_lvl = 0 > > > > 2011-10-25 20:59:29 [3263] [0] WARNING: DLR: using default 'internal' for > >> storage type. > > > > 2011-10-25 20:59:29 [3263] [0] INFO: DLR using storage type: internal > > > > 2011-10-25 20:59:29 [3263] [0] DEBUG: Kannel bearerbox version `1.4.3'. > > > > Build `Oct 25 2011 20:27:35', compiler `4.4.3'. > > > > System Linux, release 2.6.32-34-generic-pae, version #77-Ubuntu SMP Tue > Sep > >> 13 21:16:18 UTC 2011, machine i686. > > > > Hostname app-kannel, IP 127.0.1.1. > > > > Libxml version 2.7.6. > > > > Using OpenSSL 0.9.8k 25 Mar 2009. > > > > Using native malloc. > > > > > >> 2011-10-25 20:59:29 [3263] [0] INFO: Added logfile `/tmp/bearerbox.log' > >> with level `0'. > > > > 2011-10-25 20:59:29 [3263] [0] WARNING: Kannel was compiled without WAP > >> support > > > > 2011-10-25 20:59:29 [3263] [0] INFO: HTTP: Opening server at port 13000. > > > > 2011-10-25 20:59:29 [3263] [0] DEBUG: Started thread 1 > >> (gwlib/fdset.c:poller) > > > > 2011-10-25 20:59:29 [3263] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) > maps > >> to pid 3263. > > > > 2011-10-25 20:59:29 [3263] [0] DEBUG: Started thread 2 > >> (gwlib/http.c:server_thread) > > > > 2011-10-25 20:59:29 [3263] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) > >> maps to pid 3263. > > > > 2011-10-25 20:59:29 [3263] [0] DEBUG: Started thread 3 > >> (gw/bb_http.c:httpadmin_run) > > > > 2011-10-25 20:59:29 [3263] [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) > >> maps to pid 3263. > > > > 2011-10-25 20:59:29 [3263] [0] INFO: > >> ---------------------------------------- > > > > 2011-10-25 20:59:29 [3263] [0] INFO: Kannel bearerbox II version 1.4.3 > >> starting > > > > 2011-10-25 20:59:33 [3263] [2] DEBUG: HTTP: Creating HTTPClient for > >> `127.0.0.1'. > > > > 2011-10-25 20:59:33 [3263] [2] DEBUG: HTTP: Created HTTPClient area > >> 0x8755700. > > > > 2011-10-25 20:59:33 [3263] [3] INFO: HTTP admin tried from denied host > >> <127.0.0.1>, disconnected > > > > 2011-10-25 20:59:33 [3263] [3] DEBUG: HTTP: Destroying HTTPClient area > >> 0x8755700. > > > > 2011-10-25 20:59:33 [3263] [3] DEBUG: HTTP: Destroying HTTPClient for > >> `127.0.0.1'. > > > > 2011-10-25 20:59:34 [3263] [0] INFO: MAIN: Start-up done, entering > mainloop > > > > 2011-10-25 20:59:34 [3263] [0] DEBUG: Shutting down Kannel... > > > > 2011-10-25 20:59:34 [3263] [0] DEBUG: shutting down smsc > > > > 2011-10-25 20:59:34 [3263] [0] INFO: All flow threads have died, killing > >> core > > > > 2011-10-25 20:59:34 [3263] [0] DEBUG: Waiting for 2 > >> (gwlib/http.c:server_thread) to terminate > > > > 2011-10-25 20:59:34 [3263] [3] DEBUG: HTTP: No clients with requests, > >> quitting. > > > > 2011-10-25 20:59:34 [3263] [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) > >> terminates. > > > > 2011-10-25 20:59:34 [3263] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) > >> terminates. > > > > 2011-10-25 20:59:34 [3263] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) > >> terminates. > > > > 2011-10-25 20:59:34 [3263] [0] INFO: Total SMS messages: received 0, sent > 0 > > > > 2011-10-25 20:59:34 [3263] [0] DEBUG: Immutable octet strings: 80. > > > > > > The configuration file 'kannel.conf' contains: > > > >> # > >> # Sample configuration file for Kannel bearerbox on Debian. > >> # See the documentation for explanations of fields. > >> # > >> # HTTP administration is disabled by default. Make sure you set the > >> # password if you enable it. > >> group = core > >> admin-port = 13000 > >> admin-password = bar > >> admin-deny-ip = "*.*.*.*" > >> admin-allow-ip = "" > >> wapbox-port = 13002 > >> wdp-interface-name = "*" > >> log-file = "/tmp/bearerbox.log" > >> box-deny-ip = "*.*.*.*" > >> box-allow-ip = "127.0.0.1" > >> group = wapbox > >> bearerbox-host = localhost > >> log-file = "/tmp/wapbox.log" > > > > > > > > On Tue, Oct 25, 2011 at 8:56 PM, Otandeka Simon Peter < > [email protected] > > > wrote: > > > >> > >> And that is why your kannel is shutting down. Your main.conf is missing > a > >> lot of must-have parameters. > >> The kannel package comes with a sample and basic configuration file. > Look > >> it up and start from there. > >> > >> Kind regards, > >> P. > >> > >> On Tue, Oct 25, 2011 at 10:51 PM, Fourat ZOUARI <[email protected]> > wrote: > >> > >>> All my configuration is the main.conf file containing this: > >>> > >>> group = core > >>>> admin-port = 1300 > >>>> admin-password = fxxbar > >>> > >>> > >>> These 3 lines shall keep bearerbox running and listening on port 1300. > >>> > >>> > >>> > >>> On Tue, Oct 25, 2011 at 8:49 PM, Otandeka Simon Peter < > >>> [email protected]> wrote: > >>> > >>>> > >>>> Please post your configuration file. There could be an error. > >>>> > >>>> P. > >>>> > >>>> > >>>> On Tue, Oct 25, 2011 at 10:37 PM, Fourat ZOUARI <[email protected] > >wrote: > >>>> > >>>>> Hi, > >>>>> > >>>>> I've just compiled Kannel 1.4.3 and tried to start bearerbox like > this: > >>>>> > >>>>> # /usr/local/sbin/bearerbox -v 0 main.conf > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] INFO: Debug_lvl = 0, log_file = > <none>, > >>>>>> log_lvl = 0 > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] WARNING: DLR: using default > 'internal' > >>>>>> for storage type. > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] INFO: DLR using storage type: > internal > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Kannel bearerbox version > >>>>>> `1.4.3'. > >>>>> > >>>>> Build `Oct 25 2011 20:27:35', compiler `4.4.3'. > >>>>> > >>>>> System Linux, release 2.6.32-32-generic-pae, version #62-Ubuntu SMP > Wed > >>>>>> Apr 20 22:10:33 UTC 2011, machine i686. > >>>>> > >>>>> Hostname app-kannel, IP 127.0.1.1. > >>>>> > >>>>> Libxml version 2.7.6. > >>>>> > >>>>> Using OpenSSL 0.9.8k 25 Mar 2009. > >>>>> > >>>>> Using native malloc. > >>>>> > >>>>> > >>>>>> 2011-10-25 20:29:53 [19391] [0] WARNING: Kannel was compiled without > >>>>>> WAP support > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] INFO: HTTP: Opening server at port > >>>>>> 1300. > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Started thread 1 > >>>>>> (gwlib/fdset.c:poller) > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [1] DEBUG: Thread 1 > (gwlib/fdset.c:poller) > >>>>>> maps to pid 19391. > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Started thread 2 > >>>>>> (gwlib/http.c:server_thread) > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [2] DEBUG: Thread 2 > >>>>>> (gwlib/http.c:server_thread) maps to pid 19391. > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Started thread 3 > >>>>>> (gw/bb_http.c:httpadmin_run) > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [3] DEBUG: Thread 3 > >>>>>> (gw/bb_http.c:httpadmin_run) maps to pid 19391. > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] INFO: > >>>>>> ---------------------------------------- > >>>>> > >>>>> 2011-10-25 20:29:53 [19391] [0] INFO: Kannel bearerbox II version > 1.4.3 > >>>>>> starting > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] INFO: MAIN: Start-up done, entering > >>>>>> mainloop > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: Shutting down Kannel... > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: shutting down smsc > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] INFO: All flow threads have died, > >>>>>> killing core > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: Waiting for 2 > >>>>>> (gwlib/http.c:server_thread) to terminate > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [3] DEBUG: HTTP: No clients with > requests, > >>>>>> quitting. > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [3] DEBUG: Thread 3 > >>>>>> (gw/bb_http.c:httpadmin_run) terminates. > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [2] DEBUG: Thread 2 > >>>>>> (gwlib/http.c:server_thread) terminates. > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [1] DEBUG: Thread 1 > (gwlib/fdset.c:poller) > >>>>>> terminates. > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] INFO: Total SMS messages: received 0, > >>>>>> sent 0 > >>>>> > >>>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: Immutable octet strings: 58. > >>>>> > >>>>> > >>>>> As for the main.conf file, i've simplified it to the minimum so i can > >>>>> focus more on the problem, here is it: > >>>>> > >>>>> group = core > >>>>>> admin-port = 1300 > >>>>>> admin-password = fxxbar > >>>>> > >>>>> > >>>>> Any idea ? > >>>>> > >>>>> thanks > >>>>> > >>>> > >>>> > >>> > >> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.kannel.org/pipermail/users/attachments/20111026/0f594f4c/attachment.html > > > > ------------------------------ > > _______________________________________________ > users mailing list > [email protected] > http://www.kannel.org/mailman/listinfo/users > > > End of users Digest, Vol 62, Issue 45 > ************************************* > -- *Best Regards!* *BhavyaKhanna|Software Developer* *Email *:[email protected]
