--- smsdaemon/ProxyTransceiver.cpp 2008/12/22 23:27:49 215 +++ smsdaemon/ProxyTransceiver.cpp 2008/12/23 12:09:08 216 @@ -44,6 +44,12 @@ if (to.substr(0,_countrycode.size()) != _countrycode) to.insert(0, _countrycode); } + + if ( Common::instance()->IsBlacklisted(to)) + { + Logger::logMessage( "Will not send message to blacklisted phone: " + to); + return; + } _transceiver.SendSms(to,message,allowMultipart); }