Do you see the dlr coming in, in your bearerbox logs?

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen
Sent: dinsdag 12 november 2013 14:58
To: 'Willy Mularto'; 'خان ابو زید'
Cc: users@kannel.org
Subject: RE: DLR NOT UPDATED

 

Dear Khan,

 

I just tried your insert query and it worked for me.

I got both the dlr-status = 8 and the dlr-status = 1.

 

Maybe your Trans001 smsc doesn’t support delivery reports to that destination.

 

=+= Rene

 

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Willy Mularto
Sent: maandag 11 november 2013 13:56
To: خان ابو زید
Cc: kannel users@kannel.org
Subject: Re: DLR NOT UPDATED

 

Read the user guide about dlr-mask.  

 

1=DLVRD

2=FAILED

4=BUFFERED

8=ACK

16=REJECTED

 

If you want to get update for DLVRD, FAILED, ACK then it means 1+2+8=11

 

 

 

Willy Mularto

SMS Gateway, Content Provider, Mobile Solution Specialist

M: +62811923464, +62818923464

PIN BBM: 74924429

 

 

 

On Nov 11, 2013, at 6:24 PM, خان ابو زید <khan.abuz...@gmail.com> wrote:

 

Dear Team,

 

I installed successfully kannel 1.5.0,sqlbox in my centos 6.4 VPS system.

I successfully start kannel in this sequence,  

1)/usr/local/kannel/sbin/bearerbox -v 0 /etc/kannel/kannel.conf

2)/usr/local/sbin/sqlbox -v 0 /etc/kannel/sqlbox.conf

3)/usr/local/kannel/sbin/smsbox -v 0 /etc/kannel/kannel.conf

 

Problem is that only ACK/ is received dlr_mask =8 getting.

message is delivered but dlr not updated.

 

My insert query :

 

INSERT INTO send_sms (  momt, sender, receiver, msgdata, sms_type, 
smsc_id,dlr_mask,dlr_url,boxc_id,coding) 

VALUES (  'MT', 'MOBLGI', '+919594092200 <tel:%2B919594092200> ', 'TEST SMS', 
2,'Trans001',31,'uinque msg id','sqlbox',0);

 

 

 

My config file.

kannel.conf

group = core

admin-port = 13003

smsbox-port = 13016

admin-password = *********

status-password = *********

log-file = "/var/log/kannel/kannel.log"

log-level = 0

access-log = "/var/log/kannel/access.log"

store-type = spool

store-location = "/var/log/kannel/spool"

sms-resend-retry = 3

dlr-storage = mysql

smsbox-max-pending = 50000

 

group = smsbox

bearerbox-host = localhost

bearerbox-port = 13020

sendsms-port = 13013

log-file = "/var/log/kannel/smsbox.log"

access-log = "/var/log/kannel/access.log"

log-level = 3

#mo-recode=true

#max-pending-requests = 2

 

group = smsbox-route

smsbox-id = sqlbox

smsc-id = Trans001

 

group = sendsms-user

username = abuzaid

password = ********

#max-messages = 5

#concatenation = true

 

group=smsc

smsc=smpp

smsc-id=Trans001

allowed-smsc-id = Trans001

host = 121.241.242.121

port = 2351

transceiver-mode = 1

receive-port = 2351 

log-file = "/var/log/kannel/Trans001.log"

log-level = 0

smsc-username = *********

smsc-password = *********

msg-id-type = 0x00

source-addr-ton = 5

source-addr-npi = 9

dest-addr-ton = 1

dest-addr-npi = 1

enquire-link-interval = 60

system-type = default

reconnect-delay = 60

 

#Mysql Connection

group = mysql-connection

id = mydlr

host = localhost

username = root

password = mob@123

database = websms

max-connections = 10

 

#DLR Table Structure

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

 

sqlbox.conf

group = sqlbox

id = sqlbox-db

smsbox-id = sqlbox

bearerbox-host = localhost

bearerbox-port = 13016

smsbox-port = 13020

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

 

group = mysql-connection

id = sqlbox-db

host = localhost

username = root

password = ********

database = testsms

 

-- 

Regards

Khan Abuzaid
Mob# :09664541886/9594092200
Mumbai

 

Reply via email to