Did you check the error log of your apache?

 

  _____  

From: Fourat Zouari [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 23, 2006 00:01
To: [email protected]
Subject: Setting dlr-url and not receiving DLRs

 

Hello,
Am setting dlr-mask to 31, dlr-url to
http://localhost/mg/recdlr.php?status=%d
<http://localhost/mg/recdlr.php?status=%25d&answer=%25A&ts=%25t&msgid=3>
&answer=%A&ts=%t&msgid=3
msgid is for internal use, the whole url is urlencoded when passed to
smsbox, and when sending an MT, i have this in my modem's log: 

-------------LOG BEGIN
2006-12-22 21:47:50 [27334] [6] DEBUG: AT2[MODEM-01]: send command status: 1
2006-12-22 21:47:50 [27334] [6] DEBUG: AT2[MODEM-01]: -->
0031000881020203060000000FF4F29C0E229741EC30482E83DD00 
2006-12-22 21:47:56 [27334] [6] DEBUG: AT2[MODEM-01]: --> ^Z
2006-12-22 21:48:02 [27334] [6] DEBUG: AT2[MODEM-01]: <-- +CMGS: 45
2006-12-22 21:48:02 [27334] [6] DEBUG: AT2[MODEM-01]: <-- OK
2006-12-22 21:48:02 [27334] [6] DEBUG: AT2[MODEM-01]: send command status: 0

2006-12-22 21:48:02 [27334] [6] DEBUG: DLR[pgsql]: Adding DLR smsc=MODEM-01,
ts=45, src=, dst=20203060, mask=31, boxc=
2006-12-22 21:48:02 [27334] [6] DEBUG: sql: INSERT INTO dlr (smsc, date,
soa, da, service, url, mask, boxcid, status) VALUES ('MODEM-01', '45', '',
'10204080', '', ' http://localhost/mg/recdlr.php?
<http://localhost/mg/recdlr.php?&status=%25d&answer=%25A&ts=%25t&msgid=3>
&status=%d&answer=%A&ts=%t&msgid=3', '31', '', '0'); 
2006-12-22 21:48:02 [27334] [6] DEBUG: SMSC[MODEM-01]: creating DLR message
2006-12-22 21:48:02 [27334] [6] DEBUG: SMSC[MODEM-01]: DLR =
http://localhost/mg/recdlr.php?
<http://localhost/mg/recdlr.php?&status=%25d&answer=%25A&ts=%25t&msgid=3>
&status=%d&answer=%A&ts=%t&msgid=3
-------------LOG END

The problem is, the recdlr.php script is never called from kannel, i have no
trace of that in my apache's access log. 
Any idea ?
Thanks

Reply via email to