This doesn't answer my question. Is smsbox connected to sqlbox, or
bearerbox? Yo also seem to mix up bearerbox logs with smsbox logs.
BR,
Nikos
----- Original Message -----
From: James E
To: Nikos Balkanas ; users@kannel.org
Sent: Thursday, November 11, 2010 8:41 AM
Subject: Re: SQLBox DLR Problem
I have:
1 Bearer box with SQLBox, SMSBox connection and 2x SMSC Connections
Kannel 1.5.0 with latest SQLBox (including unicode bug patch from Stipe)
I hit the smsbox with this:
http://127.0.0.1:10780/sendsms?username=xxx&password=xxx&smsc=smsc_2_1&to=1234&text=test&dlr-mask=31&dlr-url=http%3a%2f%2f127.0.0.1%3a81%2fsmshdlr%2ftest_dlr.php%3fstate%3dstate%26statustext%3dttt%26msisdn%3dsss%26operator%3dDEFAULT%26hlr%3dggg
In the SMSBox table I insert:
momt: MT
sender: test
receiver: 1234
msgdata: test
smsc_id: smsc_2_1
sms_type: 2
dlr_mask: 31
dlr_url:
http%3a%2f%2f127.0.0.1%3a81%2fsmshdlr%2ftest_dlr.php%3fstate%3dstate%26statustext%3dttt%26msisdn%3dsss%26operator%3dDEFAULT%26hlr%3dggg
--------------
In SQLBox try, everything works as per normal in send_sms and sent_sms
tables, but the dlr-url is not hit/touched at all.
I looked in the bearer box log, here is one difference i can see
SQLBOX try
2010-11-11 16:29:53 [12571] [6] DEBUG: DLR[mysql]: created DLR message for
URL
<http%3a%2f%2f127.0.0.1%3a81%2fsmshdlr%2ftest_dlr.php%3fstate%3dstate%26statustext%3dttt%26msisdn%3dsss%26operator%3dDEFAULT%26hlr%3dggg>
SMSBox try (successful)
2010-11-11 15:49:35 [12571] [6] DEBUG: DLR[mysql]: created DLR message for
URL
<http://127.0.0.1:81/smshdlr/test_dlr.php?state=state&statustext=ttt&msisdn=sss&operator=DEFAULT&hlr=ggg>
Regards,
J
2010/11/11 Nikos Balkanas <nbalka...@gmail.com>
Hi,
Please describe your sqlbox and smsbox connections in your flow.
BR,
Nikos
----- Original Message ----- From: James E
To: users@kannel.org
Sent: Thursday, November 11, 2010 7:56 AM
Subject: SQLBox DLR Problem
Hi,
I have tested for a few days now & read the manual.
Is anyone else having issues with DLRs when sending the sms through SQLBox?
I tested with SMSBOX (sendsms) and it hits the dlr-url no problems. But when
I send it with SQLBox the dlr-url is never touched.
I am url encoding the dlr-url, and dlr-mask=31
Anyones help would be appreciated.
J