problem with siemens TC35 - ERROR / send command status: -1 (FAILED Send SMS)

2008-06-17 Thread Oskar Liljeblad
Hi there!

We have an old Siemens TC35 that we use to send SMS's with. Recently it has
started to act up - it fails to send some messages. From the bearerbox access
log:

08:49:05 FAILED Send SMS [SMSC:AT2[/dev/ttyS0]] [SVC:sms] [ACT:] [BINF:]
[from:+46070[...]] [to:+4670[...]] [flags:-1:0:-1:-1:-1]
[msg:177:[.]]

And from the bearerbox regular log:

08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- +CMGS: 158
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- OK
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 0
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- AT+CMGS=41^M
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: --
0051000B91640711F8A71F0500038A0202DAE5779D0E0A9BE96539280603CDCBE3B79B3C5728
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ^Z
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ERROR
08:49:04 [4423] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- AT+CMGS=41^M
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: --
0051000B91640711F8A71F0500038A0202DAE5779D0E0A9BE96539280603CDCBE3B79B3C5728
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ^Z
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ERROR
08:49:04 [4423] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- AT+CMGS=41^M
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
08:49:04 [4423] [6] DEBUG: AT2[/dev/ttyS0]: --
0051000B91640711F8A71F0500038A0202DAE5779D0E0A9BE96539280603CDCBE3B79B3C5728
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ^Z
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ERROR
08:49:05 [4423] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
08:49:05 [4423] [6] DEBUG: Set split msg status to 3
08:49:05 [4423] [6] DEBUG: Parts of concatenated message failed.
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- AT+CMGS=154^M
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- 
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: --
0051000B91640711F8A7A0050003890201A8797859070A0E97CEE79559241E8BCDA293AA504CCB727B7A5CD681
6434FC2D424CCFD791A202F99ED375A0A0BDEC9EA7C39125BB3EA797E5EE3739A6484275A018CC1593C55C3158CC258329A6F430BDAC030DA5496A7218642AA8E97659078ADD5A305B4B0683E1403
09C8E86D3C9720A45D26D7EEB148AA134494D0E834C500B347D8FD7
08:49:05 [4423] [6] DEBUG: AT2[/dev/ttyS0]: -- ^Z

Here's the relevant configuration:

  include = /usr/share/doc/kannel/examples/modems.conf
  group = smsc
  smsc = at
  modemtype = siemens_tc35
  device = /dev/ttyS0

Now since Kannel detects this, is it possible to configure it to retry
sending the messages? Any idea why it fails?

Regards,

Oskar



View sender number when sending business card

2008-06-17 Thread Christopher Dacuya
Hi,

I am new to kannel. I've configured kannel to run as SMS Gateway.
I want to know if we can view / retreive the senders mobile number when we
received a business card?
Thanks in advance!


SMS concatenation problem

2008-06-17 Thread Ahsan Muneer
Hi,

I need help on kannel.

I have been trying to configure kannel to recieve long sms (  160
characters), but still no success, can anyone let me know how to do this.

Thank you in advance


Messages not handled

2008-06-17 Thread LoLoVioLo

Hi all,

Following advices on this mailing list - I am now using kannel with a  
Siemens S45 as SMSC.


however I still have a problem. almost all received message are not  
handled by kannel.


I use kannel mainly to send SMS and not really as a SMS services  
system. Anyway I'd like to be able to use services now.

The fact is that I send thousands of SMS a day and receive hundreds.

The problem is that almost all received messages are stored into  
mobile phone and not routed to kannel.


The config is the following :

group = modems
id = siemens_sl45
name = Siemens SL45
detect-string = SIEMENS
detect-string2 = SL45
init-string = AT+CNMI=1,2,2,2,1
keepalive-cmd = AT+CBC;+CSQ
speed = 19200
enable-hwhs = AT\\Q3
need-sleep = true

Appears that this config is ok as when I launch kannel everything is  
ok and received messages are correctly routed to kannel.


The problem comes when launched on production. When the flow of  
messages to send arrives - messages are no more handled correctly and  
stored in Phone SIM.


For exemple : during a day session 1 SMS sent  and only 15  
received in kannel (200 SMS in phone)


I had a look in logs but I saw no errors - It seems like AT+CNMI is  
back to 0 and no more route messages to kannel.


I saw some AT + CNMA sometimes that I suppose is the reason but what  
can I do ?


Thanks for your help.

Regards,

LoLoVioLo





RE: Messages not handled

2008-06-17 Thread info.ubichip
Hello,

Are you using DLR ? Are you using sim buffering ?

There is two others things to consider : 
1/ the capacity of a modem to send thousand of sms = if it send, it got
less time to receive
2/ capacity of the network to make retry to your phone = some network does
not make several retry when then send feedback to reduce the noise and
lower their smsc licence.

So one of the solution is to have more modems, it will load balance the
eak and you will have a better quality of service.

Regards
 

-Original Message-
From: LoLoVioLo [mailto:[EMAIL PROTECTED] 
Sent: mardi 17 juin 2008 04:42
To: users@kannel.org
Subject: Messages not handled

Hi all,

Following advices on this mailing list - I am now using kannel with a
Siemens S45 as SMSC.

however I still have a problem. almost all received message are not handled
by kannel.

I use kannel mainly to send SMS and not really as a SMS services system.
Anyway I'd like to be able to use services now.
The fact is that I send thousands of SMS a day and receive hundreds.

The problem is that almost all received messages are stored into mobile
phone and not routed to kannel.

The config is the following :

group = modems
id = siemens_sl45
name = Siemens SL45
detect-string = SIEMENS
detect-string2 = SL45
init-string = AT+CNMI=1,2,2,2,1
keepalive-cmd = AT+CBC;+CSQ
speed = 19200
enable-hwhs = AT\\Q3
need-sleep = true

Appears that this config is ok as when I launch kannel everything is ok and
received messages are correctly routed to kannel.

The problem comes when launched on production. When the flow of messages
to send arrives - messages are no more handled correctly and stored in Phone
SIM.

For exemple : during a day session 1 SMS sent  and only 15 received in
kannel (200 SMS in phone)

I had a look in logs but I saw no errors - It seems like AT+CNMI is back to
0 and no more route messages to kannel.

I saw some AT + CNMA sometimes that I suppose is the reason but what can I
do ?

Thanks for your help.

Regards,

LoLoVioLo