I run Kannel 1.4.1 stable release.
I have observed it over time and I have realised that its like 90% of messages that get logged in the database.
Some messages however are not logged in the database.
I have looked at the logs over time and realised that Kannel commonly logs the following two errors:
First Error:
2009-10-12 17:13:12 [5] WARNING: SMPP: PDU NUL terminated string has no NUL.
2009-10-12 17:13:12 [5] ERROR: SMPP[SMPP:x.x.x.x.:1000/10
00:user:]:
SMSC returned error code 0x0000000b in response to submit_sm.
Second Error:
Oct 12 09:19:59 MY_HOST suhosin[7281]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'text' (attacker '10.0.0.20', file '/srv/www/htdocs/receive.p
hp')
The second error is got when the PHP script (above) is invoked.
The usage and access log files sometimes have the message logged but no always.
I run PHP 5, MySQL 5 database on a Suse box and I need to get 100 percent SMSs logged into the database.
Could it be that there's a security configuration I am missing or I need to take care of some special characters sent together with the variable 'text' to the PHP script?
How do I get this fixed?