Dear Concern,

Please have the configuration in the attachment. We use separate config file for core, bearerbox, sqlbox and smsbox; here config is combined.

/Thanks & Regards,/
Biswajit Kumar
Sr. System Engineer, P&D
Bangla Phone Ltd. <http://www.banglaphone.net.bd>
Phone: +880 359 345 1125 <tel:+8803593451125>
Cell: +880 18 33 10 39 09 <tel:+8801833103909>

On 2016-08-09 17:00, Web Services wrote:
Hello,


kindly post your kannel config file so we can help you


Thanks

On Tue, Aug 9, 2016 at 4:02 PM, Biswajit, BPL <biswa...@banglaphone.net.bd <mailto:biswa...@banglaphone.net.bd>> wrote:

    Dear Milan,

    Thanks for your feedback. As we use sqlbox we assumed we wouldn't
    have to use store configurations, hence we have not used the
    store-type, store-location or store-dump-freq. Could you please
    suggest best suitable config for them? Thanks in advance.



    /Thanks & Regards,/
    Biswajit Kumar
    Sr. System Engineer, P&D
    Bangla Phone Ltd. <http://www.banglaphone.net.bd>
    Phone: +880 359 345 1125 <tel:+8803593451125>
    Cell: +880 18 33 10 39 09 <tel:+8801833103909>

    On 2016-08-08 16:18, Milan P. Stanic wrote:
    On Mon, 2016-08-08 at 15:22, Biswajit, BPL wrote:
    We are using Kannel 1.4.4 to connect with Mobile operators using SMPP SMSC.
    We use SQLBox for handling SMS transaction.
    What we want to find out is: where is the location of storing messages which
    is showed as 'Queued' in Kannel status page (attached). If and when we need
    to restart Kannel after configuration change, we have to wait for the queue
    to clear. If we knew which messages were being queued, we could resend those
    messages manually after restart.
    Appreciate your suggestion.
    You don't need to resend messages when you restart kannel if you use
    persistent storage for queued messages. Read the userguide and look
    configuration directives store-type, store-location and store-dump-freq.
    If that does not solve your problem then you should ask further
    questions here.





##--core file--##
#-------------- core group connection 
-------------------------------------------
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = xxxx
admin-allow-ip = "*.*.*.*"
dlr-storage = mysql
sms-combine-concatenated-mo = true
log-level = 0
access-log= "/var/log/kannel/cdr.log"
access-log-clean= true
#"date gmt-time direction type smsc FID sender receiver char-count dlr-type"
access-log-format= "%t,%l,%i,%F,%p,%P,%L,%d"
sms-resend-retry = 50
sms-resend-freq = 60
sms-incoming-queue-limit = 5000
#--------------------sqlbox mysql connection 
------------------------------------
group = mysql-connection
id = sqlbox-db
host = localhost
username = xxxx
password = xxxxx
database = kannelDb
max-connections = 10
#--------------------dlr mysql connection ------------------------------------
group = mysql-connection
id = mydlr
host = localhost        
username = xxxx
password = xxxxx
database = kannelDb
max-connections = 10
#--------------------- DLR table structure --------------------------------
group = dlr-db
id = mydlr
table = kannel_dlr
field-smsc = smsc
field-timestamp = timestamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id
##--bearerbox file--##
##-----------------------list of SMPP SMSC operators --------------------------
##-----------------------------------------------------------------------------
##---------------------------Airtel--------------------------------------------
##-----------------------------------------------------------------------------
##-------------------------Dhaka 1 --------------------------------------------
group = smsc
smsc = smpp
smsc-id = airtelsmsc
denied-smsc-id = blsmsc;gpsmsc;robismsc
host = x.x.x.x
port = xxx
transceiver-mode = true
connect-allow-ip="*.*.*.*"
smsc-username = xxx
smsc-password = xx
system-type = 
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
interface-version = 34
enquire-link-interval = 120
address-range = 
msg-id-type = 1
alt-charset = utf-8
throughput = 10
max-pending-submits = 10
log-file = "/var/log/kannel/airtelsmsc1b1.log"
*******
*******
.
.
.
.
.
*******
.
.
.
##------------------------smsbox-route------------------------------#
##-------------------------------------------------------------------
group = smsbox-route
smsbox-id = airtelsmsbox
smsc-id = airtelsmsc
.
.
.
.
##--sqlbox file--##
##-------------SQLBOX configuration-------------
group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13002
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/kannel-sqlbox.log"
log-level = 0
##--smsbox file--##
#-----------------smsbox------------------------------------------------
group = smsbox
bearerbox-host = localhost
smsbox-id = airtelsmsbox
bearerbox-port = 13002
sendsms-port = 2782
sendsms-chars = "0123456789"
access-log = "/var/log/kannel/airtel-access.log"
log-file = "/var/log/kannel/airtelsmsbox.log"
log-level = 0
mo-recode= true
#-----------------sendsms-user-----------------------------------------------
group = sendsms-user
username = xxx
password = xx
concatenation = true
max-messages = 7
forced-smsc = airtelsmsc
#-----------------sendsms-service-----------------------------------------------
group = sms-service
keyword = default
get-url = 
"http://localhost/receive_sms.php?sender=%p&receiver=%P&ID=%I&sms=%a&time=%t&meta=%D&foreign=%F&orig=%f&sendsms-user=%n&coding=%c";
accepted-smsc = airtelsmsc
max-messages = 0
concatenation = true
.
.
.
.
.

Reply via email to