Sqlbox doesn't do http requests to dlr-url's.

To solve this issue, connect an smsbox (e.g. with smsbox-id = dlr-box) and
insert 'dlr-box' as the value of boxc_id.

 

== Rene

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Ali Kashif
Sent: zaterdag 27 juli 2013 0:15
To: users@kannel.org
Subject: inserting DLR_URL in SQLBOX

 

Dear Friends,

 

using kannel 1.5;

using sqlbox;

 

 

I am trying to send bulk messages using sqlbox and need DLR as well. so i am
inserting 

 

dlr_mask =31

and a dlr_url like this 

 

$params='app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&slid=".$smslo
g_id."&uid=".$uid."&smsc=%i';

$params=urlencode($params);

$dlr_url = "http://HOST_NAME/index.php?".$params;      





that is only encoding the parameters of dlr url and NOT the FULL dlr-url.

 

and then insert data in to send_sms

 

$inquery="INSERT INTO kannel.send_sms (momt, sender, receiver,
msgdata,sms_type,CHARSET,coding,

                                   smsc_id,`binfo`,dlr_mask,dlr_url) ";

 
$inquery.="VALUES('MT','TESTER','".$number."','sqlbox test message'
,2,'utf-8',2,'smsc1','888888','31','$dlr_url')";

                        $db->query($inquery);

 

 

but i am not getting any DLR request on my php file, where as kannel is
receiving the DLR.

 

 

2013-07-27 11:57:21 Sent SMS [smsc1] [SVC:] [ACT:] [BINF:888888]
[FID:544039a1] [META:] [from:TESTER] [to:+XXXXXXXXXXXX]
[flags:-1:2:-1:-1:31]
[msg:34:0061006C00690020006B00610073006800690066002000730071006C0062006F0078
] [udh:0:]

 

2013-07-27 11:57:21 Receive DLR [SMSC:smsc1] [SVC:] [ACT:] [BINF:]
[FID:544039a1] [META:] [from:TESTER] [to:+XXXXXXXXXXXX]
[flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]

 

 

 

 

Can some one suggest what should i look into, i tried to set the kannel log
level to 0 and see, but i only get above 2 lines and nothing else.

 

Please Advise.

 

Thanks

Ali

 

 

Reply via email to