RE: Kannel Start/Stop Restart Script
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 clear echo Restarted - Verify with web that both services are running.
Kannel Issues - Queued for Later Delivery
We are using version 1.4.3 - When we first start kannel and connect to the SMPP provider we are able to send messages. Later on in the day when we try to send sms messages it says Queued for Later Delivery, but we never get the message - The status shows that is connected to the smsc - If we RESTART kannel and force it to connect to the smsc again, it works fine - How can we make sure that it connects to the SMSC if it is ever disconnected, etc. Also we are running this off of a virtual machine if that makes any difference - Sas
Setting up Kannel as a Daemon
Hi guys, Earlier I asked on this thread: http://www.mail-archive.com/users@kannel.org/msg10798.html If we could set kannel up a daemon. I know it has the option to be compiled as a daemon, Besides that, and the start up script - what has to be done to ensure that we can run it as a daemon? Also, can anyone give me a quote on how much it would cost to do this? We are on linux now =) Thanks
Starting Stopping Kannel through Daemons?
-- Forwarded message -- From: Sarfaraz Jamal [EMAIL PROTECTED] Date: Sep 9, 2007 8:13 PM Subject: Starting Stopping Kannel through Daemons? To: users@kannel.org users@kannel.org Hi guys, We are primarily a windows shop but can get our way around linux as needed =) So far kannel is doing all that we need it to do, However, we have a few questions about daemons and what not. We have kannel installed on redhat ep 5 - Can someone walk us through from the beginning on how to set up Kannel, so that when the server is rebooted, it loads kannel automagically? likewise when we restart the computer, that it is shut down - Secondly, we will be having webservices that shutdown and reload kannel as needed when we make any changes to the kannel.config file, etc. So any help, idea I know its probably basic basic linux stuff, but id appreciate the help =) Sas
Delivery Report Question
We are building our software which will use Kannel to send sms's A Scneario we are struggling to grasp currently is this: 1. When an SMS is sent, we want to know the status of it (delivered, or not, delayed, etc.) - So we will look at the DLR that is generated from sending the SMS. The DLR, schema from what we can see is: 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 Which of those fields would allow us to UNIQUELY identify the sms we actually sent? do we pass a SMS with a unique idenitfier along the way (when using sendsms)? Can anyone help? Thanks - Sas
MySQL Dependencies Problem on CYGWIN?
I installed MYSQL 5 with the --without-server option: And the configure option ran successfully with kannel, but when I run make, i get this error: gw/dlr_mysql.c:74:25: mysql/mysql.h: No such file or directory gw/dlr_mysql.c:109: error: parse error before '*' token gw/dlr_mysql.c: In function `mysql_select': gw/dlr_mysql.c:112: error: `MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:112: error: (Each undeclared identifier is reported only once gw/dlr_mysql.c:112: error: for each function it appears in.) gw/dlr_mysql.c:112: error: `result' undeclared (first use in this function) gw/dlr_mysql.c: In function `dlr_mysql_get': gw/dlr_mysql.c:170: error: `MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:170: error: `result' undeclared (first use in this function) gw/dlr_mysql.c:171: error: `MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:171: error: parse error before row gw/dlr_mysql.c:192: error: `row' undeclared (first use in this function) gw/dlr_mysql.c: In function `dlr_mysql_messages': gw/dlr_mysql.c:253: error: `MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:253: error: `result' undeclared (first use in this function) gw/dlr_mysql.c:254: error: `MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:254: error: parse error before row gw/dlr_mysql.c:269: error: `row' undeclared (first use in this function) make: *** [gw/dlr_mysql.o] Error 1 Any ideas? Sas
Question about MYSQL Support
Hi We are installing kannel on windows, and wish to use a MYSQL Server on another server (not the localhost) Do we still need to configure with --with-mysql, and --with-mysql-dir? Also, if we do need to install mysql, should we do a cygwin compile or a windows binary of mysql? (and whats the difference) - Sas
Re: send arabic sms
Hi guys, We are struggling with this a lot, and we hope to have our service launched before the Arab Ramadhan Season. It must be something simple, we are generating a URL to send to SENDSMS, and the text seems to get messed up . we are encoding it, etc. in php but the arabic text turns into nothing (it just disappears) And we are unsure of how to even send a basic string over http get. Can anyone just give a small heads up on how to do this? http://*:13131/cgi-bin/sendsms?username=***password=***charset=UCS-2coding=2to=+962796627292text=arabictextdlr-mask=19 Is this right? How can we test it just super simply? Sas On 8/23/07, Hanna Kreitem [EMAIL PROTECTED] wrote: Hello, Kannel sends Arabic message perfectly, just ake sure you are using the correct encoding all the way, from db - php - kannel. Here I use UTF-8. Hanna On 8/21/07, Amr Qanadilo [EMAIL PROTECTED] wrote: Dear All; I have installed kannel on RedHat linux enterprise 4, i have configured it and connected it to a service provider smsc. i have suceeded in sending and receiving smses in english, but now i want to send smses in Arabic. is there somethign i should do . i have used the UCS-2 put the 2 code with the UTF16BE charset. but still not working!! am using PHP to send the sms using URL. is there somethig in the PHP or Linux or even the kannel that i should do in order to make it support sending arabic text? Plz Help -- Best Regrds Amar Kalkeel
gsm phones questions on redhat 4
Hi guys, Our company is setting up kannel and we want to test it as a proof of concept with a GSM Phone, and we need to have a demo running as soon as possible (Deadline is a few hours to be honest) This is my first time getting a cell phone / gsm phone running on Linux, And we are running latest stable of Kannel With redhat enterprise 4. Any one out there who can shed some light on the quickest way to be in business withou\t recompiling any kernels, etc.? Also any phone models that work like a charm, and documents, tutorials would be great. We have Nokia N70's at work readily available, which is most suitable for us, but are willing to try other things. Any guidance at all is much appreciated - Sas