Check the docs and search for "smsbox-id" on the smsbox config.
When inserting the SMS, use that value in the boxc_id field of the db

2012/6/17 alok srivastava <[email protected]>

> Sir
>
> (are u telling for boxc_id field of send_sms table. plz have a look on
> configuration files
> coz there is no smsboxid field in my configuration file.
>
> *my kannel.conf*
>
> group = core
> admin-port = 16000
> smsbox-port = 16001
> admin-password = iadmin
> log-file = "/project/kannel/logs/kannel4.log"
> log-level = 0
> #box-deny-ip = "*.*.*.*"
> #box-allow-ip = "127.0.0.1"
> dlr-storage = mysql
>
> group = smsc
> smsc = smpp
> smsc-id = bsnl
> host = 174.36.194.138
> port = 8888
> transceiver-mode = 1
> receive-port = 14090
> smsc-username = "?????"
> smsc-password = "?????"
> system-type = "smpp"
> address-range = ""
>
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 16013
> global-sender = 16013
> #sendsms-chars = "0123456789 +-"
> log-file = "/project/kannel/logs/smsbox4.log"
> log-level = 0
> access-log = "/project/kannel/logs/access4.log"
>
> group = sendsms-user
> username = abc_zxc
> password = qaz123
> #user-deny-ip = ""
> user-allow-ip = "*.*.*.*"
> #dlr-url = http%3A%2F%2F122.160.154.189%2F%3Fdlrstring%3D%25a%26refid%3D249
>
> #--- mysql connection
> group = mysql-connection
> id = mydlr
> host = localhost
> username = kannel
> password = distinct
> database = kannel
> max-connections = 1
>
> #---- DLR table structure
> group = dlr-db
> id = mydlr
> table = kannel_dlr4
> 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
>
>
>
> *my sqlbox.conf*
>
> group = sqlbox
> id = sqlbox-db
> smsbox-id = sqlbox
> #global-sender = ""
> bearerbox-host = localhost
> bearerbox-port = 14001
> smsbox-port = 14005
> smsbox-port-ssl = false
> sql-log-table = sent_sms
> sql-insert-table = send_sms
> log-file = "/var/log/kannel/kannel-sqlbox.log"
> #log-file = "/root/sqlbox-0.7.2/log/kannel4-sqlbox.log"
> log-level = 0
>
> group = mysql-connection
> #id = my-sqlbox
> id = sqlbox-db
> #id = mydlr
> host = localhost
> username = kannel
> password = iamalive
> database = kannel
> #max-connections = 1
>
>
>
> Regards
> Abhi
>
>
> On Sun, Jun 17, 2012 at 6:22 PM, Julien Buratto 
> <[email protected]>wrote:
>
>> **
>> Do you also run the smsbox ?
>> If so, check also that when inserting the row in the db, you set the
>> smsbox id in the sql as the smsbox id of the smsbox's config file
>> Julien Buratto
>> Linkas SRL
>> Tel.02 30321419
>> ------------------------------
>> *From: * alok srivastava <[email protected]>
>> *Sender: * [email protected]
>> *Date: *Sun, 17 Jun 2012 18:14:42 +0530
>> *To: *<[email protected]>
>> *Subject: *not getting DLRs
>>
>> dear
>> my kannel is working fine when things are passed from url. but when i try
>> to send the message from send_sms table message send and move to sent_sms
>> and also delivered to phone properly but not getting Delivery report.
>>
>>
>> regards
>> abhi
>>
>
>


-- 
Julien Buratto
Linkas SRL
Tel. 0230321419

Reply via email to