Re: intermittent problem retrieving sms

2005-10-31 Thread Gareth Reakes

Hi Wilfried,

	 http://tar.gzipped.org/gateway.tar.bz2 does not seem to work for me. 
Has it moved?


	Do you have a set of diffs against 1.4? If not, when I have found out 
what they are I could post them back.



Cheers,

Gareth

--
Gareth Reakes, Managing Director   Embrace Mobile
+44-1865-811197  http://www.embracemobile.com



RE: intermittent problem retrieving sms

2005-10-18 Thread Rene Kluwen
I do remember having a MC35 work with Kannel. So it should be possible.
Unfortunately, I don't have that model of phone anymore to test with.

Rene Kluwen
Chimit

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Wilfried Goesgens
Sent: maandag 17 oktober 2005 14:16
To: users@kannel.org
Subject: Re: intermittent problem retrieving sms


On Sun, Oct 16, 2005 at 01:08:33AM +0200, Rene Kluwen wrote:
 I dont have an answer to the original problem.
 But does this means that the MC35 breaks ETSI specs?
 The incoming indication is clearly MT, 15. Which means that the message
 can be found in MT memory at slot 15.
 As opposed to all the memories that the phone possibly can have.

most modems / phones i've met don't have a proper implementation of
the flat memory model (mt) which just puts sm and me after each other.
some pretent to, many don't even try. allso the mc35 has some very
weirdo behaviour if it gets cr/lf's / ^Z's in the wrong sort of order to
the
rest of the arguments.




 Rene Kluwen
 Chimit

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Wilfried Goesgens
 Sent: donderdag 13 oktober 2005 19:37
 To: users@kannel.org
 Subject: Re: intermittent problem retrieving sms


 On Thu, Oct 13, 2005 at 06:15:29PM +0100, Gareth Reakes wrote:
  Hi all,
 
   I have an Seimens MC35 hooked up to a 1.4 kannel installation on
 redhat. About 1 in 10 times an sms is received it
  does not come  through. The following error in the logs occurs:
 your mc35 is a verry modern piece of tec. it offers you
 not just the sim-memory, but allso its own.
 (SM, ME) so if a message is received, the first available slot
 is used. if you use the ME memory, your sim-memory doesn't get polled.
 i've added the functionality to block messages in thte new at driver,
 called hogs.

 you can find my version at http://tar.gzipped.org/gateway.tar.bz2

 
 
  2005-10-13 13:17:03 [29359] [29] DEBUG: Octet string dump ends.
  2005-10-13 13:17:24 [29359] [25] DEBUG: boxc_receiver: heartbeat with
 load value 0 received
  2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: -- +CMTI: MT,15
  2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: +CMTI incoming  SMS
 indication: +CMTI: MT,15
  2005-10-13 13:17:31 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=MT^M
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CPMS:
 16,40,16,40,16,40
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- OK
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- AT+CMGR=15^M
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CMGR: 0,,20
  2005-10-13 13:17:35 [29359] [6] ERROR: AT2[orange]: got +CMT but
waiting
 for next line timed out
  2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: failed to get
message
 15.
  2005-10-13 13:17:37 [29359] [6] ERROR: AT2[orange]: CMTI notification
 received, but no message found in memory!
  2005-10-13 13:17:37 [29359] [6] ERROR: System error 1: Operation not
 permitted
  2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=SM^M
  2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: --
 0791449785788987040C91449726240030500131312175000141
  2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: -- ERROR
  2005-10-13 13:17:53 [29359] [6] ERROR: AT2[orange]: Error occurs:  ERROR
 (error number not known to us. ask google and add
  it.)
 
  Can someone explain to me what is going on? Would trying out the new  AT
 driver sort me out?
 
  Cheers all,
 
  Gareth
 
  --
  Gareth Reakes, Managing Director   Embrace Mobile
  +44-1865-811197  http://www.embracemobile.com
 
 
 










Re: intermittent problem retrieving sms

2005-10-17 Thread Wilfried Goesgens
On Fri, Oct 14, 2005 at 05:18:17PM +0100, Gareth Reakes wrote:
 Hi Wilfried,
 
 Wilfried Goesgens wrote:
 On Thu, Oct 13, 2005 at 06:15:29PM +0100, Gareth Reakes wrote:
 Hi all,
 I have an Seimens MC35 hooked up to a 1.4 kannel installation on  
  redhat. About 1 in 10 times an sms is received it does 
 not come  through. The following error in the logs occurs:
 your mc35 is a verry modern piece of tec. it offers you
 not just the sim-memory, but allso its own.
 (SM, ME) so if a message is received, the first available slot is used. if 
 you use the ME memory, your sim-memory doesn't get 
 polled.
 i've added the functionality to block messages in thte new at driver, called 
 hogs.
 you can find my version at http://tar.gzipped.org/gateway.tar.bz2
 
 
 Thanks for that. What files have changed? I have some custom changes myself 
 and so cant use your gateway as is.


i've added a gw/smsc/at directory, the gwthread.* knows thread_chancel, 
and some aditions to the core to display more verbose messages in the status 
box.
allso some configs in gwlib/cfg.def. The bbstore.c uses alex' store-dir with 
the adition that it panics if it can't open the dir.

Rene, maybe the message is in slot 15 on just the other storage.
for that reason i fill up the simcard with trash.

 
 Cheers,
 
 Gareth
 
 
 -- 
 Gareth Reakes, Managing Director   Embrace Mobile
 +44-1865-811197  http://www.embracemobile.com
 



Re: intermittent problem retrieving sms

2005-10-17 Thread Wilfried Goesgens
On Sun, Oct 16, 2005 at 01:08:33AM +0200, Rene Kluwen wrote:
 I dont have an answer to the original problem.
 But does this means that the MC35 breaks ETSI specs?
 The incoming indication is clearly MT, 15. Which means that the message
 can be found in MT memory at slot 15.
 As opposed to all the memories that the phone possibly can have.

most modems / phones i've met don't have a proper implementation of 
the flat memory model (mt) which just puts sm and me after each other.
some pretent to, many don't even try. allso the mc35 has some very 
weirdo behaviour if it gets cr/lf's / ^Z's in the wrong sort of order to the
rest of the arguments.



 
 Rene Kluwen
 Chimit
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Wilfried Goesgens
 Sent: donderdag 13 oktober 2005 19:37
 To: users@kannel.org
 Subject: Re: intermittent problem retrieving sms
 
 
 On Thu, Oct 13, 2005 at 06:15:29PM +0100, Gareth Reakes wrote:
  Hi all,
 
   I have an Seimens MC35 hooked up to a 1.4 kannel installation on
 redhat. About 1 in 10 times an sms is received it
  does not come  through. The following error in the logs occurs:
 your mc35 is a verry modern piece of tec. it offers you
 not just the sim-memory, but allso its own.
 (SM, ME) so if a message is received, the first available slot
 is used. if you use the ME memory, your sim-memory doesn't get polled.
 i've added the functionality to block messages in thte new at driver,
 called hogs.
 
 you can find my version at http://tar.gzipped.org/gateway.tar.bz2
 
 
 
  2005-10-13 13:17:03 [29359] [29] DEBUG: Octet string dump ends.
  2005-10-13 13:17:24 [29359] [25] DEBUG: boxc_receiver: heartbeat with
 load value 0 received
  2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: -- +CMTI: MT,15
  2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: +CMTI incoming  SMS
 indication: +CMTI: MT,15
  2005-10-13 13:17:31 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=MT^M
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CPMS:
 16,40,16,40,16,40
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- OK
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- AT+CMGR=15^M
  2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CMGR: 0,,20
  2005-10-13 13:17:35 [29359] [6] ERROR: AT2[orange]: got +CMT but  waiting
 for next line timed out
  2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: failed to get  message
 15.
  2005-10-13 13:17:37 [29359] [6] ERROR: AT2[orange]: CMTI notification
 received, but no message found in memory!
  2005-10-13 13:17:37 [29359] [6] ERROR: System error 1: Operation not
 permitted
  2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=SM^M
  2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: --
 0791449785788987040C91449726240030500131312175000141
  2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: -- ERROR
  2005-10-13 13:17:53 [29359] [6] ERROR: AT2[orange]: Error occurs:  ERROR
 (error number not known to us. ask google and add
  it.)
 
  Can someone explain to me what is going on? Would trying out the new  AT
 driver sort me out?
 
  Cheers all,
 
  Gareth
 
  --
  Gareth Reakes, Managing Director   Embrace Mobile
  +44-1865-811197  http://www.embracemobile.com
 
 
 
 
 
 
 



Re: intermittent problem retrieving sms

2005-10-15 Thread Rene Kluwen
I dont have an answer to the original problem.
But does this means that the MC35 breaks ETSI specs?
The incoming indication is clearly MT, 15. Which means that the message
can be found in MT memory at slot 15.
As opposed to all the memories that the phone possibly can have.

Rene Kluwen
Chimit

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Wilfried Goesgens
Sent: donderdag 13 oktober 2005 19:37
To: users@kannel.org
Subject: Re: intermittent problem retrieving sms


On Thu, Oct 13, 2005 at 06:15:29PM +0100, Gareth Reakes wrote:
 Hi all,

  I have an Seimens MC35 hooked up to a 1.4 kannel installation on
redhat. About 1 in 10 times an sms is received it
 does not come  through. The following error in the logs occurs:
your mc35 is a verry modern piece of tec. it offers you
not just the sim-memory, but allso its own.
(SM, ME) so if a message is received, the first available slot
is used. if you use the ME memory, your sim-memory doesn't get polled.
i've added the functionality to block messages in thte new at driver,
called hogs.

you can find my version at http://tar.gzipped.org/gateway.tar.bz2



 2005-10-13 13:17:03 [29359] [29] DEBUG: Octet string dump ends.
 2005-10-13 13:17:24 [29359] [25] DEBUG: boxc_receiver: heartbeat with
load value 0 received
 2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: -- +CMTI: MT,15
 2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: +CMTI incoming  SMS
indication: +CMTI: MT,15
 2005-10-13 13:17:31 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=MT^M
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CPMS:
16,40,16,40,16,40
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- OK
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- AT+CMGR=15^M
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CMGR: 0,,20
 2005-10-13 13:17:35 [29359] [6] ERROR: AT2[orange]: got +CMT but  waiting
for next line timed out
 2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: failed to get  message
15.
 2005-10-13 13:17:37 [29359] [6] ERROR: AT2[orange]: CMTI notification
received, but no message found in memory!
 2005-10-13 13:17:37 [29359] [6] ERROR: System error 1: Operation not
permitted
 2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=SM^M
 2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: --
0791449785788987040C91449726240030500131312175000141
 2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: -- ERROR
 2005-10-13 13:17:53 [29359] [6] ERROR: AT2[orange]: Error occurs:  ERROR
(error number not known to us. ask google and add
 it.)

 Can someone explain to me what is going on? Would trying out the new  AT
driver sort me out?

 Cheers all,

 Gareth

 --
 Gareth Reakes, Managing Director   Embrace Mobile
 +44-1865-811197  http://www.embracemobile.com









Re: intermittent problem retrieving sms

2005-10-14 Thread Gareth Reakes

Hi Wilfried,

Wilfried Goesgens wrote:

On Thu, Oct 13, 2005 at 06:15:29PM +0100, Gareth Reakes wrote:


Hi all,

I have an Seimens MC35 hooked up to a 1.4 kannel installation on  redhat. About 1 in 10 times an sms is received it 
does not come  through. The following error in the logs occurs:


your mc35 is a verry modern piece of tec. it offers you
not just the sim-memory, but allso its own.
(SM, ME) so if a message is received, the first available slot 
is used. if you use the ME memory, your sim-memory doesn't get polled.
i've added the functionality to block messages in thte new at driver, 
called hogs.


you can find my version at http://tar.gzipped.org/gateway.tar.bz2



Thanks for that. What files have changed? I have some custom changes 
myself and so cant use your gateway as is.


Cheers,

Gareth


--
Gareth Reakes, Managing Director   Embrace Mobile
+44-1865-811197  http://www.embracemobile.com



intermittent problem retrieving sms

2005-10-13 Thread Gareth Reakes

Hi all,

I have an Seimens MC35 hooked up to a 1.4 kannel installation on  
redhat. About 1 in 10 times an sms is received it does not come  
through. The following error in the logs occurs:



2005-10-13 13:17:03 [29359] [29] DEBUG: Octet string dump ends.
2005-10-13 13:17:24 [29359] [25] DEBUG: boxc_receiver: heartbeat with  
load value 0 received

2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: -- +CMTI: MT,15
2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: +CMTI incoming  
SMS indication: +CMTI: MT,15

2005-10-13 13:17:31 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=MT^M
2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CPMS:  
16,40,16,40,16,40

2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- OK
2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- AT+CMGR=15^M
2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CMGR: 0,,20
2005-10-13 13:17:35 [29359] [6] ERROR: AT2[orange]: got +CMT but  
waiting for next line timed out
2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: failed to get  
message 15.
2005-10-13 13:17:37 [29359] [6] ERROR: AT2[orange]: CMTI notification  
received, but no message found in memory!
2005-10-13 13:17:37 [29359] [6] ERROR: System error 1: Operation not  
permitted

2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=SM^M
2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: --  
0791449785788987040C91449726240030500131312175000141

2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: -- ERROR
2005-10-13 13:17:53 [29359] [6] ERROR: AT2[orange]: Error occurs:  
ERROR (error number not known to us. ask google and add it.)


Can someone explain to me what is going on? Would trying out the new  
AT driver sort me out?


Cheers all,

Gareth

--
Gareth Reakes, Managing Director   Embrace Mobile
+44-1865-811197  http://www.embracemobile.com





Re: intermittent problem retrieving sms

2005-10-13 Thread Wilfried Goesgens
On Thu, Oct 13, 2005 at 06:15:29PM +0100, Gareth Reakes wrote:
 Hi all,
 
  I have an Seimens MC35 hooked up to a 1.4 kannel installation on  
 redhat. About 1 in 10 times an sms is received it 
 does not come  through. The following error in the logs occurs:
your mc35 is a verry modern piece of tec. it offers you
not just the sim-memory, but allso its own.
(SM, ME) so if a message is received, the first available slot 
is used. if you use the ME memory, your sim-memory doesn't get polled.
i've added the functionality to block messages in thte new at driver, 
called hogs.

you can find my version at http://tar.gzipped.org/gateway.tar.bz2

 
 
 2005-10-13 13:17:03 [29359] [29] DEBUG: Octet string dump ends.
 2005-10-13 13:17:24 [29359] [25] DEBUG: boxc_receiver: heartbeat with  load 
 value 0 received
 2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: -- +CMTI: MT,15
 2005-10-13 13:17:29 [29359] [6] DEBUG: AT2[orange]: +CMTI incoming  SMS 
 indication: +CMTI: MT,15
 2005-10-13 13:17:31 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=MT^M
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CPMS:  
 16,40,16,40,16,40
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- OK
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- AT+CMGR=15^M
 2005-10-13 13:17:33 [29359] [6] DEBUG: AT2[orange]: -- +CMGR: 0,,20
 2005-10-13 13:17:35 [29359] [6] ERROR: AT2[orange]: got +CMT but  waiting for 
 next line timed out
 2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: failed to get  message 15.
 2005-10-13 13:17:37 [29359] [6] ERROR: AT2[orange]: CMTI notification  
 received, but no message found in memory!
 2005-10-13 13:17:37 [29359] [6] ERROR: System error 1: Operation not  
 permitted
 2005-10-13 13:17:37 [29359] [6] DEBUG: AT2[orange]: -- AT+CPMS=SM^M
 2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: --  
 0791449785788987040C91449726240030500131312175000141
 2005-10-13 13:17:53 [29359] [6] DEBUG: AT2[orange]: -- ERROR
 2005-10-13 13:17:53 [29359] [6] ERROR: AT2[orange]: Error occurs:  ERROR 
 (error number not known to us. ask google and add 
 it.)
 
 Can someone explain to me what is going on? Would trying out the new  AT 
 driver sort me out?
 
 Cheers all,
 
 Gareth
 
 -- 
 Gareth Reakes, Managing Director   Embrace Mobile
 +44-1865-811197  http://www.embracemobile.com