Thanks Nikos,

I did just that, but still nothing.

Updated Config (simplified):

# -------- SMSBOX ------- (Single Group)
# -----------------------
group = smsbox
smsbox-id = dlrbox
bearerbox-host=127.0.0.1
sendsms-port=10780

# ------ SMS BOX ROUTE ---
#------------------------
group = smsbox-route
smsbox-id = dlrbox
smsc-id = "smsc_1_1;smsc_1_2;smsc_2_1"

Regards,
J

2010/11/11 Nikos Balkanas <nbalka...@gmail.com>

> Hi,
>
> You need to include an smsbox-route group to route DLRs to your smsbox.
> Read UG about it.
>
>
> BR,
> Nikos
> ----- Original Message ----- From: James E
> To: Nikos Balkanas ; users@kannel.org
> Sent: Thursday, November 11, 2010 8:57 AM
>
> Subject: Re: SQLBox DLR Problem
>
>
> Hi Nikos,
>
> Sorry I misunderstood.
>
> SMSBox is connected to Bearerbox
> SQLBox is connected to Bearerbox
>
> Here is the config (simplified)
>
> # ----------
> # BEARERBOX (Single Group)
> # ----------
> group = core
> admin-port  = 10777
> smsbox-port = 10778
> #wapbox-port = 10779
>
> # -------- SMSBOX ------- (Single Group)
> # -----------------------
> group = smsbox
> bearerbox-host=127.0.0.1
> sendsms-port=10780
> sendsms-url = "/sendsms"
>
> ##--SQLBOX CONFIG--##
> group = sqlbox
> id = sqlbox-db
> smsbox-id = sqlbox
> bearerbox-host = localhost
> bearerbox-port = 10778
> smsbox-port = 10781
> smsbox-port-ssl = false
> sql-log-table = sent_sms
> sql-insert-table = send_sms
>
>
> 2010/11/11 Nikos Balkanas <nbalka...@gmail.com>
>
> 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
>

Reply via email to