Hi Jaakko,
 
I still cannot get the config right. The incoming and outgoing sms are still always via one modem or the other.
What have I gone wrong? Pls help.
Thanks.
 
kannel.conf:
 
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = xxx
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#admin-deny-ip = ""
#admin-allow-ip = ""
unified-prefix = "-65"
access-log = "/tmp/beareraccess.log"
 
group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
 
group = smsc
smsc = at
smsc-id = INCOMING
allowed-smsc-id = INCOMING
#sms-center = +6598540020
modemtype = wavecom
device = /dev/ttyS1
 
group = smsc
smsc = at
smsc-id = OUTGOING
allowed-smsc-id = OUTGOING 
sms-center = +6596197777
modemtype = wavecom
device = /dev/ttyS0
 
group = smsbox
smsbox-id = in
bearerbox-host = localhost
#smsc-id = OUTGOING
sendsms-port = 13013
global-sender = 123
mo-recode = yes
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/smsaccess.log"
 
group = smsbox-route
smsbox-id = in
smsc-ids = INCOMING
group = sms-service
keyword = default
accepted-smsc = INCOMING
url = ""http://localhost/cgi-bin/gotsms.pl?sender=%p&text=%r">http://localhost/cgi-bin/gotsms.pl?sender=%p&text=%r"
max-messages = 0
 
group = sendsms-user
username = xxx
password = xxx
default-smsc = OUTGOING
max-messages = 4
concatenation = 0
user-deny-ip = ""
user-allow-ip = "127.0.0.1"
/---------------------------------------------------------------------------\

Confidential and/ or privileged information may be contained in this
e-mail and any attachments transmitted with it ('Message'). If you are
not the addressee indicated in this Message (or responsible for 
delivery of this Message to such person),you are hereby notified that
any dissemination, distribution, printing or copying of this Message or
any part thereof is prohibited. Please delete this Message if received 
in  error and advise the sender by return e-mail. Opinions, conclusions
and other information in this Message that do not relate to the 
official business of this company shall be understood as neither given
nor endorsed by this company.

This mail is certified Virus Free by *ProtectNow! (InternetNow Sdn Bhd) 
*Scanner Engine powered by Norman Virus Control

\--------------------------------------------------------------------------/

Reply via email to