Dear all,
 
I need to configure two gsm modems, one for receiving and the other for sending SMS. I tried to use accepted-smsc to route the SMS, but the smsbox and bearbox does not start up after I put the "accepted-smsc" at the smsbox group or sendsms-user group. I can send and receive SMS on either /dev/ttyS0 or /dev/ttyS1. Where did I go wrong? Kindly pls advise. Thanks in advance.
Here is my 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
sms-center = +6598540020
modemtype = wavecom
device = /dev/ttyS1
 
group = smsc
smsc = at
smsc-id = OUTGOING
sms-center = +6596197777
modemtype = wavecom
device = /dev/ttyS0
 
group = smsbox
bearerbox-host = localhost
#accepted-smsc = 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 = sms-service
keyword = default
accepted-smsc = INCOMING
#denied-smsc = OUTGOING
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
#accepted-smsc = OUTGOING
#denied-smsc = INCOMING
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