Keywords: Mode: All keywords (AND) |
Mon Jul 11, 2011 06:13
|
Martin: Thank You, it is working.
I set "To_TOA: unknown". But why do I must set unknown and not "national"?
But now it does not work to send a sms with 49174. Is it possible to use both for my country?
Thank You for help.
Martin
|
Fri Jul 08, 2011 08:16
|
Martin: What is you linux box?
This is no error in smstools.
If you linux box used udev, search for udev and configure an udev rule for your modem.
Martin
|
Fri Jul 08, 2011 06:50
|
Martin: Operating system name and version: Suse 11.3
Version of smsd: 3.1.5
Smsd installed from: sources
Name and model of a modem / phone: 2x Hardware modem
Interface: serial and usb2serial adapter
Hi,
thank you for the great smstools.
I'm from germany. We only send sms to germany and i try to send the sms in national format.
If I send the message in national format I allways get the following error
ALARM
2011-07-08
08:39:24
3
SMS
The modem answer was not OK: +CMS ERROR: 21 (Short message transfer rejected)
For example the phone number is 0174 ??????
If I send with 49174 ?????? it works.
I try to set
national_prefixes = 0
in /etc/smsd.conf without success
I also try to set To_TOA in my email2sms script
OUTFILE=$(mktemp /var/spool/sms/outgoing/smsgw.out.XXXXXX)
echo "Queue:sms1" > $OUTFILE
echo "To_TOA:national" >> $OUTFILE
echo -ne "To:" >> $OUTFILE
cat >> $OUTFILE
It does not work too.
What is wrong? Do I make a mistake?
Thank You for help.
Greatings Martin
|