What exactly is your problem?
If things are not working: What is your error message and log files?

== Rene

-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Allan N. Porras
Sent: Tuesday, 27 March, 2012 06:39
To: users
Subject: Two modems HUAWEI and PlaySMS

Hi list.

Can anyone help me set up two modems in my Kannel? I'm using PlaySMS. My modems 
are HUWAEI E153.

This is my kannel.conf

# CORE
group = core
admin-port = 13000
admin-password = playsms
status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
#store-type = file
#store-file = /var/log/kannel/kannel.store
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
box-allow-ip = "127.0.0.1"

# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log

# ICE modem
group = smsc
smsc = at
smsc-id = ice_modem
#allowed-smsc-id = claro_modem
#preferred-smsc-id = ice_modem;claro_modem
modemtype = auto
device = /dev/ttyUSB0
#validityperiod = 167
log-file = /var/log/kannel/smsc.log
log-level = 0
pin = 1111
sim-buffering = true
#keepalive = 10
my-number = +0000000000

# CLARO modem
group = smsc
smsc = at
smsc-id = claro_modem
#allowed-smsc-id = ice_modem
#preferred-smsc-id = ice_modem;claro_modem
modemtype = auto
device = /dev/ttyUSB2
#validityperiod = 167
log-file = /var/log/kannel/smsc.log
log-level = 0
pin = 1111
sim-buffering = true
keepalive = 10
#my-number = +0000000000


group = modems
id = huawei_e153
name = "Huawei E153"
detect-string = "huawei"
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT Q0 +CMGS=40;+CPMS= "SM",0,30,"SM",0,30,"SM",0,30"
#init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0;+CMGF=0;+CNMI=3,2,0,0,0"
#init-string = "AT+CNMI=1,1,2,0,0"
#init-string = "AT+CNMI=2,0,0,2,0;+CMEE=1"
#init-string = "AT+CNMI=1,2,0,1,1"
message-storage = "ME"
need-sleep = true
speed = 115200


# SENDSMS-USER
group = sendsms-user
default-smsc = default
username = xxxxxxxx
password = xxxxxxx
max-messages = 3
concatenation = true

# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 100000
get-url = 
"http://127.0.0.1/my/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q";
#get-url = 
"http://127.0.0.1/my/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a";

Thank you!

--
Allan Porras




Reply via email to