Hi,

We are having a rather strange problem with a server under heavy
traffic (though no load problems so far).

We started noticing this error showing up on the logs:

2007-04-18 07:25:30 send-SMS request failed - Number(s) has/have been
denied by white- and/or black-lists.

Though no white and/or black lists were configured on this particular server.

We've checked and discovered that the error showed up when an invalid
character was present on the "to" field on a sendsms request.

eg:

]# GET 
"http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&from=1234&to=59,1234567890&smsc=mysmsc&text=Hello";
Number(s) has/have been denied by white- and/or black-lists.

I think it's proper behaviour not to accept that message (no SMSC
would allow it anyway), but the error message is definitely confusing.
A more proper "Invalid 'to' field. Rejected" or something similar
would be better, isn't it?

Regards,

Alejandro.

--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to