Hi All,
I am using two sms centres. One is SMPP connection for sending the
sms only ( not for receiving ). Another one is GSM modem ( nokia12 ) for
receiving sms only ( not for sending ). I have created the following
configuration file,
#Bearbox Configuration
group=core
admin-port=13000
admin-password=****
log-file=/SMSLOGS/bearerbox.log
log-level=2
box-allow-ip="xxx.xx.xx.*"
status-password=*****
smsbox-port=13001
store-file=/SMSLOGS/sms_storage
dlr-storage=internal
# FOR SMPP CONNECTION START
group = smsc
smsc = smpp
smsc-id=smpp1
host = xxx.xxx.xxx.xx
port = 3700
receive-port = 3700
smsc-username = "xxxxxx"
smsc-password = *****
system-type = "VMA"
interface-version = 34
#source-addr-ton=5
#source-addr-npi=1
sender-prefix=""
dest-addr-ton=1
dest-addr-npi=1
source-addr-autodetect=yes
log-file=/SMSLOGS/smsc.log
log-level=2
msg-id-type=0x01
NOKIA 12 SMSC Start
group=smsc
smsc = at
smsc-id = GSM1
modemtype = nokia12
device = /dev/ttyS0
log-file=/SMSLOGS/smsc_nokia12.log
log-level=0
validityperiod = 167
keepalive = 60
my-number =9986667045
#denied-smsc-id=GSM1
#allowed-smsc-id=smpp1
#preferred-smsc-id=smpp1
###### NOKIA 12 SMSC End
#NOKIA 12 MODEM start
group = modems
id = nokia12
name = "Nokia 12"
detect-string = "Nokia Mobile Phone"
need-sleep = true
# keepalive-cmd = "AT+CBC;+CSQ"
# enable-mms = true
# init-string = "AT+CNMI=2,2,0,1,1"
# ###FOR NOKIA 12 MODEM end
group = smsbox
bearerbox-host = xxx.xx.xxx.xxx
smsbox-id=smsbox_1
sendsms-port = 13020
access-log =/SMSLOGS/kannel.access
log-file =/SMSLOGS/smsbox.log
log-level=2
sendsms-chars="0123456789abcdefghijklmnopqrstuvwxyz"
group=sms-service
keyword=default
post-url=
http://xxx.xx.xxx.xxx/?sender=%p&receiver=%P×tamp=%t&message=%a&epoch_time=%T&msg_id=%I
catch-all=false
concatenation=true
max-messages=0
accept-x-kannel-headers = true
group=sendsms-user
username=xxx
password=xxx
concatenation=true
max-messages=10
split-chars=" "
forced-smsc =smpp1
I have the following problems,
+ GSM modem is receiving the sms but it is saying the message
"smsbox_list empty"
+ While sending the sms, the messages need to go via smpp
connection only but some times the messages
are going via both smscs. I need to stop this. The messages
should go only through smpp smsc.
Can any one please help me for this ??
--
Regards,
S.K.Ganeshwari.