I have one SMSc connection to my Service Provider with single account  via
SMPP to the kannel. They are able to route messages from several short codes
to my Kannel SMSc. The short de charge different MT rates from the
subscriber but they insist that i have to put a service type for me to be
able to send or receive. I use http to send messages. So what is my problem
since i have to put a service type to be a shortcode, all messages going out
are charged at the rate of the Short code set as service type. If i leave
the service type = '' i cant receive or send any messages...

Please advice...


Below is my kannel.conf  configuration:----

# Default kannel configuration file
group = core
admin-port = 8090
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel/bearerbox.
log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1; 192.168.*.*"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/var/log/kannel/bearerbox.log"
#store-file = "/opt/smsgateway/store/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
sms-resend-retry = 0
dlr-storage=internal

group = smsc
smsc-id = SA_TX
smsc = smpp
host = 192.168.0.1
#port = 0
#transceiver-mode = false
receive-port = 6692
smsc-username = xxxxx
smsc-password = xxxxx
system-type =
service-type = 2901
source-addr-ton = 1
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
log-level = 0
interface-version = 34
wait-ack = 1000
wait-ack-expire = 0x02
log-file = "/var/log/kannel/pdu.SAF_RX"
allowed-prefix =
msg-id-type = 0x03
#alt-charset = "ASCII;windows-1252"
#;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE"
alt-charset = "ASCII"
alt-addr-charset = "GSM"
throughput=100

group = smsc
smsc-id = SA_TX
smsc = smpp
host = 192.168.0.1
port = 6694
receive-port = 0
transceiver-mode = false
smsc-username = xxxxxx
smsc-password = xxxxxx
#smsc-admin-id = SA_RX
system-type =
service-type =2901
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
interface-version = 34
msg-id-type = 0x03
log-level = 0
throughput=100
max-pending-submits = 100
wait-ack = 43200
wait-ack-expire = 0x02
enquire-link-interval = 60
log-file = "/var/log/kannel/pdu.SA_TX"
allowed-prefix =
alt-charset = "ASCII;"


#.............................................

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 8083
mo-recode=true
max-pending-requests = 2048
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox.log"


group = sendsms-user
username = xxxxxx
password = xxxxxxx
dlr-url =
"
http://localhost/DLR/?type=%d&time=%t&usr=%n&message=%b&kannel_id=%F&MSISDN=%p&dlrvalue=%A&message_id=
"

group = sms-service
keyword = default
concatenation = true
catch-all = true
get-url =
"
http://localhost/sms/?destination=%P&originator=%p&message=%a&time=%t&charset=%C&message_id=%I&smsc=%i&dlr=%d&dlr_smsc=%A&fsmsc=%F&udh=%u&ttt=%f
"
send-sender=true
max-messages = 0

Reply via email to