procmail would seem the thing to use alright?
sendmail is configured to activate procmail e.g.
grep procmail /etc/sendmail.cf
Mprocmail, P=/usr/bin/procmail, F=DFMSPhnu9, S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP/HdrFromSMTP,
A=procmail -Y -m $h $f $u
Mlocal, P=/usr/bi
I'm at the moment researching how best to receive MO sms.
I'm not sure ?
but have you tried:
catch-all = true
in the service ( I would think add it both to your default and remove services)
I just happen to be reading the manual and writing my own conf file
for the receive service right now.
Hello,
I've signged up for my free 10 credits with the clickatell people
and configured kannel to send sms using their smpp server.
Hooray I can send myself sms :)
Now I'm wondering how I could/should receive sms.
Clickatell and other service providers offer a 2-way service over smpp.
Does anyon
sorry in advance for spamming the list a bit with junk from logfiles
will hopefully be a little bit useful
your pdu shows bind_transmitter
on connect to server I've PDU for bind_transmitter (and bind_receiver) in log too,
here are my responses: (using clickatell's smpp server)
2004-04-22 12:
I've just rebuilt kannel with mysql this time and enabled dlr and mysql in conf files.
Now every time I try to get status kannel crashes
:'(
strace /usr/local/sbin/bearerbox -v 1 /etc/smskannel.mysql.fake.conf
lynx -dump http://localhost:13000/status.html
see last line here (from strace)
My own fault. mysql on one machine is now very confused.
Clean build and install on kannel on machine with sane mysql is good.
Interestingly with "make check" on machine with mysql problems
the test for fakesmsc hangs.
James.
On Thu, Apr 29, 2004 at 12:30:20PM +0100, James Col
Hullo,
Can't help you specifically with your new card.
But I found it easy enough to add support for undocumented
mobile . (though this mobiles behaviour is very close
to existing supported siemens).
Fire up minicom, if you're on linux or hyperterm or whatever
equivalent and talk to your mod
; 2004-05-17 17:54:29 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
> 2004-05-17 17:54:29 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
>
> _____
> Download the latest MSN Messenger http://messenger.msn.
You could "use the source" Lourens ?
In gwlib/cfg.[ch] looks like config file is loaded into
generic structures so
e.g. adding to dlr-db group or mysql-db group:
delete-dlrs = 0
or:
delete-dlrs = 1
is already supported?
I could be wrong as I just glanced at it but I don't think so.
I've
oops sorry :(
who spotted the *ahem* deliberate error there?
two deliberate errors!
ohh alright not deliberate
void dlr_init(Cfg* cfg)
{
CfgGroup *grp;
+ CfgGroup *dlrdbgrp;
/* create the DLR mutex */
dlr_mutex = mutex_create();
/* check which DLR storage type we are using */
= 1 is okay
sending sms without delete-dlrs is okay BUT not testing any more today (I forgot my
mobile!! DOH!)
On Tue, May 18, 2004 at 03:56:48PM +0100, James Coleman wrote:
> oops sorry :(
>
> who spotted the *ahem* deliberate error there?
> two deliberate errors!
> ohh alright
On Thu, May 20, 2004 at 09:11:38AM +0800, John Vincent Mombay wrote:
>
> There is no problem at this point, they can send without any problem.
> But whenever I add a code that would save theses data (sender name,
> sender number, message, receiver name and receiver number) into the
> database, it
[EMAIL PROTECTED] would be better maybe?
can help a bit anyway
configure without docs if you don't want to install all the packages
that would build the docs for you, I think this would allow you
to build. I did this initially.
you can also find rpms on the web if that would seem easier
but comp
On Mon, May 31, 2004 at 10:57:27AM +0700, Anders wrote:
> but do you know the AT command to set a
> delivery report in wavecom or siemens gsm terminal manually?
> (not using kannel)
to find out the format of the CNMI type "AT+CNMI=?"
AT+CNMI=?
+CNMI: (0-1),(0-3),(0,2),(0-2),(1)
The init-string lin
There was a recent post with some load testing stats on either
users or devel ? On handling dlrs I think.
I'm interested in the performance of kannel
myself and from reading of code and architecture I think
certainly it has been designed and I'm sure is being used
by people with high volumes. A b
On Fri, Jun 04, 2004 at 02:06:10PM +0200, Guillaume Cottenceau wrote:
> np :) however, notice that these are not figures with real SMSC
> connections, but with the "fake" SMSC, which will certainly have
> a lower response time and a lighter protocol.
Noted. Thanks! :)
I sort of supposed as much bu
Alejandro is right.
You need to install mysql-devel package I think.
It provides more than just the header files.
Check if you also already have the libs
e.g. for myself:
/$ rpm -ql mysql-devel
/usr/include/mysql
/usr/include/mysql/dbug.h
/usr/include/mysql/errmsg.h
/usr/include/mysql/m_ctype.h
/
On Thu, Jun 10, 2004 at 03:14:59PM +0800, shwong wrote:
> Hi Guillaume,
>
> Thanks for your advice. But i've forgotten to mention that the App
> server could telnet into some ports like 80,23 . Does that imply it's
> more of a port access problem?
if kannel is running can you telnet to kannel's p
On Fri, Jun 11, 2004 at 10:30:45AM +0800, shwong wrote:
> Kannel Host
> ---
> Cobalt Raq4
>
> Hey james,
>
> Thanks for the script. Will modify it accordingly :)
you're welcome ... actually there was one thing missing.
before start smsbox need either to sleep or do this.
(here's my init
make check gets stuck if one of smsbox or bearerbox crashes
there is no timeout I think on the tests
they should not crash of course, check the logs for why & what happened
check_*.log*
I found this when I built kannel badly and it was looking for mysql that
didn't exist.
which test does it sta
On Fri, Jun 25, 2004 at 11:52:22AM -0300, Vinicius Juvinski wrote:
> And with this init-string:
> init-string = "AT+CSMS=1;+CNMI=1,2,0,1,1"
> 2004-06-25 11:49:49 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M
> 2004-06-25 11:49:49 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1
> 2004-06-25 11:49:49
yes something like this:
./configure --enable-mysql --with-mysql=/usr --disable-ssl --disable-docs
--with-dlr=mysql
check e.g.
ls /usr/bin/mysql*
ls /usr/lib/mysql/
Make sure you have mysql-devel package installed too.
[EMAIL PROTECTED] rpm -ql mysql-devel
/usr/include/mysql
/usr/include/mys
Trying to help Jens get mysql dlrs working ...
I'm using kannel 1.2.1 and mysql dlrs working fine.
Does anyone on the list know about new boxc-id field?
field-boxc-id = boxc
Has it been introduced and how should it be used?
On Mon, Jul 05, 2004 at 11:39:01PM +0200, Kammann, Jens wrote:
>
On Tue, Jul 06, 2004 at 10:24:33AM +0200, Matthias Etienne (Mediaplazza) wrote:
> Hello All,
>
> Just to be sure, I would like you confirm me my conf is ok.
>
> The goal: receive MO via a smpp smsc and forward it to a PHP script.
>
> So I have:
...
there are examples with kannel
you have a cor
On Wed, Jul 07, 2004 at 03:25:20PM +0200, E Monchanin wrote:
> Hi all,
>
> I have a question concerning the difference btw Kannel and NowSMS (dispite the fact
> that one is opensource and not the other)
>
> We don't need the wap gateway feature of that, just the capacity to send SMS and SMS
> W
Ugh. Monday. Neck sore.
You want to fix the port used on your machine?
To get through a firewall?? I don't think it would help.
Why?
Host and posts set in smsc group are host & port to connect to.
group = smsc
smsc-id = clickatell
## configure smsc depending on protocol run by smsc provider
sms
How much sms?
Personal use only or something bigger?
Clickatell and possibly others provide easy enough connections
though I got an email from clickatell stating they would
only support high volume users soon.
Not sure about the modems. Have only used a couple of handsets
for testing. You would
Hello
in group = core comment out the log-level line
#log-level = 0
restart kannel
what is in the bearerbox log?
can kannel talk to your mobile?
James.
Yep init seems okay.
Nothing in logs either when you try a send ??
both smsbox and bearerbox logs.
I'm very busy in my own work myself and have to force myself
to ignore most email on kannel list! :(
Others I'm sure the same.
Kannel exits itself in some cases where it detects an error.
It's logging is quite good.
Turn on full logging in the config file for both bearerbox and smsbox,
And check w
Check your settings/config
This may be half relevant?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02313.html
> Initially I tried the "no-pin=true" in my modem settings. This didn't seem to work.
>
> I added a pin to my phone and then added a pin entry into my config file and now
> e
This seems familiar.
Looks like kannel can't talk to port so it can't talk to modem either yet.
(no responses from modem)
Search list archives and you may find some useful help?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02480.html
Check permissions of /dev/ttyS0 and also settings (using se
Reminds me of this:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02135.html
Where I think Alejandro could talk to modem in minicom (because minicom changed
post settings) but could not talk to modem with kannel. His solution is here:
* From: Alejandro Guerrieri
* Subject: Re: Kannel
On Tue, Sep 21, 2004 at 08:46:36AM +0330, Mostafa Hadian wrote:
>
>Hi All I suggest that kannel technical team test and release a list
>of modems and SMSCs which compatible with kannel, (not just brands)or
>kannel users send their list and any special config parameters to
>kannel m
use logrotate?
though logrotate runs as cron daily so it would not rotate logs hourly
unless you change it's cron job as well ?
Hmmm awkward. Is this why you want to do it using a script?
oh, from "man logrotate" :
Normally, logrotate is run as a daily cron job. It will not modify a
On Thu, Oct 21, 2004 at 02:17:46PM +0800, Beng Wooi Toh wrote:
> Hi everyone,
>
> I am very new to Kannel. I am trying to get one working on my system.
>
> Is Kannel tested on Red Hat Linux 9 with kernel 2.4.20-20.9 ? Does Kannel
> support this platform ?
No particular dependancies on linux p
On Fri, Oct 22, 2004 at 05:25:19AM +0200, Alejandro Guerrieri wrote:
> Beng, (Sorry James, I was mistaken about the sender before :) )
:) I don't make sense sometimes. Need more coffee! :)
>
> I'd suggest you to use 1.3.2. It is as stable as 1.2.1 but it's a lot
> more functional.
>
> In my own
On Fri, Oct 22, 2004 at 09:44:27AM +0800, bw t wrote:
> Hi,
>
> Can anyone (roughly) tell me what is the correct directory and file
> structure of a successful kannel installation ? Put my question in another
> way : what files are in which dir after compilation and installation ?
>
> I notice
On Fri, Oct 22, 2004 at 05:36:07PM +0800, bw t wrote:
> James, Thanks. You have been very helpful.
>
:) thanks
> I just need someone to assure me that my installation hasn't gone
> haywire... since I see files being copied to 3 diff places. I am not
> indicating that it is a problem with ka
On Fri, Oct 22, 2004 at 12:08:05PM +0100, James Coleman wrote:
>
> Oh a caveat with make check (especially on redhat anyway).
> there are certain tests that are sure to hang
> (they do for me ... I looked in the past and made some changes and
> it fixed a couple but I
>
On Mon, Oct 25, 2004 at 01:09:51PM +0700, Willy Mularto wrote:
>
>My operator send me documentation about how to connect to their smsc,
>there's a bit confusing part, that's
>
>system-id = 499
>
>account = KUIS2
>
>passwd = (hide)
>
>what's the differen
On Thu, Oct 28, 2004 at 10:37:10AM +0800, bw t wrote:
> Hi all,
>
> I wish to deploy Kannel to a Production environment.
> Initially I was thinking of using the 1.2.1 Stable version.
> But there are a few ppl in this forum who say that it is better to go for
> the 1.3.2 Development version. Iron
What version of kannel?
config options for mysql changed at some point
careful to read the doc on the version of kannel you have installed
Also post what your config is.
e.g. this for me works with kannel 1.3.1 and greater
dlr-storage = mysql
(in core group)
group = mysql-connection
id = mydlr
recommend you use kannel 1.3.2 or wait for stable version 1.4.0.
building the docs should hardly be an urgent issue for you?
use 1.2.1 docs available online if you wish to go with 1.2.1 ?
James.
On Mon, Nov 08, 2004 at 04:07:13PM +0530, shyam kumar wrote:
>
>Dear James/Dear all
>did u got your problem resolved of the dlr connectivity to the
>mysql database, i am also facing the same problem and hope to get the
>answer from U, if your problem gets solved, by the way i a
On Fri, Nov 05, 2004 at 12:50:23PM +0700, Willy Mularto wrote:
>
>List,I found that 1.2.1 doesn't support the message_payload, and
>that's the reason why my message keep empty. Now I have upgrade my
>kannel to 1.3.2, the question is, does it good to be used as a
>production level?
t;`gw/testkannel.conf'.
>2004-11-08 16:59:20 [4147] [0] PANIC: Couldn't read configuration from
>`gw/testkannel.conf'.
>2004-11-08 16:59:20 [4147] [0] PANIC: ./gw/bearerbox(gw_panic+0x175)
>[0x80c8501]
>2004-11-08 16:59:20 [4147] [0] PANIC: ./gw/bear
On Tue, Nov 09, 2004 at 05:11:18PM +0530, shyam kumar wrote:
>
>Hi James/all
>Thank you for the suggestions/help
>There's little progress from the past error.
>i configured using the parameters given but it is telling unable to
>find MyAQL client libraries
>but i had instal
On Thu, Nov 11, 2004 at 11:52:52AM +0530, shyam kumar wrote:
> # DATABASE CONNECTION FOR DELIVERY RECEIPTS
>
> group = mysql-connection
> id = mydlr
> host = localhost
> mysql-username =
> mysql-password = xxx
> database = dlr
>
> group = dlr-mysql
> id = mydlr
> table = dlr
> field-smsc
Mmmnrgg.
gateway-1.3.2rc1.tar.bz2 from kannel.org ?
do ls -al on smsbox and bearerbox binaries you run
~/src/kannel/gateway-1.3.2rc1/$ ls -al gw/smsbox gw/bearerbox
/usr/local/sbin/[bs]*box
-rwxrwxr-x1 761161 Nov 11 11:56 gw/bearerbox
-rwxrwxr-x1
On Sun, Nov 14, 2004 at 03:37:43PM +, Steve Kennedy wrote:
> Is it possible for Kannel to ignore some incoming numbers ?
>
Depending on how you use kannel.
Read how to config kannel's SMS service. This would be easiest to set up.
http://www.kannel.org/download/1.3.2/userguide-1.3.2/userguid
On Mon, Nov 29, 2004 at 04:16:30PM +, João Correia wrote:
> Anyone was able to compile gateway with DLR MySQL with Red Hat Fedora Core 1
> ??
>
> Regards
> Joao Correia
>
>
okay
redhat 9.1
gateway-1.4.0 yes still same mysql configure error :-(
./configure --disable-ssl --with-mysql --wit
On Mon, Nov 29, 2004 at 05:07:49PM +, João Correia wrote:
> James I get this:
>
> [EMAIL PROTECTED] gateway-1.4.0]# patch -p0 patch unexpectedly ends in middle of line
> patch: Only garbage was found in the patch input.
> [EMAIL PROTECTED] gateway-1.4.0]#
bleh :( well ... ? patch file
On Tue, Dec 21, 2004 at 04:37:37PM +0200, Gavin McDougall wrote:
> Hi there,
>
> I just managed to install Kannel and I'm quite impressed with myself
> 'cos I've just been used to clicking on .exe's and saying next, next,
> finish, etc.
>
> Reading through the docs I see that I need a configura
Hello Alek,
On Fri, Apr 15, 2005 at 05:15:16PM +0200, aleksandar ivanovski wrote:
> Hi list for the very first time,
>
> I am assigned a job to do implement an SMS gateway. Have contacted with
> the SMSC and agreed on a test port account. They are using SMPP protocol
> 3.4.
> I am trying to mak
Hello again Alex,
>
> I have been reading the kannel user guide for the weekend and SORRY to
> everybody on the newsgroup for asking stupid questions i.e. not reading
> the userguide very well, now I understand that they were more stupid
> than mentioned in the subject :-(.
no, yes, it's good
56 matches
Mail list logo