Hi Rene, I have a very simple question. How do I execute a URL. I have did everything but if I use Kannel functions (from gwlib/http.h) it results in panic which I can't seem to trace. I guess I could use libCurl but I don't want to include anything. When Kannel is already using its functions to trigger URL, I think I should utilize it. So my final question is: how do I execute a URL?
My Hints: I think http_get_real(), http_start_request() are the way to go but they have so many parameters and all those pointers and pointer to pointers really confuse me. I want a simple URL trigger. Can you please guide me. Thanks for all your help. On Wed, Apr 30, 2014 at 5:00 PM, Saurabh Pandey <sam.it.develo...@gmail.com>wrote: > Okay, that's odd, because the URL i defined was being fired. May be it was > a mixup. Here is my setup: > > SMSC <---> Kannel [Bearerbox+smsbox] <----> Sqlbox <---->Opensmppbox <---> > smpp client > > Now I submit SMS via sendsms cgi to smsbox. Sqlbox is just for logging of > messages sent via opensmppbox. Now opensmppbox has its own dlr-table and > that table has a dlr_url field (which stored msgid earlier but now its > storing custom urls). Earlier these URLs were being fired and they were > carrying out the tasks they were supposed to do. But now they stopped. > > Anyways, I guess getting into that doesn't seem like a good idea since you > just said that opensmppbox doesn't trigger urls. But I need them triggered > so I'm gonna have to write it myself. So Rene can you help me find where > the code which does this url-translation and trigger dlr-url exists? So I > can take a reference. > > Thanks in advance > > > On Wed, Apr 30, 2014 at 4:34 PM, Rene Kluwen <rene.klu...@chimit.nl>wrote: > >> opensmppbox doesn’t trigger any dlr-url’s. You need smsbox for that. >> >> >> >> *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Saurabh >> Pandey >> *Sent:* woensdag 30 april 2014 8:26 >> *To:* users@kannel.org >> *Subject:* DLR-URL debugging >> >> >> >> Hi, >> >> I need to debug and check the dlr-url function of Kannel. Here is my >> situation: >> >> 1) When I submit sms through Kannel, dlr-url appended in sendsms request, >> it works fine >> >> 2) Earlier I was pushing sms via opensmppbox, there was some issues with >> deliver_sm so smpp client was not getting the DLR but the DLR url defined >> in opensmppbox-dlr-table was working fine >> >> 3) Now deliver_sm issue is fixed but dlr-url is not working anymore. I >> need to check why is that happening. >> >> Can somebody guide me how to debug this feature? What file to look at? >> >> Thanks in advance >> >> -Sam >> > >