Re: [Kannel-Users] Re: dlr mysql entries

2005-04-25 Thread knaren
dear anand, thank u for valuable help. now i understand how to get the delivery report. > lynx --dump > "http://127.0.0.1:13013/cgi-bin/sendsms?username=foo&password=bar&to=NUMBER&; > text=hello&from=anand&dlr-mask=31&dlr-url=http://x.x.x.x/dlr.php?type=%d&; > slid=8&k=%k&s=%s&s1=%S&r=%r&a=%a&b=%b

Re: [Kannel-Users] Re: [Kannel-Users] Re: dlr mysql entries

2005-04-18 Thread Anand Gupta
Thx for mentioning that Beckman. I missed that part. -- regards, Anand > You need to urlencode your dlr-url. > > That will change all of the & to %65 or something (can't remember what) so > the sendsms script doesn't try and take &slid=8 as a parameter to itself. > > see http://php.net/urlencod

Re: [Kannel-Users] Re: [Kannel-Users] Re: dlr mysql entries

2005-04-18 Thread Peter Beckman
You need to urlencode your dlr-url. That will change all of the & to %65 or something (can't remember what) so the sendsms script doesn't try and take &slid=8 as a parameter to itself. see http://php.net/urlencode Beckman On Mon, 18 Apr 2005, Anand Gupta wrote: Dear Naren, I have been following thi

Re: [Kannel-Users] Re: dlr mysql entries

2005-04-18 Thread Anand Gupta
Dear Naren, > I have been following this thread (regarding DLR) for a > while. I just want to know if i can get a sample script for > handling the DLRs (the one u have mentioned above). > I have started using kannel recently, i would be very > much grateful if get this favour. From ur discussion >

Re: [Kannel-Users] Re: dlr mysql entries

2005-04-17 Thread knaren
> The DLR URL has a purpose -- to give you as much information about the > delivery of a message to a script you write. That script can do all sorts > of things, like make an entry in a DB table that is a clone of the Kannel > MYSQL Store table. > > That's why the script you write to ha

Re: [Kannel-Users] Re: [Kannel-Users] Re: dlr mysql entries

2005-04-16 Thread Anand Gupta
Dear Beckman, > If you are having the problem of entries in your store being deleted, > then > you are probably recieving the message_id from the smsc in DLR reports. I was just exploring that possiblity since i am trying to get another smsc link which will allow me online reports, thus the e

Re: [Kannel-Users] Re: [Kannel-Users] Re: dlr mysql entries

2005-04-15 Thread Peter Beckman
On Fri, 15 Apr 2005, Anand Gupta wrote: Thx for the nice explanation. I was trying to out ways to get to the ts field ;) If you recall my earlier message in which i mentioned about the script which is called in using dlr-url to check for the unique id in kannel table to get to the ts field ? There

Re: [Kannel-Users] Re: dlr mysql entries

2005-04-15 Thread Anand Gupta
Dear Beckman, Thx for the nice explanation. I was trying to out ways to get to the ts field ;) If you recall my earlier message in which i mentioned about the script which is called in using dlr-url to check for the unique id in kannel table to get to the ts field ? There is one problem to it, if

Re: [Kannel-Users] Re: dlr mysql entries

2005-04-15 Thread Peter Beckman
On Fri, 15 Apr 2005, Anand Gupta wrote: is it possible (it should be actually for a kannel hacker) that when the mysql inserts are made, a second insert is made in another db which will probably be a clone of the dlr db of kannel except certain parameters will be kept in for further use ? I guess i