RE: [REPOST] emi2 MO timestamps (was: bug withdate_convert_universal() )

2002-06-05 Thread Oded Arbel

The module can be changed to assume GMT time by default and localtime if compiled with 
--enable-localtime. would that be a good solution ?

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
Nothing helps a bad mood like spreading it around.
-- Calvin and Hobbes


 -Original Message-
 From: Alan McNatty [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 04, 2002 11:31 PM
 To: Kannel Developers
 Subject: Re: [REPOST] emi2 MO timestamps (was: bug 
 withdate_convert_universal() )
 
 
 Hi Angel,
 
 I am not farmiliar with the emi2 code but have noticed that 
 that kannel
 can be configured to run in GMT or localtime. My logs where 
 printing GMT
 which is confusing - someone from the list pointed out that you can
 compile and enable localtime (./configure --enable-localtime ). You
 might like to try this.
 Cheers,
 Alan
 
 ps. I don't see this as a problem with kannel although it 
 makes having a
 binary download less useful. As a result I _have to_ compile 
 from source
 - the debian 1.1.5 package exhibits this problem too - I have notified
 the maintainer. I guess it just ends up being extra work for distro
 maintainers to ensure that kannel packages comply with defacto
 standards, etc.
 
 On Wed, 2002-06-05 at 06:19, Angel Fradejas wrote:
  Andreas Fink wrote:
  this is definitively the case. The EMI timestamps are also is in
  LOCAL TIME, not GMT
  
  The current code asumes GMT timestamps from the SMS-C and 
 this is not the
  case (at least with the providers I connect).
  
  Does anybody need the current behaviour?
  
  Or can we fix it?
  
  
  Angel Fradejas
  Mediafusión España, S.A.
  [EMAIL PROTECTED]
  www.mediafusion.es
  Tel. +34 91 252 32 00
  Fax +34 91 572 27 08
  
  
  
  
 -- 
 Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz
   Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ
 Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267
 
 ... error accessing whit
 Segmentation fault (core dumped) 
 
 




RE: [REPOST] emi2 MO timestamps (was: bug withdate_convert_universal() )

2002-06-05 Thread Angel Fradejas

I use --enable-localtime, but that has nothing to do with emi2 MO
timestamps, has it?

--enable-localtime applies only to log messages, I think.

Angel Fradejas
Mediafusión España, S.A.
[EMAIL PROTECTED]
www.mediafusion.es
Tel. +34 91 252 32 00
Fax +34 91 572 27 08







-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
nombre de Oded Arbel
Enviado el: miércoles 5 de junio de 2002 09:09
Para: Kannel Developers
Asunto: RE: [REPOST] emi2 MO timestamps (was: bug
withdate_convert_universal() )


The module can be changed to assume GMT time by default and localtime if
compiled with --enable-localtime. would that be a good solution ?

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
Nothing helps a bad mood like spreading it around.
-- Calvin and Hobbes


 -Original Message-
 From: Alan McNatty [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 04, 2002 11:31 PM
 To: Kannel Developers
 Subject: Re: [REPOST] emi2 MO timestamps (was: bug
 withdate_convert_universal() )


 Hi Angel,

 I am not farmiliar with the emi2 code but have noticed that
 that kannel
 can be configured to run in GMT or localtime. My logs where
 printing GMT
 which is confusing - someone from the list pointed out that you can
 compile and enable localtime (./configure --enable-localtime ). You
 might like to try this.
 Cheers,
 Alan

 ps. I don't see this as a problem with kannel although it
 makes having a
 binary download less useful. As a result I _have to_ compile
 from source
 - the debian 1.1.5 package exhibits this problem too - I have notified
 the maintainer. I guess it just ends up being extra work for distro
 maintainers to ensure that kannel packages comply with defacto
 standards, etc.

 On Wed, 2002-06-05 at 06:19, Angel Fradejas wrote:
  Andreas Fink wrote:
  this is definitively the case. The EMI timestamps are also is in
  LOCAL TIME, not GMT
 
  The current code asumes GMT timestamps from the SMS-C and
 this is not the
  case (at least with the providers I connect).
 
  Does anybody need the current behaviour?
 
  Or can we fix it?
 
 
  Angel Fradejas
  Mediafusión España, S.A.
  [EMAIL PROTECTED]
  www.mediafusion.es
  Tel. +34 91 252 32 00
  Fax +34 91 572 27 08
 
 
 
 
 --
 Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz
   Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ
 Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267

 ... error accessing whit
 Segmentation fault (core dumped)







RE: [REPOST] emi2 MO timestamps (was: bug withdate_convert_universal() )

2002-06-05 Thread Oded Arbel

Yes, now. I'm suggesting to change that : set it up so that time stamps are treated as 
GMT if enable-localtime isn't set, and  as local timestamps otherwise.

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
And, of course, the word politics is derived from POLY, meaning many, and TICS, 
meaning small, blood sucking insects. 
-- Chris Clayton


 -Original Message-
 From: Angel Fradejas [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 05, 2002 10:27 AM
 To: Oded Arbel; Kannel Developers
 Subject: RE: [REPOST] emi2 MO timestamps (was: bug 
 withdate_convert_universal() )
 
 
 I use --enable-localtime, but that has nothing to do with emi2 MO
 timestamps, has it?
 
 --enable-localtime applies only to log messages, I think.
 
 Angel Fradejas
 Mediafusión España, S.A.
 [EMAIL PROTECTED]
 www.mediafusion.es
 Tel. +34 91 252 32 00
 Fax +34 91 572 27 08
 
 
 
 
 
 
 
 -Mensaje original-
 De: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]En
 nombre de Oded Arbel
 Enviado el: miércoles 5 de junio de 2002 09:09
 Para: Kannel Developers
 Asunto: RE: [REPOST] emi2 MO timestamps (was: bug
 withdate_convert_universal() )
 
 
 The module can be changed to assume GMT time by default and 
 localtime if
 compiled with --enable-localtime. would that be a good solution ?
 
 --
 Oded Arbel
 m-Wise Inc.
 [EMAIL PROTECTED]
 (972)-67-340014
 (972)-9-9581711 (ext: 116)
 
 ::..
 Nothing helps a bad mood like spreading it around.
   -- Calvin and Hobbes
 
 
  -Original Message-
  From: Alan McNatty [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 04, 2002 11:31 PM
  To: Kannel Developers
  Subject: Re: [REPOST] emi2 MO timestamps (was: bug
  withdate_convert_universal() )
 
 
  Hi Angel,
 
  I am not farmiliar with the emi2 code but have noticed that
  that kannel
  can be configured to run in GMT or localtime. My logs where
  printing GMT
  which is confusing - someone from the list pointed out that you can
  compile and enable localtime (./configure --enable-localtime ). You
  might like to try this.
  Cheers,
  Alan
 
  ps. I don't see this as a problem with kannel although it
  makes having a
  binary download less useful. As a result I _have to_ compile
  from source
  - the debian 1.1.5 package exhibits this problem too - I 
 have notified
  the maintainer. I guess it just ends up being extra work for distro
  maintainers to ensure that kannel packages comply with defacto
  standards, etc.
 
  On Wed, 2002-06-05 at 06:19, Angel Fradejas wrote:
   Andreas Fink wrote:
   this is definitively the case. The EMI timestamps are also is in
   LOCAL TIME, not GMT
  
   The current code asumes GMT timestamps from the SMS-C and
  this is not the
   case (at least with the providers I connect).
  
   Does anybody need the current behaviour?
  
   Or can we fix it?
  
  
   Angel Fradejas
   Mediafusión España, S.A.
   [EMAIL PROTECTED]
   www.mediafusion.es
   Tel. +34 91 252 32 00
   Fax +34 91 572 27 08
  
  
  
  
  --
  Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz
Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ
  Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267
 
  ... error accessing whit
  Segmentation fault (core dumped)
 
 
 
 




RE: [REPOST] emi2 MO timestamps (was: bug withdate_convert_universal() )

2002-06-05 Thread Angel Fradejas

Yes, now. I'm suggesting to change that : set it up so that time stamps
are treated as GMT if enable-localtime isn't set, and  as local
timestamps otherwise.

I'm afraid that is not enough. MO timestamps come in localtime from the SMSC
point of view, not the ESME point of view.

So, if you connect to several SMSC (each one in a different country), one
timestamp could be GMT+1 and another GMT+7

So a different timezone correction is needed for each smsc. This leads to a
smsc config directive timezone=GMT+N in my opinion.


Angel Fradejas
Mediafusión España, S.A.
[EMAIL PROTECTED]
www.mediafusion.es
Tel. +34 91 252 32 00
Fax +34 91 572 27 08






RE: [REPOST] emi2 MO timestamps (was: bug withdate_convert_universal() )

2002-06-05 Thread Oded Arbel

That looks like a good idea, and it may be useful for other modules too.

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
If glory comes after death, I'm not in a hurry. (Latin proverb)


 -Original Message-
 From: Angel Fradejas [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 05, 2002 3:31 PM
 To: Oded Arbel; Kannel Developers
 Subject: RE: [REPOST] emi2 MO timestamps (was: bug 
 withdate_convert_universal() )
 
 
 Yes, now. I'm suggesting to change that : set it up so that 
 time stamps
 are treated as GMT if enable-localtime isn't set, and  as local
 timestamps otherwise.
 
 I'm afraid that is not enough. MO timestamps come in 
 localtime from the SMSC
 point of view, not the ESME point of view.
 
 So, if you connect to several SMSC (each one in a different 
 country), one
 timestamp could be GMT+1 and another GMT+7
 
 So a different timezone correction is needed for each smsc. 
 This leads to a
 smsc config directive timezone=GMT+N in my opinion.
 
 
 Angel Fradejas
 Mediafusión España, S.A.
 [EMAIL PROTECTED]
 www.mediafusion.es
 Tel. +34 91 252 32 00
 Fax +34 91 572 27 08
 
 
 




Re: [REPOST] emi2 MO timestamps (was: bug withdate_convert_universal() )

2002-06-04 Thread Alan McNatty

Hi Angel,

I am not farmiliar with the emi2 code but have noticed that that kannel
can be configured to run in GMT or localtime. My logs where printing GMT
which is confusing - someone from the list pointed out that you can
compile and enable localtime (./configure --enable-localtime ). You
might like to try this.
Cheers,
Alan

ps. I don't see this as a problem with kannel although it makes having a
binary download less useful. As a result I _have to_ compile from source
- the debian 1.1.5 package exhibits this problem too - I have notified
the maintainer. I guess it just ends up being extra work for distro
maintainers to ensure that kannel packages comply with defacto
standards, etc.

On Wed, 2002-06-05 at 06:19, Angel Fradejas wrote:
 Andreas Fink wrote:
 this is definitively the case. The EMI timestamps are also is in
 LOCAL TIME, not GMT
 
 The current code asumes GMT timestamps from the SMS-C and this is not the
 case (at least with the providers I connect).
 
 Does anybody need the current behaviour?
 
 Or can we fix it?
 
 
 Angel Fradejas
 Mediafusión España, S.A.
 [EMAIL PROTECTED]
 www.mediafusion.es
 Tel. +34 91 252 32 00
 Fax +34 91 572 27 08
 
 
 
 
-- 
Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz
  Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ
Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267

... error accessing whit
Segmentation fault (core dumped)