Please find following working config. I generalized few things for sharing.

If you really want this to work for you, read UG. The whole UG.

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
#---------------------------------------------
# CORE
#
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = foo
log-file = "/tmp/kannel.log"
log-level = 0
box-allow-ip = "*.*.*.*"
access-log = "/tmp/access.log"
sms-resend-retry=1
#---------------------------------------------
# SMSC CONNECTIONS
#
group = smsc
smsc = smpp
log-level = 0
smsc-id = LA_1234
host = 192.168.0.10 (SMSC IP)
port = 1502
smsc-username = user1 (SMSC username)
smsc-password = user1 (SMSC password)
transceiver-mode=true
receive-port = 0
allowed-smsc-id = LA_1234

#---------------------------------------------
# SMSBOX SETUP
#
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "/tmp/smsbox.log"
#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
..

group = sendsms-user
username = tester
password = foobar
user-allow-ip = "*.*.*.*"
max-messages = 10
forced-smsc = LA_1234

#---------------------------------------------
# SERVICES
#
group = sms-service
keyword = Hi
text = "How are you"

group = sms-service
keyword = default
text = "Sorry i dont understand this"

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
#-----------------------------------------------


Welcome to the community.
We all face problems, share and discuss with community. Better we want to
have your own foot.

Take care.



On Tue, Mar 8, 2011 at 11:39 AM, [email protected] <[email protected]> wrote:

> For better understanding of what you have in your hands, I recommend you
> read the whole userguide (it's not that long). For minimum setup, you need
> to understand the functions of bearerbox and smsbox, and their associated
> variables.
>
>
> On Tue, Mar 8, 2011 at 11:34 AM, Komil Gulboev <[email protected]> wrote:
>
>> > Read the userguide! :-)
>> >
>> > On Mon, Mar 7, 2011 at 5:15 PM, Komil Gulboev <[email protected]>
>> wrote:
>> >
>> >> Hi,
>> >>
>> >> I have a login and pass from SMPP gateway but how can I use Kannel?
>> >>
>> >>
>> >
>> Goof idea :-) but which part of Kannel I have to used? For example SMSBox
>> or SMPPGateway or some different?
>>
>>
>


-- 
Regards,

Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445

Reply via email to