11.07.2015 Views

Developer 101: API Guide - Asterisk-ES

Developer 101: API Guide - Asterisk-ES

Developer 101: API Guide - Asterisk-ES

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Common <strong>API</strong>: CDRs• Easiest of all modules to write• Pre-parsed data• Common use is to format an SQL string• Another common use is to output directly to a file• #include “asterisk/cdr.h”• ast_cdr_getvar(struct ast_cdr *, fieldname, int *indicator, char *buffer,buffer_size, recursive_flag, rawflag)Digium Inc – Copyright (c) 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!