I think it's better to define the dlr-url in the kannel.conf, below is the sample:
 
group = sendsms-user
username = username
password = userpwd
dlr-url = ""http://localhost/dlr/?msisdn=%p&msg=%a&smscid=%i&smsid=%I&dlrsmsc=%A&dlr=%d&time=%t">http://localhost/dlr/?msisdn=%p&msg=%a&smscid=%i&smsid=%I&dlrsmsc=%A&dlr=%d&time=%t"
and just add:
because if we refer to to the user guide, kannel will automatically execute dlr-url in the sendsms-user if it find dlr-mask parameter in sendsms script. And also it will minimize the XSS issue, especially when you activate mod_security in apache. Goodluck.
 
 
Regards
 
Willy

Reply via email to