Hello,
  I am trying to make kannel work with motorokr E6 gsm phone.
It seems I am not able to get the init-string right. Has any one tried hands
on
Motorola modem. Below is the configuration. Also How much time it takes to
send one sms
using GSM smsc in kannel ? I want to send bulk sms and very fast.



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 = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = modems
id = Motorola
name = "Motorola"
detect-string = "Motorola"
#init-string = "ATZ;ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0;AT +CGDCONT=1"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT +CGDCONT=1;AT +CNMI=?"
need-sleep = true
speed = 115200
need-sleep = true
message-storage="SM"

#group = modems
#id = generic
#name = "generic"
#init-string = "AT+CGDCONT=1"
#need-sleep = true

#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

#group = smsc
#smsc = fake
#smsc-id = FAKE

#port = 10000
#connect-allow-ip = 127.0.0.1

group = smsc
smsc = at
modemtype = Motorola
device = /dev/ttyACM0
speed = 0
pin = 1234

#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "/tmp/access.log"

#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
..

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

#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = default
text = "No service specified"
-- 
--------------------------------------------------------------

Thanks,
Guri

Reply via email to