Hello All,
I have a problem with kannel 1.2.1/1.3.1 & Nokia 32 terminal.
First SMS sends normally, but the program receive a wrong answer from
the terminal, and will not send any nexted SMS. In the log I see the
following:

DEBUG: AT: Command: AT+CMGS=22
DEBUG: Read from modem: '>'
DEBUG: AT: Command: 11000B819830047160F00000A70950F9DB5E96AFC332
DEBUG: Read from modem: ''
DEBUG: send command status: -1
(for modemtype=premicell)

OR

DEBUG: AT2[/dev/cuaa1]: --> AT+CMGS=22^M
DEBUG: AT2[/dev/cuaa1]: <-- AT+CMGS=22>
DEBUG: AT2[/dev/cuaa1]: send command status: 1
DEBUG: AT2[/dev/cuaa1]: --> 0011000B819830047160F00000A70950F9DB5E96AFC338
DEBUG: AT2[/dev/cuaa1]: --> ^Z
DEBUG: AT2[/dev/cuaa1]: send command status: -1
DEBUG: AT2[/dev/cuaa1]: --> AT+CMGS=22^M
DEBUG: AT2[/dev/cuaa1]: write failed with errno 5
(for smsc=at2)

Anybody know how this error can be fixed?

And one thing: manually from any terminal I can send some SMS and receive
answer from Nokia without any problem.

  
Here is a fragment from my config:
--------------------------------
group = core
admin-port = 13000
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"

group = smsc
port = 10000
connect-allow-ip = 127.0.0.1
smsc = at
modemtype = nokiaphone
device = /dev/cuaa1
speed = 115200
keepalive = 5
sim-buffering = true


I try also the following:
------------------------
smsc = at2
modemtype = nokia_32

group = modems
id = nokia_32 
name = "Nokia 32"
detect-string = autodetect
init-string = "AT&F+cscs="hex";+cmgf=0;+cpms="SM","SM","MT";+CNMI=0,0,0,0,0"
keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0"
speed = 115200
enable-hwhs = "AT+IFC=2,2"
need-sleep = false



-- 
Best regards,
 Dmitry                          mailto:[EMAIL PROTECTED]


Reply via email to