[asterisk-users] Account codes in CDR

Paul Hales pdhales at optusnet.com.au
Thu Dec 13 00:55:42 CST 2007


Using the 'read' function you should be able to do something similar-
use the 'read' function to grab what you need, then push it into
accountcode.

>From memory, I did something similar once.

PaulH


On Wed, 2007-12-12 at 12:32 -0500, Glenn Cobb wrote:
> Greetings list...
>  
> I have a Trixbox based Asterisk system and would like to implement a
> loose call accounting system. The system is built on Trixbox version
> 2.2.8 with Asterisk 1.2.24 and FreePBX 2.3.1. Because there are a
> couple thousand existing account codes for various projects, and new
> account codes are created by the accounting dept. I cannot create pin
> sets using the add on module included with FreePBX (the module
> uses Authenticate in Asterisk). Basically I need to have the dial plan
> prompt certain extensions for an account code followed by the # key
> after they dial the number they are trying to reach, then have that
> code put in the accountcode field in the CDR record. I don't need to
> verify that it is the correct code, (each extension is provided with a
> monthly report to verify correct billing), no min or max length, and
> the user should be able to hit # without entering any number if they
> choose. Any help is appreciated.
>  
> Regards,
>  
> Glenn
>  
> _______________________________________________
> --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




More information about the asterisk-users mailing list