Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Regards, Michael

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 07:04, michael osakede wrote: > Can anyone point me in the direction of a script that can start/stop/restart > bearerbox/smsbox/sqlbox? Look in the utils directory of the source archive/file. -- Kind regards, Milan -- Arvant

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, i get this : Usage: ./run_kannel_box [--pidfile PIDFILE] [--min-delay SECONDS] BOXPATH [boxoptions...] from run_kannel_box. how do I use this to start Bearerbox/smsbox/sqlbox? Michael From: Milan P. Stanic To: users@kannel.org Sent: Saturday, Janua

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, I like to use daemontools, for example, the "run" file for bearerbox could contain something like -- #!/bin/sh exec /usr/local/sbin/bearerbox -v 1 -p /var/run/kannel/bearerbox.pid /usr/home/LAB/kannel/conf/kannel.conf -- regards On Sat, Jan 12, 2013 at 3:04 PM, michael osakede wrote:

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread spameden
check /etc/init.d/kannel from debian kannel package 2013/1/12 Nicolas de Bari Embriz Garcia Rojas : > Hi, I like to use daemontools, for example, the "run" file for > bearerbox could contain something like > > -- > #!/bin/sh > > exec /usr/local/sbin/bearerbox -v 1 -p /var/run/kannel/bearerbox.p

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 07:21, michael osakede wrote: > i get this : > > Usage: ./run_kannel_box [--pidfile PIDFILE] [--min-delay SECONDS] BOXPATH > [boxoptions...] > > > from run_kannel_box. > > how do I use this to start Bearerbox/smsbox/sqlbox? run_kannel_box is not script. You can use it in

RE: Kannel Start/Stop Restart Script

2013-01-12 Thread Sarfaraz Jamal
Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1 > bearerbox.log & sleep 5 nohup ./smsbox -v 1 > smsbox.log & cd /root clea

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 13:45, Sarfaraz Jamal wrote: > Here is a script we use for restarting kannel: > > #!/bin/sh > clear > echo Restarting the process, please allow 15 seconds... > kill -9 $(/sbin/pidof smsbox) > kill -9 $(/sbin/pidof bearerbox) > cd /opt/gw > sleep 5 > nohup ./bearerbox -v 1 > b

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, I tried to do this using php when i check the process ps aux | grep box the bearerbox process is not running, any idea what am doing wrong and how i can fix this? Michael From: Sarfaraz Jamal To: users@kannel.org Sent: Saturday, January 12, 2013 7:45

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
Kannel is not a "point and click" ware. before going further take a break, and think what you are doing. starting up kannel with php is like trying to heat a microwave with matches. 1. PHP is a programming language that can help you to manager your data, but it is not recommended to use PHP for s

Long Messages using httpsmsc

2013-01-12 Thread michael osakede
Hi, bellow is my config for my httpsmsc, when i send more than 160 character the message gets delivered as 2 separate messages. what do I add to the config to allow for concatenation or allow the message to deliver as one sms? group = smsc smsc = http system-type = generic port = 13015 send-url

Re: Long Messages using httpsmsc

2013-01-12 Thread Willy Mularto
Add max-sms-octets directive SlyDroid On Jan 13, 2013 6:28 AM, "michael osakede" wrote: > Hi, > > bellow is my config for my httpsmsc, when i send more than 160 character > the message gets delivered as 2 separate messages. > what do I add to the config to allow for concatenation or allow the >