Hello, all

When running either 1.2.1 or 1.3.1 on RedHat 9 I am
unable to send messages that are longer than 19
characters.  The smsbox reports that the msg was sent,
BUT:
* the bearerbox returns with a message status -1,
which is reported to indicate a timeout (see
gw/smsc/smsc_at2.h)
* the "send command status: -1" happens immediately,
there is no noticable time lapse, so I don't think
anything actually times out.  Or is this timeout
period configured to a very short time, which may be
the cause of the problem ?

Also:
* It happens with both the HTTP interface and with any
sms-service that sends a reply longer than 19 chars
* The same behaviour seems to have been reported by
Jacob Vennervald <mailto:[EMAIL PROTECTED]> on
04 Sep 2003 09:13:04 +0200 
* The problem does not occur wen I run the latest CVS
snapshot (cvs-20031209) but the snapshot introduces
another problem (posted in a separate message)

I use a Falcom A2D GSM modem, but in my .conf file I
specify modemtype = generic (see .conf entries below).
 Setting modemtype = falcom does not work, but that's
not my main concern right now.

Has anyone else experienced this, or found a solution
to it ?

Thanks in advance.

Lourens...

=======
my.conf (only relevant lines shown):
=======
group = smsc
smsc = at2
smsc-id = USB0
modemtype = generic
device = /dev/ttyUSB0
speed = 9600
validityperiod = 167
keepalive = 60

include = /etc/kannel/modems.conf

group = sms-service
keyword = default
text = "This message contains more than 20 characters"

max-messages = 1

==========
smsbox.log:
==========
2003-12-10 06:42:41 [3] INFO: smsbox: Got HTTP request
</sendsms> from <127.0.0.1>
2003-12-10 06:42:41 [3] INFO: sendsms used by
<sms_user>
2003-12-10 06:42:41 [3] INFO: sendsms
sender:<sms_user:1234567890> (127.0.0.1)
to:<0828796689> msg:<This message contains more than
20 characters>
2003-12-10 06:42:41 [3] DEBUG: message length 45,
sending 1 messages
2003-12-10 06:42:41 [3] DEBUG: Status: 202 Answer:
<Sent.>

=============
bearerbox.log:
=============
2003-12-10 06:42:41 [9] DEBUG: boxc_receiver: sms
received
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]:
TP-Validity-Period: 24.0 hours
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: -->
AT+CMGS=54^M
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- >
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: send command
status: 1
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: -->
0011000B917228786986F90000A72D54747A0E6A97E7F3F0B90C1ABFDDF470DA3D07B5DFF232888E0EBB413218688C0ECBC3637A593E07
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: --> ^Z
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- >
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- ERROR
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: send command
status: -1
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: -->
AT+CMGS=54^M
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- >
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: send command
status: 1
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: -->
0011000B917228786986F90000A72D54747A0E6A97E7F3F0B90C1ABFDDF470DA3D07B5DFF232888E0EBB413218688C0ECBC3637A593E07
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: --> ^Z
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- >
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- ERROR
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: send command
status: -1
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: -->
AT+CMGS=54^M
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- >
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: send command
status: 1
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: -->
0011000B917228786986F90000A72D54747A0E6A97E7F3F0B90C1ABFDDF470DA3D07B5DFF232888E0EBB413218688C0ECBC3637A593E07
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: --> ^Z
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- >
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: <-- ERROR
2003-12-10 06:42:43 [7] DEBUG: AT2[USB0]: send command
status: -1
2003-12-10 06:42:43 [1] DEBUG: Dumping 0 messages and
0 acks to store




__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

Reply via email to