Keywords: Mode: All keywords (AND) |
Tue May 26, 2009 13:09
|
a010203: Sorry ...
The message is: "Getting log message - "Modem is not clear to send"
|
Tue May 26, 2009 13:03
|
a010203: Hi,
Getting log message - "Model is not clear to send"
What can this be?
Thanks
|
Mon May 25, 2009 10:47
|
a010203: Hi,
Thanks...
It worked ..
|
Mon May 25, 2009 09:49
|
a010203: Hi,
In reference to the issue from may 19, I am trying to put event_handler below. I get the following error code in the LOG: "event handler .... is not executable for smsd"
Thanks..
-------- issue from may 19 --------
Ok, you are receiving Unicode message and you need to change it to UTF-8, not ISO.
Set up an eventhandler, smsd.conf:
eventhandler = /usr/local/bin/smsd_eventhandler
and the file:
#!/bin/bash
if [ "$1" = "RECEIVED" ]; then
alphabet=`formail -zx Alphabet: < $2`
if [ "x$alphabet" = "xUCS2" ]; then
TMPFILE=`mktemp /tmp/smsd_XXXXXX`
sed -e '/^$/ q' < $2 | formail -f -I "Alphabet: UTF-8" > $TMPFILE
sed -e '1,/^$/ d' < $2 | iconv -f UNICODEBIG -t UTF-8 >> $TMPFILE
mv $TMPFILE $2
fi
fi
|
Wed May 20, 2009 16:37
|
a010203: Hi,
Thank You for the fix.
I used another method to solve (via conversion program).
Thanks again...
|
Tue May 19, 2009 11:37
|
a010203: Hi,
The header:
Alphabet: UCS2
The PDU string is
AT+CMGF=0
If this is not the PDU string, please let me know how to extract.
Thanks.
|
Tue May 19, 2009 11:05
|
a010203: Hi,
The following is my locale
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MESUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
How I can define that the header and SMS itself will be also in ISO.
Can you please tell me the exact command to that should modify this (in locale or maybee elsewhere)
Thanks.
|
Tue May 19, 2009 10:17
|
a010203: Hi,
I am using smstools3-3.1.3
The sms that is sent contain only digits. However, the SMS file that is created in the INCOMING folder is format is utf-8.
The question is if we can inforce the creation of a text file in the INCOMING folder.
What do you mean by local?
Also, which is the parameter in the smsd.conf that might help?
Thanks
|
Tue May 19, 2009 09:19
|
a010203: When receiving an SMS that used hebrew characters the file that is created in the INCOMING folder are UTF-8 format. This file is not readable and cannot be processed
My questions:
1. Can the file format be defined in a parameter within 'sms server tools'
2. under Linux, how this file can be converted to ascii to ISO files, so it can readable by gedit editor.
Thanks..
|