KANNEL CONFIGURATIONS

<[email protected]> Tue, 16 May 2017 13:16:35 +0300
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello ,

I am very new to Kannel operations.

I have been able to set up a configuration which at the moment works fine
but my set up seems to start up multiple sessions and I don’t know how that
happens.

Below are my requests :-

 

a)Can you please assist me on how to limit/control kannel sessions to an
smsc?

b)Kannel linux commands example in a case I want to close sessions/binds

 

**Attached is my Kannel configuration file.

 

 

Regards,

Emmanuel Mfikwa,

Software Developer,

Mob : +255719186759,

Skype : emmanuel.mfikwa2.

 

----------------------------------------------------------------------------
--

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee, you should not
disseminate, distribute or copy this email. Please notify the sender
immediately by email if you have received this email by mistake and delete
this email from your system. If you are not the intended recipient, you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.

 

Este correo electrónico contiene información legal confidencial y
privilegiada. Si Usted no es el destinario a quien se desea enviar este
mensaje, tendrá prohibido darlo a conocer a persona alguna, así como a
reproducirlo o copiarlo. Si recibe este mensaje por error, favor de
notificarlo al remitente de inmediato y desecharlo de su sistema.

 

L'information apparaissant dans ce message électronique est de nature
légalement privilégiée et confidentielle. Si ce message vous est parvenu par
erreur et que vous n'êtes pas le destinataire visé, vous êtes par les
présentes avisé que tout usage, copie ou distribution de ce message est
strictement interdit. Vous êtes donc prié de nous informer immédiatement de
cette erreur et de détruire ce message.
kannel.conf (application/octet-stream, 2.8 KB)
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13000
admin-password = bar
admin-allow-ip = "*.*.*.*"
wapbox-port = 13002
smsbox-port = 13003
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/kannelAccess.log"
box-allow-ip = "*.*.*.*"
sms-incoming-queue-limit = -1
dlr-storage = mysql
sms-resend-retry = 2

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"

group = smsc
smsc = smpp
smsc-id = airteldse
smsc-admin-id = adminairteldse2017
log-file = "/var/log/kannel/airteldse.log"
log-level = 0
host = **
port = **
connection-timeout = 0
wait-ack-expire = 0x02
validityperiod = 10
smsc-username = **
smsc-password = **
system-type = smpp
transceiver-mode = true

group = mysql-connection
id = mydlr
host = localhost
username = **
password = **
database = **
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

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
smsbox-id = dseairtel
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsboxAccess.log"

group = smsbox-route
smsbox-id = dseairtel
smsc-id = airteldse
shortcode = "15535"

group = sendsms-user
username = gmobile
password = 123456
max-messages = 3
concatenation = true
dlr-url = "http://localhost/service/dlr.php"

group = sendsms-user
username = airtel
password = airtelgmobile
max-messages = 3
forced-smsc = airteldse

group = sms-service
keyword = sajili
get-url = "http://localhost/KannelService/index.php/Api/airtel_reg?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group = sms-service
keyword = register
get-url="http://localhost/KannelService/index.php/Api/airtel_reg?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group =sms-service
keyword = stop
get-url ="http://localhost/KannelService/index.php/Api/airtel_exit?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group =sms-service
keyword = ondoa
get-url ="http://localhost/KannelService/index.php/Api/airtel_exit?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group = sms-service
keyword = default
get-url ="http://localhost/KannelService/index.php/Api/default_sms_service?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"