Source address is the shortcode. Check if you're putting the right one on the 
"from" field, otherwise contact the operator, they might have a 
misconfiguration.

Regards,

Alex

BlackBerry de movistar, allí donde estés está tu oficin@

-----Original Message-----
From: Ariful Hossain <[email protected]>
Date: Sat, 5 Dec 2009 13:29:22 
To: <[email protected]>
Subject: problem sending msg through smpp server

hi

I have connected kannel to a smpp server. the operators gave me the ton and
npi both zero.  but when i try to send msg it gives error message that
INVALID SOURCE ADRESS.

i have an additional question, what is the "SOURCE ADRESS" actually? is it
the system-id or the shortcode?

here is my smskannel.conf

#this is the sample configuration file for using kannel as #a sms gateway.

group = core
admin-port = 10030
#admin-port-ssl = true#
admin-password = pass
status-password = pass
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 10031
#smsbox-port-ssl = true#
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-file = "/home/freeburn/kannel/bearerbox.log"
log-level = 0
access-log = "/home/freeburn/kannel/access.log"
access-log-clean = false
access-log-format = default
#unified-prefix = #
#white-list = #
#black-list = #
store-type = file
store-location = "/home/freeburn/kannel/storeFile.log"
store-dump-freq = 120
#ssl-client-certkey-file = #
#ssl-server-cert-file = "/home/freeburn/kannel/serverkey/server.crt"#
#ssl-server-key-file = "/home/freeburn/kannel/serverkey/server.key"#
#ssl-trusted-ca-file = #
sms-incoming-queue-limit = 200
sms-outgoing-queue-limit = 200
smsbox-max-pending = 100
sms-resend-freq = 30
sms-resend-retry = 10
dlr-storage = mysql

#group = smsc
#smsc = fake
#host = "127.0.0.1"
#port = 10000

group=smsc
smsc=smpp
smsc-id=aktel
#interface-version=34
host=192.168.51.5
port=6200
#receive-port = 6200
smsc-username=user
smsc-password=user
system-type=""
transceiver-mode= 1
#address-range=""
source-addr-autodetect= no
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 0
dest-addr-npi = 0
enquire-link-interval = 20


group = smsbox
bearerbox-host = "127.0.0.1"
bearerbox-port = 10031
#bearerbox-port-ssl = true#
#smsbox-id = smsbox1#
sendsms-port = 10032
#sendsms-port-ssl = true#
#sendsms-url = /cgi-bin#
immediate-sendsms-reply = false
sendsms-chars = "0123456789+-"
global-sender = 8887
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
#white-list#
#black-list#
reply-couldnotfetch = error fetching
reply-couldnotrepresent = error representing
reply-requestfailed = request failed
reply-emptymessage = empty reply from service provider
mo-recode = true
http-request-retry = 10
http-queue-delay = 5
max-pending-requests = 200

#group = sms-service
#keyword = loc
#get-url =
http://monico.server/fallback.php?devid=%s&userid=%r&time=%t&phn=%p&charset=%C
#aliases = #
#name = location request
#exec = #
#accepted-smsc = #
#allowed-prefix=#
#denied-prefix=#
#allowed-reciever-prefix =#
#denied-reciever-prefix = #
#catch-all = true
#max-messages = 0
#assume-plain-text = true#
#concatenation = true#
#header = #
#footer = #
#white-list =
#black-list =

group = sms-service
keyword = default
text = "no service specified"

group = sendsms-user
username = foo
password = bar
#user-deny-ip = *.*.*.*#
user-allow-ip = "127.0.0.1" #monico.server
#default-smsc = #
#default-sender =#
#max-messages = #
#concatenation = true#
#header = #
#footer = #
#white-list =#
#black-list = #

group = mysql-connection
id = mydlr
host = localhost
username = root
password = ikaruse_wings
database = mydlr
max-connections = 1

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

Reply via email to