[asterisk-users] prepaid on the trunks

Brian J. Murrell brian at interlinx.bc.ca
Wed Apr 23 19:44:49 CDT 2008


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080423/128e79e9/attachment.pgp 


More information about the asterisk-users mailing list