"George LJ" <[EMAIL PROTECTED]> writes: > Hi list, > > Was wondering if anyone can provide some insight why my DLR does gets > DELETED write after I execute
It might be stupid but - isn't it just because SMSC replies that the SMS has been delivered successfully? > http://212.100.000.000:13037/cgi-bin/sendsms?username=host&password=mypass&from=moimoi.com&to=331234567896&text=test&dlr-mask=31&dlr-url=http://www.moimoi.com/reports/dlr_kannel.php?type=%d You should URL-encode the "dlr-url" parameter, at least for '?' and '%' e.g.: [EMAIL PROTECTED] ~/src/gateway] perl -e 'print uc(sprintf "%2x", ord("?")), "\n"' 3F [EMAIL PROTECTED] ~/src/gateway] perl -e 'print uc(sprintf "%2x", ord("%")), "\n"' 25 %3F for '?' and %25 for '%' ('?' seems to work for me locally, but '%d' doesn't work for sure). (there is a pending PATCH submission in the userguide documentation by myself concerning exactly that problem) [...] > 2004-04-17 03:42:01 [9075] [3] WARNING: octstr_url_decode: corrupted > end-of-string <%d> That's e.g. the above mentioned problem. -- Guillaume Cottenceau
