Hi,

I am running kannel SMS gateway with CMG (SMSC) and its working fine for sending SMS 
to mobile but my problem is that when I 
send to that ID say (5054) with keyword it always returns me with default text or file 
or url.

what could be problem..?

I am stuck on that keyword problem and my config file it look like that ..

I am using same file for smsbox and for bearerbox ..


#####################################################

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
status-password = foo
log-file = "/var/log/kannel/kannel.log"
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
log-level = 1
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.21.*"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.21.*"
#unified-prefix = "+358,00358,0;+,00"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


# GROUP 4 SMSC CONNECTIONS
group = smsc
smsc = smpp
host = 172.16.4.50
port = 6010
transceiver-mode = yes
source-addr-ton = 5
source-addr-npi = 0
receive-port = 6010
smsc-id = test
smsc-username = "test"
smsc-password = testap12
system-type = "test"
#appname = test
#interface-version = "34"
keepalive = 5
idle-timeout = 30
#connect-allow-ip = "127.0.0.1;192.168.21.189"


# GROUP 4 SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#global-sender = "5054"
#global-sender = "Divyesh-A."
#sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/access.log"


# GROUP 4 SEND-SMS USERS
group = sendsms-user
username = test
password = testap12
#user-deny-ip = ""
#user-allow-ip = ""

# GROUP 4 SERVICES
# there should be default always
group = smsc-service
name = default
keyword = default
text = "No service specified"
#file=/tmp/dtest
#get-url = "http://127.0.0.1/cgi-bin/smstest.cgi";
#post-url = "http://127.0.0.1/cgi-bin/smstest.cgi";
#catch-all = true


group = sms-service
name = www
keyword = www
#aliases = net
#get-url = "http://127.0.0.1/cgi-bin/smstest.cgi";
#send-sender = "WWW"
accept-x-kannel-headers = true
max-messages = 3
#concatenation = true
text = "You asked nothing and I did it!"
#catch-all = true

######################################################


I will be grateful to him/her if somebody has the solution..

Thankx..


Yours truly,

=> Divyesh Amipara

+++++++++++++++++++++++++++++++++++++
  Master is the person who knows 
      something about everything,
   but,
      Everything about something !!
+++++++++++++++++++++++++++++++++++++

-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

Reply via email to