Sure, just do the same thing for smsbox. Set the bearerbox-port to 13005. == Rene
-----Original Message----- From: Aldo Zavala [mailto:a...@cleartalk.net] Sent: dinsdag 13 juli 2010 1:13 To: Rene Kluwen; users@kannel.org Subject: RE: can sqlbox record all MT and MO ? Thank you!! That worked!! Now sql and smpp messages are stored in database. Question: Is it possible to store in database the messages send by Push method? Like those using this: http://127.0.0.1:13131/cgi-bin/sendsms?username=test&password=test&from=5555 &to=5018785411&text=Test+SMS Thanks, Aldo Zavala 24/7 (760).890.4221 ----- Original Message ----- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] To: 'Aldo Zavala' [mailto:a...@cleartalk.net], users@kannel.org Sent: Mon, 12 Jul 2010 12:53:59 -0700 Subject: RE: can sqlbox record all MT and MO ? > In smppbox.conf you should set the bearerbox-port to 13005. > > -----Original Message----- > From: Aldo Zavala [mailto:a...@cleartalk.net] > Sent: maandag 12 juli 2010 21:39 > To: Rene Kluwen; users@kannel.org > Subject: RE: can sqlbox record all MT and MO ? > > Sorry, I forgot to copy this question to users list =) ... > > I have the same configuration than that. And sqlbox only stores in sent_sms > table the messages that I sent using SQL query like this: > > INSERT INTO send_sms (momt, sender, receiver, msgdata, sms_type) > VALUES ('MT', '1234', '5017785477', 'Hello world', 2); > > And it doesn't record any messages if I send a message like this (please > correct my flow if its wrong, I may have a incorrect logic understand of > Kannel yet): > > [SMPP Client]-->[Bearerbox]-->[smppbox]-->[Bearerbox]-->[smsc]-->[handset] > > -Do I have to configure something in bearerbox.conf in order to do this or > only in sqlbox.conf ? > > > Thanks, > > Aldo Zavala > > ----- Original Message ----- > From: Rene Kluwen > [mailto:rene.klu...@chimit.nl] > To: 'Aldo Zavala' > [mailto:a...@cleartalk.net] > Sent: Sun, 11 Jul 2010 15:27:20 -0700 > Subject: > RE: can sqlbox record all MT and MO ? > > > > See: > > http://www.blogalex.com/wp-content/uploads/2008/11/userguide.html#AEN211. > > > > It lists the following configuration: > > > > group = sqlbox > > id = sqlbox-db > > smsbox-id = sqlbox > > #global-sender = "" > > bearerbox-host = localhost > > bearerbox-port = 13001 > > smsbox-port = 13005 > > smsbox-port-ssl = false > > sql-log-table = sent_sms > > sql-insert-table = send_sms > > log-file = "/var/log/kannel/kannel-sqlbox.log" > > log-level = 0 > > > > Now what you need to do is configure smsbox to connect to port 13005 of > > localhost. > > After that, sqlbox should log traffic going from and to your smsbox. > > > > == Rene > > > > -----Original Message----- > > From: Aldo Zavala [mailto:a...@cleartalk.net] > > Sent: zondag 11 juli 2010 22:15 > > To: Rene Kluwen; users@kannel.org > > Subject: RE: can sqlbox record all MT and MO ? > > > > Thanks Rene for all your help and free support. I still can't figure out > how > > to set it up to store other messages rather than those sent by sql. Can > > please post a small config sample? > > > > > > > > Thanks, > > > > Aldo Zavala > > > > > > ----- Original Message ----- > > From: Rene Kluwen > > [mailto:rene.klu...@chimit.nl] > > To: 'Aldo Zavala' > > [mailto:a...@cleartalk.net], users@kannel.org > > Sent: Fri, 09 Jul 2010 > > 13:35:18 -0700 > > Subject: RE: can sqlbox record all MT and MO ? > > > > > > > If you setup sqlbox in between bearerbox and smsbox, then also it logs > > > messages in between them. > > > > > > == Rene > > > > > > -----Original Message----- > > > From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On > Behalf > > > Of Aldo Zavala > > > Sent: vrijdag 9 juli 2010 22:01 > > > To: users@kannel.org > > > Subject: can sqlbox record all MT and MO ? > > > > > > Hi, I just configured sqlbox and it works really nice and fast, it > stores > > in > > > the Database all the messages sent by sql, is there a way to set it up > to > > > store all other messages like the ones through SMC's? non only the ones > > > submited through sqlbox? > > > > > > > > > Thanks, > > > > > > Aldo Zavala > > > > > > > > > > > > > > > > > > > > > > > >