petun: Here is.. All works fine with your code ))
I will wait for new version...
OK
AT+CGMI
Cinterion
OK
AT+CGMM
MC75i
OK
AT+CGMR
REVISION 01.100
OK
AT+CPBS="MC"
OK
AT+CPBR=1,10
+CPBR: 1,"+79202957111",145,""
+CPBR: 2,"+78317799111",145,""
+CPBR: 3,"+79107951111",145,""
+CPBR: 4,"+79506286111",145,""
OK
AT^SPBD=?
^SPBD: ("LD","MC","RC")
OK
AT^SPBD="MC"
OK
AT+CPBR=1,10
OK
|
petun: Host: Linux host 2.6.31-14-generic-pae #48-Ubuntu Server 9.10 i686 GNU/Linux
Version: 3.1.3
Smsd installed from: package repository
model: iRZ ES75iT
Interface: serial
I want to handle incoming calls. My config file.
#
# /etc/smsd.conf
#
# Description: Main configuration file for the smsd
# Last changed: Fri Jan 29 13:25:07 MSK 2010
#
checkhandler=/usr/local/bin/utf82ucs
eventhandler=/usr/local/bin/eventhandler-utf-8
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 6
receive_before_send = no
autosplit = 3
[GSM1]
#init =
device = /dev/ttyS0
#incoming = yes
pin = 1111
baudrate = 115200
phonecalls = yes
Then I make a call on my modem, in my log file I see this:
2010-02-04 14:42:56,6, GSM1: Reading phonecall entries
2010-02-04 14:42:56,7, GSM1: -> AT+CPBS="MC"
2010-02-04 14:42:57,7, GSM1: Command is sent, waiting for the answer
2010-02-04 14:42:57,7, GSM1: <- OK
2010-02-04 14:42:57,7, GSM1: -> AT+CPBR=1,10
2010-02-04 14:42:57,7, GSM1: Command is sent, waiting for the answer
2010-02-04 14:42:57,7, GSM1: <- +CPBR: 1,"+78317711111",145,"" +CPBR: 2,"+79107111111",145,"" +CPBR: 3,"+79501111111",145,"" OK
2010-02-04 14:42:57,6, GSM1: Got phonecall entry from 78317711111
2010-02-04 14:42:57,6, GSM1: Got phonecall entry from 79107111111
2010-02-04 14:42:57,6, GSM1: Got phonecall entry from 79501111111
2010-02-04 14:42:57,6, GSM1: Removing processed phonecall entries
2010-02-04 14:42:57,7, GSM1: -> AT+CPBW=3
2010-02-04 14:42:57,7, GSM1: Command is sent, waiting for the answer
2010-02-04 14:42:57,7, GSM1: <- +CME ERROR: 3
2010-02-04 14:42:57,7, GSM1: Explanation: operation not allowed
2010-02-04 14:42:57,7, GSM1: -> AT+CPBW=2
2010-02-04 14:42:57,7, GSM1: Command is sent, waiting for the answer
2010-02-04 14:42:58,7, GSM1: <- +CME ERROR: 3
2010-02-04 14:42:58,7, GSM1: Explanation: operation not allowed
After that, my directory is filled with three identical files.
One for 78317711111
2 for 79107111111
3 for 79501111111
Because sms tools cannot delete this calls from SIM.
Why??? Please help me ))
|