SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun Mar 07, 2021 18:45
SMSTools3 Community » Help and support Bottom

Error: Cannot decode PDU

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Sep 2010
Location: Buenos Aires, Argentina
Operating system name and version: Debian 6.0 64 bits
Version of smsd: 3.1.11-1
Smsd installed from: package repository
Name and model of a modem: IISA (argentinian modem) / 9600 baudios
Interface: serial /dev/ttyS0

Dear, I've installed smstools in my Debian Squeeze box with an attached serial GSM modem.

From my cell phone, I send SMS's to the modem and they arrive successfully.

The problem is when I send SMS's, I do it through the sendsms script, but I always fail. If I send SMS's via minicom wuth AT commands, they are sent OK.

After sending a SMS, I get an incoming error SMS in /var/spool/sms/incoming saying:



My /etc/smsd.conf is:

devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
autosplit = 3
loglevel = 7

[GSM1]
device = /dev/ttyS0
incoming = yes
baudrate = 9600
 
'smsdconf' Syntax Highlight powered by GeSHi


What can I do ???

THANKS IN ADVANCE !!!

Alejandro

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
The PDU is incorrect. The standards says that the bit 7 should always be set to 1, but in this case it's not set. Smsd uses this for checking the PDU, and in this case it seems that the PDU is broken. I have to think if I change this in the code, but in any case the change should be recompiled.

The message you got is:

Personal le comunica que el destino al cual se envia el mensaje no se encuentra disponible.


Perhaps it tells why the sending failed.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.