On Tue, 16 Mar 2010, Lee Archer wrote:

> Do we need an update to cdr_addon_mysql for this to work?

Way back in the 1.2 days, adding an arbitrary channel variable to 
cdr_addon_mysql.c was as simple as:

        temp_pointer = pbx_builtin_getvar_helper(
                  channel_pointer
                , "DNIS"
                );

and then adding the appropriate bits to the insert statement.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to