Connection reset by peer

2007-11-14 Thread Kudzai Gadzira
Hi all, My smsbox disconnects its self from the bearerbox if there is no sms recieved or sent for say aproximately 5 min. Is there a problem with my installation or it has to do with kannel? The following error is given: ERROR: Error from reading fd 22: ERROR: System error 104: Connection reset

RE: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Rene Kluwen
Nice hacking :) -- Rene -Original Message- From: Cezary Siwek [mailto:[EMAIL PROTECTED] Sent: woensdag 14 november 2007 18:58 To: users@kannel.org Subject: RE: Re[2]: sqlbox does not connect to remote MySQL hi, I had the same problem. you need to define port if you want to use rem

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Juan Nin
that did it! thanks Cezary! :) the port option was not mentioned on the example docs, and I hadn't seen it on the code On Nov 14, 2007 3:58 PM, Cezary Siwek <[EMAIL PROTECTED]> wrote: > > > hi, > I had the same problem. > > you need to define port if you want to use remote db > > port = 3306 >

RE: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Cezary Siwek
hi, I had the same problem. you need to define port if you want to use remote db port = 3306 (or the proper one of course) Regards, Cezary -Original Message- From: Juan Nin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 5:45 PM To: users@kannel.org Subject: Re: Re

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Juan Nin
i'm using MySql 5, but the thing is that sqlbox is not trying to connect to the remote server I've already enabled the mysql logging, and I see nothing, and even more, I made a tcpdump on the remote DB server, and no packets arrive.. On 11/14/07, Alejandro Guerrieri <[EMAIL PROTECTED]> wrote: >

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Alejandro Guerrieri
Hmm, pretty strange. The only thing I can think of is about auth libraries. There's a difference between 3.x and 4.x mysql authentication protocol, and if for some reason the wrong protocol is used the login fails though the mysql client library works fine. I'd check on the remote side to see if

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Juan Nin
don't think so on my previous post i pasted some changes i made where it logs the panic error, and the host, username, passwd and db are fine not sure where the problem is :( On Nov 14, 2007 2:30 PM, Alejandro Guerrieri <[EMAIL PROTECTED]> wrote: > No, this is to be able to connect to a remote

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Alejandro Guerrieri
No, this is to be able to connect to a remote bearerbox. Maybe there's a similar issue with mysql host? I'll check it out. Regards, Alejandro On Nov 14, 2007 1:53 PM, Juan Nin <[EMAIL PROTECTED]> wrote: > Alejandro, > > is this needed for sqlbox to be able to connect to a remote mysql? > > tha

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Juan Nin
Alejandro, is this needed for sqlbox to be able to connect to a remote mysql? thanks! Juan On Nov 14, 2007 1:41 PM, Alejandro Guerrieri <[EMAIL PROTECTED]> wrote: > Here is my patch for sqlbox to take host into account: > > Index: gw/sqlbox.c > == > =

Re: Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread Alejandro Guerrieri
Here is my patch for sqlbox to take host into account: Index: gw/sqlbox.c === RCS file: /home/cvs/sqlbox/gw/sqlbox.c,v retrieving revision 1.2 diff -u -r1.2 sqlbox.c --- gw/sqlbox.c 30 May 2006 17:52:46 - 1.2 +++ gw/sqlbox.c

Re: DLRs with sqlbox

2007-11-14 Thread seik
works for me, but i use unique dlr-url set in sendsms request -Original Message- From: Juan Nin [EMAIL PROTECTED] Sent: 14 ??? 2007 ?. To: seik Subject:DLRs with sqlbox > do DLRs work while using sqlbox? > I see them getting inserted in sent_sms table, but the dlr_url is not > be

DLRs with sqlbox

2007-11-14 Thread Juan Nin
do DLRs work while using sqlbox? I see them getting inserted in sent_sms table, but the dlr_url is not being called thanks in advance, Juan

Re[2]: sqlbox does not connect to remote MySQL

2007-11-14 Thread seik
I am about to do the same for sqlbox_pgsql.c :) no time so far :/ -Original Message- From: Juan Nin [EMAIL PROTECTED] Sent: 14 ??? 2007 ?. To: seik Subject:sqlbox does not connect to remote MySQL > mhmhm, I edited gw/sqlbox_mysql.c from the sqlbox source and modified > the panic

Re: sqlbox does not connect to remote MySQL

2007-11-14 Thread Juan Nin
mhmhm, I edited gw/sqlbox_mysql.c from the sqlbox source and modified the panic line in the end so the code is like here below, and the DB params are shown ok /* * ok, ready to connect to MySQL */ db_conf = gw_malloc(sizeof(DBConf)); gw_assert(db_conf != NULL); db_conf->mys

Re: sqlbox does not connect to remote MySQL

2007-11-14 Thread seik
Err, i think its the same issue as the one with the bearerbox host :/ -Original Message- From: Juan Nin [EMAIL PROTECTED] Sent: 14 ??? 2007 ?. To: seik Subject:sqlbox does not connect to remote MySQL > Hi! > I'm trying sqlbox, and I can't get it to connect to a remote MySQL server

Re: sqlbox does not connect to remote MySQL

2007-11-14 Thread seik
Hi Juan, sqlbox needs to be patched, because the original source ignores the bearerbox host config value I believe Alejandro Guerrieri <[EMAIL PROTECTED]> impelented the patch contact him. Cheers -Original Message- From: Juan Nin [EMAIL PROTECTED] Sent: 14 ??? 2007 ?. To: seik Subje

sqlbox does not connect to remote MySQL

2007-11-14 Thread Juan Nin
Hi! I'm trying sqlbox, and I can't get it to connect to a remote MySQL server... It's really strange... I got "dlr-storage = mysql" with the same settings and it connects fine, but sqlbox does not... if I run a local MySQ, using localhost it works fine, but not with a remote one... Here's the er

Re: DLR TLVs

2007-11-14 Thread Kyriacos Sakkas
Hi Juan, Well aware of the patch, unfortunately I get a segfault when I compile with it... Kyriacos Sakkas Juan Nin wrote: > Hi Kyriacos! > > Alexander Malysh created an SMPP Optional Parameters patch. > You have already participated on that thread: > > http://www.nabble.com/-PATCH--SMPP-Opti