HI,

Bellow an example to help you to configure your kannel :

 

 

# Kannel Core Configurations
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = 1234567
status-password = 1234567
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/kannel.log"
log-level = 0
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage= internal
access-log = "/var/log/kannel/kaccess.log"
store-file = "/var/log/kannel/kannel.store"
sms-combine-concatenated-mo = True
sms-combine-concatenated-mo-timeout = 20

 

# BOUND RX 

group = smsc
smsc = smpp
smsc-id = Obaisi 
host = "121.67.298.10"
msg-id-type="0x00"
receive-port = 9000
transceiver-mode = false
smsc-username = RAD_231 # Provided by operator
smsc-password = RADXX # Provided by operator
system-type = "EXE_FFF" # Provided by operator
reconnect-delay = 10
enquire-link-interval = 30
address-range = "3434" # (optinal) add just if you want to specify one or more 
shortcodes from bunsh (10 shortcode)   
bind-addr-ton = 1 # Provided by operator
bind-addr-npi = 1 # Provided by operator
source-addr-ton = 0 # Provided by operator
source-addr-npi = 0 # Provided by operator
dest-addr-ton = 0  # Provided by operator
dest-addr-npi = 0 # Provided by operator
throughput = 10 # Provided by operator
denied-smsc-id = obaisi111 # Denied Other Connection to be sure you will send 
only through this connection 
allowed-smsc-id = Obaisi

 

# BOUND TX 

group = smsc
smsc = smpp
smsc-id = Obaisi 
host = "121.67.298.10"
msg-id-type="0x00"
port = 9000
transceiver-mode = false
smsc-username = RRR_231 # Provided by operator
smsc-password = RRRXX # Provided by operator
system-type = "EXE_FFF" # Provided by operator
reconnect-delay = 10
enquire-link-interval = 30
address-range = "3434" # (optinal) add just if you want to specify one or more 
shortcodes from bunsh (10 shortcode)   
bind-addr-ton = 1 # Provided by operator
bind-addr-npi = 1 # Provided by operator
source-addr-ton = 0 # Provided by operator
source-addr-npi = 0 # Provided by operator
dest-addr-ton = 0  # Provided by operator
dest-addr-npi = 0 # Provided by operator
throughput = 10 # Provided by operator
denied-smsc-id = obaisi111 # Denied Other Connection to be sure you will send 
only through this connection 
allowed-smsc-id = Obaisi#added by obaisi 06072009 for testing issue
flow-control=0
max-pending-submits = 5
flow-control = 0
wait-ack = 1
wait-ack-expire = 0x02


# SMSC CONNECTIONS
# BOUND_TRX
group = smsc
smsc = smpp
smsc-id = obaisi111
msg-id-type="0x00"
host = "234.432.232.33"
port = 9001
receive-port = 9001
log-file="/var/log/kannel/SMSC.log"
log-level=0
transceiver-mode = True
smsc-username = "User"
smsc-password = Pass
system-type = "EXT_FFF"
reconnect-delay = 10
enquire-link-interval = 30
address-range = ""
source-addr-ton = 1
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 0
#service-type = 3138
#alt-charset = LATIN1
denied-smsc-id = Obaisi
allowed-smsc-id = Obaisi111

 


# WAPBOX SETUP
group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
log-level = 5
syslog-level = none

# PPG SETUP
group = ppg
ppg-url = /wappush
ppg-port = 7070
concurrent-pushes = 100
users = 1024
ppg-allow-ip = "*.*.*.*"
#ppg-deny-ip = ""
trusted-pi = false
#service-name = ppg1
#global-sender ="6880"

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/saccess.log"
#mo-recode=true
#max-messages = 5

 

# WAPP-PUSH USERS
group = wap-push-user
wap-push-user = axpwappush
ppg-username = axpwappush
ppg-password = 1234567

allow-ip = "*.*.*.*"

 

# SEND-SMS USERS
group = sendsms-user
username = smssender
password = 1234567
#user-deny-ip = ""
user-allow-ip = "*.*.*.*"
max-messages = 20
concatenation = true

 

# SERVICES
# there should be default always

group = sms-service
keyword = default
catch-all = true
accept-x-kannel-headers = true
# This  page to allow you to redirect your receiving SMS  

get-url = 
http://192.00.00.00:9876/store.asp?msisdn=%p&sms=%a&sc=%P&bin=%b&enc=%C&enc2=%c&UDH=%u
max-messages=0
#max-messages = 10
concatenation = true


 

Finally to send sms by your kannel use the bellow link

 

http://257.145.222.10:13013/cgi-bin/sendsms?username=smssender&password=1234567&to=[type
 the msisdn]&text=[Type any short text without braces]&from=[Type your 
SC]&smsc=Obaisi
 
 

I hope this will help you .
........................................................... 
Best Regards 
 Abdulraheem Ali Obaisi 



 


From: es...@nrs-group.com
To: users@kannel.org
Subject: Problems sending a sms with SMPP 
Date: Tue, 6 Oct 2009 17:47:09 +0200





 
Hi,
I’m trying to use kannel to send sms with an smpp client, this is my 
configuration file:
 
group = core
admin-port = 10000
smsbox-port = 10001
admin-password = bar
admin-allow-ip ="*.*.*.*"
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = "bench_sms_bb.log"
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
box-allow-ip = "*.*.*.*"
 
#SMSC CONNECTIONS
group = smsc
smsc = smpp
smsc-id = smpp
host = 192.168.0.101
port = 5069
receive-port = 5069
smsc-username = usr
smsc-password = pw
system-type = "VMA"
service-type = foo
address-range = ""
 
#SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
#bearerbox-host = 192.168.0.101
sendsms-port = 2345
global-sender = 2345
log-file = "bench_sms_sb.log"
 
#group = smsbox
#smsbox-id = mi_smpp
 
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
 
group = sms-service
keyword = default
url = "http://localhost:8080/foo?arg=%a";
 
group = sendsms-user
username = tester
password = foobar
user-allow-ip = "*.*.*.*"
#user-deny-ip = "*.*.*.*"
#user-allow-ip = "127.0.0.1"
 
 
I don’t know if I have to use the same file for the bearerbox and the smsbox, 
how can I connet my smpp client to the smsbox to send the sms? I can’t 
understand exactly with port I have to connect the client or if it can be done 
so easy…
 
Thanks!                                           
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010

Reply via email to