Is there a way to get Asterisk (or A@H) to count the number of outgoing minutes used in a month, then switch outbound providers when a certain threshold is reached?
Say I have a business plan that allows 1000 minutes, but then addtional minutes are 4 cents a minute. Now, obviously I can do a lot better than 4 cents/minute with a minutes provider, but I sure don’t want to lose my first 1000 “free” minutes every month.
Ideally, Asterisk tracks all outbound calls to this provider (doesn’t have to be “super” precise, just approximately- even willing to round all calls up to nearest minute, etc.) then automatically switches my preferred outbound provider when a preset limit (in my case 1000 minutes) is reached. Of course, at the end of a month Asterisk would need to switch back to the original provider, until the threshold is met again.
Any provision for that, that anyone knows of?