Hello
I have Ericsson T65.
I was using Kannel on RS232 and everything was OK.
But now I want to connect phone to Kannel by USB.

When I trying to send SMS longer then 17 chars SMSBOX gives CMS ERROR:
[5] ERROR: AT2[/dev/ttyUSB0]: CMS ERROR: +CMS ERROR: 304
whitch means "Invalid PDU mode parameter".
When SMS is shorter then 17 chars everyting is OK.

How can I fix this problem?
Thanks.
Michael.


PS: This is my configuration file:

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# It is run like this:
#
#  1% gw/bearerbox gw/smskannel.conf
#  2% gw/smsbox gw/smskannel.conf
#  3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to [EMAIL PROTECTED]
#
#   Kalle Marjola May 2000
#   Changed for new fakesmsc version by Uoti Urpala Jan 2001
#   Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001
#

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
box-allow-ip = "*.*.*.*"
unified-prefix = "00358,0"


# SMSC CONNECTIONS

group = smsc
smsc = at2
modemtype = ericsson
device = /dev/ttyUSB0
speed = 9600
pin = 1234
sim-buffering = true


# MODEMS
group = modems
id = ericsson
init-string = AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
enable-hwhs = AT+CNMI=3,3,0,0,0
broken = true


# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 48123456789

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# this sender is for Kannel relay testing (http_smsc)

#group = sendsms-user
#username = kannel
#password = rL4y
#user-deny-ip = "*.*.*.*"
#user-allow-ip = "127.0.0.1"


# SERVICES

group = sms-service
keyword = default
get-url = "" class="moz-txt-link-freetext" href="http://localhost:8080/smswebservice/services/SMSWebService?method=notifySMS&message=%a&destinationNumber=%P&senderNumber=%p">http://localhost:8080/smswebservice/services/SMSWebService?method=notifySMS&message=%a&destinationNumber=%P&senderNumber=%p
omit-empty = true

Reply via email to