[asterisk-users] prepaid on the trunks

Nhadie Ramos nhadie.ramos at yahoo.com
Wed Apr 23 23:17:17 CDT 2008


thank you sir, i will try to check on that. i haven't really tried astcc yet so i really dont understand how it works right now.

also, do you have any reference on using app_prepaid? can't find some sample config, i would like to see how i can use that. do you think app_prepaid is suited for the scenario i have?

thank you

regards
nhadie

"Brian J. Murrell" <brian at interlinx.bc.ca> wrote: On Wed, 2008-04-23 at 15:41 -0600, Darren Wiebe wrote:
> Ok, I'm not aware of this feature in astcc

Keep in mind that astcc is simply a tool that keeps a database of
minutes used for some "entity" (typically a calling card) and calculates
those minutes used against a pre-charged amount.  The "number" of the
entity can be passed to astcc (i.e. so that it does not need to prompt
the user for it) in such a way:

exten => _1NXXNXXXXXX,n,DeadAGI(astcc.agi,${cardnum},${EXTEN})

So binding a trunk to a "cardnum" (i.e. a given pre-charged account)
should be easy enough to do.

b.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080423/60833212/attachment.htm 


More information about the asterisk-users mailing list