Re: FW: understanding DLR

2011-06-27 Thread Harbhag Singh Sohal
Got it to working after many hours of experimenting. Now I can receive all the dlr to db and all MO to DB. Using this I am providing SMS to Email service. Its simply awesome. Kannel rocks, you guys rocks. On Sun, Jun 26, 2011 at 11:35 PM, Milan P. Stanic wrote: > On Sun, 2011-06-26 at 20:10, Harbh

Re: FW: understanding DLR

2011-06-26 Thread Milan P. Stanic
On Sun, 2011-06-26 at 20:10, Harbhag Singh Sohal wrote: > I apologize for bothering you guys. I appreciate your patience. I > think I can live without delivery reports. > Anyway, Thanks for help. I don't think that you should give up. Thoroughly study userguide, think about your configuration, car

RE: FW: understanding DLR

2011-06-26 Thread Rene Kluwen
If you specify in group = smsbox: bearerbox-port = 3020 then you should be fine. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Harbhag Singh Sohal Sent: Sunday, 26 June, 2011 11:56 To: Nikos Balkanas; users@kannel.org Subject: Re: FW

Re: FW: understanding DLR

2011-06-26 Thread Harbhag Singh Sohal
I apologize for bothering you guys. I appreciate your patience. I think I can live without delivery reports. Anyway, Thanks for help. On Sun, Jun 26, 2011 at 7:29 PM, Nikos Balkanas wrote: > This is your 14th mail in the past 2 days. Apparently you don't have the > skills for what you are trying

Re: FW: understanding DLR

2011-06-26 Thread Nikos Balkanas
This is your 14th mail in the past 2 days. Apparently you don't have the skills for what you are trying to do. Please hire a consultant to do it for you and free this list. Nikos On Sun, Jun 26, 2011 at 4:35 PM, Harbhag Singh Sohal < harbhag.so...@gmail.com> wrote: > What should I change in my c

Re: FW: understanding DLR

2011-06-26 Thread Harbhag Singh Sohal
What should I change in my current configuration files to achieve Bearerbox-sqlbox-smsbox ? On Sun, Jun 26, 2011 at 3:39 PM, Cezary Siwek wrote: > It depends what you want to achieve. You can use the same smsboxid but you > need to reconfigure sqlbox to pass-through all the messages. > So your

Re: FW: understanding DLR

2011-06-26 Thread Harbhag Singh Sohal
I have added different smsbox-id for sqlbox. Is it ok now ?? On Sun, Jun 26, 2011 at 3:10 PM, Nikos Balkanas wrote: > Great! You have configured both sqlbox and smsbox with the same smsbox-id, > mysmsbox. And then, you use smsbox-route to tell bb to route all DLRs to > mysmsbox. What do you think

Re: FW: understanding DLR

2011-06-26 Thread Harbhag Singh Sohal
So I have messed up everything. What should I do now ? On Sun, Jun 26, 2011 at 3:10 PM, Nikos Balkanas wrote: > Great! You have configured both sqlbox and smsbox with the same smsbox-id, > mysmsbox. And then, you use smsbox-route to tell bb to route all DLRs to > mysmsbox. What do you think it w

Re: FW: understanding DLR

2011-06-26 Thread Nikos Balkanas
Great! You have configured both sqlbox and smsbox with the same smsbox-id, mysmsbox. And then, you use smsbox-route to tell bb to route all DLRs to mysmsbox. What do you think it will happen? BR, Nikos On Sun, Jun 26, 2011 at 11:27 AM, Harbhag Singh Sohal < harbhag.so...@gmail.com> wrote: > My c

Re: FW: understanding DLR

2011-06-26 Thread Harbhag Singh Sohal
My config files. group = core admin-port = 13015 admin-password = foo #admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" dlr-storage = mysql smsbox-port = 13016 #wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" access-log = "/var/log/kannel/access.log" #box-deny-ip = "*.*.*

Re: FW: understanding DLR

2011-06-25 Thread Harbhag Singh Sohal
Hi, I am already using smsbox-route in my configuration group = smsbox smsbox-id = mysmsbox bearerbox-host = ** #bearerbox-port = 13018 sendsms-port = 13018 global-sender = +91 access-log = "/var/log/kannel/smsbox-access.log" log-file = "/var/log/kannel/smsbox.log" log-level = 0 mo-re

Re: FW: understanding DLR

2011-06-25 Thread Nikos Balkanas
Hi, Apparently your bearerbox doesn't know where to route received DLRs. You should read UG about smsbox-route, and then route all your DLRs to your smsbox, so that they can be posted to your dlr-url. BR, Nikos On Sun, Jun 26, 2011 at 7:04 AM, Harbhag Singh Sohal < harbhag.so...@gmail.com> wrote

Re: FW: understanding DLR

2011-06-25 Thread Harbhag Singh Sohal
Sometimes the dlr is stored in the table specified by me via the dlr-url script and sometimes it get stored in the sent_sms table of sqlbox. Why is this happening ? On Sat, Jun 25, 2011 at 5:39 PM, Nikos Balkanas wrote: > Hi, > > Your php is not kannel's problem. This is not a php forum. There ar

Re: FW: understanding DLR

2011-06-25 Thread Harbhag Singh Sohal
but how would I know that which dlr is from which SMS ? is it being identified by msgid parameter ? I am using sqlbox to send sms so in the dlr-url column I have added http://localhost/dlr.php as the dlr-url and dlr-mask is set to 31. and the dlr.php file contains $conn = mysql_connect("localh