Your dlr-url should point to where your dlr.php script is. Obviously, as you are calling a php script it must be serviced by a web server so the php script should be placed in a folder accessible and executable by your web server.
In your example: http%3A%2F%2Flocalhost%2Fdlr.php%3Fsmsc.... means that your dlr.php script should be in your web server root directory wherever it is. In some linux, it will be /var/www/html/ but this depends on your linux distro and the web server. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Tue, Jan 18, 2011 at 7:50 AM, Kazi M <[email protected]> wrote: > > http://old.nabble.com/file/p30699861/smskannel.conf smskannel.conf > http://old.nabble.com/file/p30699861/smsbox.log smsbox.log > http://old.nabble.com/file/p30699861/kannel.log kannel.log > > > Hello Team, > > I m using Kannel 1.4.3 with mysql 4.2 ... I compiled kannel with mysql > succesfully .... and have created the db table as well and am trying to send > sms using http interface .. and am using smppsimulator as smsc ... now my > requirement is to test kannel with delivery reports .. and i want my > delivery report to be stored in the table ... but my url is not hitting > and it says dlr-url cannot be fetched > > i have attached my config file , smsboxlog,bearerboxlog,and my php > scripts(config.php and dlr.php) > and my dlr-url is in encoded form > > http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=012323&from=012445&text=HELLO&dlr-mask=31&dlr-url=http%3A%2F%2Flocalhost%2Fdlr.php%3Fsmsc%3D%25i%26status%3D%25d%26service%3D%25n%26destination%3D%25P%26source%3D%25p%26ts%3D%25t > > above is the url I am giving in the browser .. > > and i also have doubt about where should be these php scripts placed (i mean > in which folder) > > http://old.nabble.com/file/p30699861/dlr.php dlr.php > http://old.nabble.com/file/p30699861/config.php config.php > > > Please Guys Help me out .. I am not directly asking u guys . I ve trying > from past 2 weeks and read almost all of the posts related to dlr-url .. but > coudnt find a solution > > Help would be greatly Appreciated > > > > Your's Thankful, > Kazi M > -- > View this message in context: > http://old.nabble.com/ERROR%3A-Couldn%27t-fetch-dlr-url-tp30699861p30699861.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > >
