RE: timestamps with emi2

2002-01-15 Thread Dima Milentiev
Hi all, It seams we mix here something. We do parsing but if only if we have problem we entry in branch and call  date_convert_universal():     if (octstr_parse_long(unitime.second, tempstr, 10, 10) != 12 ||         (octstr_delete(tempstr, 10, 2),      

Re: pthread/poll problem

2002-01-15 Thread Stipe Tolj
Andrea Viscovich wrote: Uhm, yes, I had to strip some rows (wap related) as I only use smsbox. There were no parameter in config.h (Kannel_no_wap) at that time. Since september with at2 I had no more poll error messages. Can you send me a diff which lines you have striped out to have a look

Re: pthread/poll problem

2002-01-15 Thread Stipe Tolj
Kalle Marjola wrote: On Fri, 11 Jan 2002, Stipe Tolj wrote: Nevertheless both sms and wap functionality seems very stable on Cygwin. Andrea, can you expience the poll error messages on your productive environment? Speaking about Cygwin, how fast it is? I mean, is there any big

RE: timestamps with emi2

2002-01-15 Thread Angel Fradejas
Hi Dima, The code you pointed just states the opposite. date_convert_universal is called when a valid emi2 timestamp is received. And it uses an 1-12 index on a monthstart[12] array. That's the problem. With thechange I suggest I think we can fix it. My question again: what is the way

Re: mclass and mwi questions

2002-01-15 Thread Stipe Tolj
Bruno Rodrigues wrote: On Qui, 2002-01-10 at 09:57, Bernino Lind wrote: Dear users of Kannel, I have some questions about the mclass and mwi parameters of Kannel sendsms method. Problems/Questions: MWI: If I want to set mwi=1 for example, I can only do

Re: mclass and mwi questions

2002-01-15 Thread Stipe Tolj
Ok guys, I'm the one to blame. The commit that caused the code break is: http://www.kannel.3glab.org/cgi-bin/viewcvs.cgi/gateway/gw/smsbox.c.diff?r1=1.161r2=1.162 I'm just gonna fix this to exlude the text == NULL checking. Stipe [EMAIL PROTECTED]

Re: (no subject)

2002-01-15 Thread Aarno Syvänen
Manish Nema wrote: r/sir, i would like to know some help from your development am, can you please clarify my doubt i.e. What features should a wap gateway have for compatibility with WAP 1.1 and WAP 1.2 specification , and what features does the kannel have. Kannel is fully WAP 1.1

Rif: Re: pthread/poll problem

2002-01-15 Thread anviscov
Speaking about Cygwin, how fast it is? I mean, is there any big performance difference in linux version against cygwin in W2k? In theory there is a huge performance difference, even against native Win32, and therefore (maybe even more) against Linux. Cygwin uses a single DLL to emulate

Re: smsbox bug

2002-01-15 Thread Stipe Tolj
Angel Fradejas wrote: Hi, I found a bug in smsbox, related to empty text SMS handling (or a sms contaning only spaces). The problem arises when you send a space only text for example, and in the default sms-service get-url you use the %k token, for example group = sms-service

Re: Binding as a transmitter only

2002-01-15 Thread Stipe Tolj
Pedro Duque wrote: I found no way to do it besides editing the code. If you remove (or comment) and add the following lines in smsc_smpp.c, it should work: conn-status = SMSCCONN_CONNECTING; smpp-transmitter = gwthread_create(io_thread, io_arg_create(smpp, 1)); (-)

Re: timestamps with emi2

2002-01-15 Thread Stipe Tolj
please send fixes in diff -u format attached as plain/text to the devel@ list. There are a couple of guys working (more or less) as active CVS commiters, see ChangeLog. If your patch doesn't get applied for some days ask someone personaly to commit it. When you have contributed some patches we

Re: global-sender problem

2002-01-15 Thread Stipe Tolj
Jacob Vennervald Madsen wrote: You should not put either + or 00 in front of the sender number. Kannel is supposed to figure that out for you. But unfortunately there is a bug in the Kannel code so when you overwrite the sender address with a phonenumber it's not set correctly through the

RE: timestamps with emi2

2002-01-15 Thread Angel Fradejas
Hi Stipe, Here you have the patch to date.c Angel Fradejas. -Mensaje original- De: Stipe Tolj [mailto:[EMAIL PROTECTED]] Enviado el: martes 15 de enero de 2002 12:12 Para: Angel Fradejas CC: Kannel Developers Asunto: Re: timestamps with emi2 please send fixes in diff -u format

Re: HTTP compliance in sendsms (Was: anyone using mutli-cast GET requests)

2002-01-15 Thread Tuomas Luttinen
Stipe Tolj wrote: Oded Arbel wrote: Speaking of sendsms' HTTP interface - I've noticed that sendsms doesn't honor the 'Connection: close' header and always use keep-alive. can that be fixed, please ? I had a look in gwlib/http.c:899 where the following is inside handle_transaction():

RE: mclass and mwi questions

2002-01-15 Thread Bernino Lind
Dear developers, Hope you have enjoyed your day! I changed the smsbox.c once, where I deleted text == NULL, as I have posted in a previous post. I think Bruno bitched at the time, that his code had been broken. The result of this change was not that the mwi just worked, but rather that both

RE: mclass and mwi questions

2002-01-15 Thread Bernino Lind
Added value: Maybe its important to state that *sometimes* the message is empty, *sometimes* the content is: empty reply from service provider Kind regards Bernino Lind -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bernino Lind Sent: 15. januar 2002

RE: mclass and mwi questions

2002-01-15 Thread Bernino Lind
Dear developers, Oh doh, I didnt see the Changelog: 2002-01-15 Stipe Tolj [EMAIL PROTECTED] * gw/smsbox.c: fixed a bug regarding MWI messages reported by Bernino Lind [EMAIL PROTECTED] [Msg-ID: [EMAIL PROTECTED]] caused by the commit to revision 1.162. I guess I once

RE: A question about PDU encoding in smsc_at2

2002-01-15 Thread Oded Arbel
Hi list. sorry about that last post - thinking about it, it doesn't seem to me like the right solution : yea, it works, but it doesn't address the wider issue which Andreas Fink mentioned. So, for your inspection, I submit this larger patch, which I hope solves the particular problem Andreas

Stripping Kannel

2002-01-15 Thread Shridhar Raju
Hi, I made some progress in stripping kannel. I have removed some drivers for smsc protocol, I got bearerbox binary of reduced size (around 170 KB less). The changes made are 1. smsc_p.h Removed entry for CIMD, CIMD2, Sema 4.5 Sema OIS 5.0 2. smsc.c Removed entry for CIMD,