Limit SMS in days???

Limit SMS in days??? SearchSearch
Author Message
lee vitez
New member
Username: Leevitez

Post Number: 25
Registered: 03-2011
Posted on Monday, November 21, 2011 - 02:10 am:   

Hello support team,

It's me again! I need your help here. Just a simple question: From this reference "Defining SMS User Accounts", i understood that i can specify a default limit for the maximum number of messages per day and per month, that users will be allowed to submit. But my question is: what if i limit the users through number of days or month? Let's say for example that i want my users to have them send unlimited SMS, but limit to only 10 days? Is that possible? How would i do that?

Thanx in advance.

Lee
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3606
Registered: 08-2008
Posted on Monday, November 21, 2011 - 08:03 pm:   

Hi Lee,

The only way to implement this is to use accounting callbacks. With accounting callbacks, NowSMS asks for your permission (PreAuth callback) before allowing a message to be submitted, then issues a second callback to record a charge (SMSSend callback).

Accounting callbacks are described here:

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

--
Des
NowSMS Support