Reject Messages

Reject Messages SearchSearch
Author Message
force
New member
Username: Aliforce

Post Number: 1
Registered: 03-2011
Posted on Tuesday, March 15, 2011 - 02:56 pm:   

Hi, i want to know is there some how to accomplish black listed numbers and not to deliver messages to that numbers? To reject messages or to use some scrip to process messages and if number is black listed, not to send message but to return that message is rejected in. Is that possible with NowSms?

Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3008
Registered: 08-2008
Posted on Wednesday, March 16, 2011 - 12:26 am:   

Hi,

There is no system level blacklist.

If you need to implement a blacklist, you can hook into the accounting callbacks. When these callbacks are implemented, NowSMS issues an HTTP URL request to a script running on one of your servers each time a client submits a message. You can reject the message based upon any criteria that might be applicable to your installation.

The accounting callback implementation is described in more detail here:

http://www.nowsms.com/doc/advanced-configuration-settings/sms-accounting-callbac ks

--
Des
NowSMS Support
force
New member
Username: Aliforce

Post Number: 2
Registered: 03-2011
Posted on Friday, March 18, 2011 - 03:09 pm:   

Thanks for the previous fast answer, before i try to implement in this way and test it i want to know how this will affect the performance if there are lot of bulk messages.

Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3025
Registered: 08-2008
Posted on Saturday, March 19, 2011 - 12:13 am:   

As long as you keep your callbacks fast, they have minimal overhead. I would say that most of our customers with busier systems use them.

The only area that presents a performance issue is if you are regularly using the web interface to submit messages to a large number of recipients in a single HTTP submission.. This requires many callbacks that are processed synchronously, whereas they can be processed more asynchronously in other scenarios.

--
Des
NowSMS Support